Hi, first of all. I want to say I post this guide just to help the community and try to open new opportunities for Aseprite. This guide uses an outdated Aseprite version (1.1.6) which still uses the GPL license (New source code license - Aseprite Devblog), so keep in mind some newer features will be missing. I own a copy of the program and I encourage everybody to buy it, so the developer has the resources to keep maintaining this amazing program.
If the developer finds that this guide can make him or the program any harm, I will delete it immediately.
Right now, there are no precompiled Aseprite versions for ARM architecture. I tried compiling it for Ubuntu but I couldn’t make it. The process is difficult and I’m just an amateur coder. My motivation for doing this was trying to get Aseprite work on my Samsung Tablet, given that there are not real alternatives on Android. I wanted to do this so I can do Pixel Art while I’m not at home.
After a lot of work I got it working using a precompiled version that is available in Debian 9.
How this works?
We are going to install Debian 9 inside Termux using a Script and run it whit proot privileges. We will use LXDE to create a Desktop environment and VNC to connect to it. Then we will install the precompiled Aseprite using the packages that is available from the repositories.
Keep in mind that you will need and external keyboard to use Aseprite using this method!
For this guide I used a Samsung Galaxy Tab A from 2016 and everything worked fluid, so I don’t think you need a high end device for this.
What would you need?
- Minimal Linux knowledge.
- An Android Device: tablet, smartphone, etc. [No root needed].
- A keyboard (I’m using Logitech K400) some models will connect directly to your device via Bluetooth. Otherwise, you will need a:
- *USB – OTG adapter: beware that not all work for all device models, before buying check compatibilities.
- *Stylus: so, you can directly paint on the screen. You will need a tablet with a good Stylus support. Right now, I’m using a capacitive one and it doesn’t have the needed precision.
- bVNC Secure VNC Viewer (there are other options on the Play Store but this has some functionalities that we will need):
- *External Keyboard Helper: reassign keys to make it easier to work with Aseprtite.
- Install all the applications listed.
- Open Termux.
- Install some basic packages and update it.
pkg repo-root pkg install tsu apt-get update && apt-get upgrade
- Installing Debian: now we need to create the script that is going to download and install Debian 9. This is provided thanks to sp4rkie.
a. We will need to miminally modify the script to download Debian 9 Stretch instead of version 10. Copy the contents of debian_on_termux_10.sh (debian-on-termux/debian_on_termux_10.sh at master · sp4rkie/debian-on-termux · GitHub) on some text editor.
b. Replace line 9:
c. Then copy the modified content and create a file using nano in Termux:
d. Paste the code inside the file and close it.
e. The we will install Debian 9 with the following code:
f. When we finish installing it, we will directly get into the Debian subsystem. If you close Termux and want to get inside Debian again just run the same code we used to install it.
- Configure Debian:
a. Install some basic packages and update:
apt-get update && apt-get upgrade
apt-get install nano
b. Optional: correct some problems that appear when using de application manager. We need to edit > /etc/group and /etc/passwd with nano:
#Add new line, save and close file:
#Add new line, save and close file:
Install desktop environment. You can use XFCE or LXDE. I recommend the later because it uses less resources:
apt install xfce4 xfce4-goodies
apt install lxde
–OR (minimal installation, I recommend the first one)–
apt install lxde-core
- Install VNC server (TigerVNC):
apt-get install tigervnc-standalone-server tigervnc-common
- Running VNC server for firs time. You will be asked to create a password. When it asks you if it will be view-only, chose NO. Just write:
- Now, kill the server using:
vncserver -kill :1
- Create or modify VNC configuration file for the desktop environment. Depending on the version you have chosen you need to write different lines:
lxterminal & /usr/bin/lxsession -s LXDE &
- Make sure that the configuration file can executed running:
chmod +x .vnc/xstartup
- Configure Aseprite. You can’t modify the windows dimensions of this Aseprite version using the menu. You will have to set the dimensions of the height and width manually modifying the following file:
For me, the correct numbers where the real pixel dimensions of my screen device -20px.
- Now run the VNC sever:
- Now go to bVNC viewer and create a new session. Complete the information as requested. Remember that you need the password you have configured before for the VNC server. As for the address you will need to write: 127.0.0.1:5901. The number before the colon makes reference to the localhost (your device), the number after is the port. 5900 + 1
- If everything goes right you will now be inside Debian. You will find Aseprite in the Debian menu, under a directory called “Graphics”. You can also hide the menu bar at the bottom, right clicking it and make it only appear when needed. This way you gain a little bit more space for Asprite.
- Open Aseprite, configure the right scale for UI and elements.
- When drawing you will see 2 mouse cursors (one from Aseprite and the other from the system). I don’t know how to disable the last one, but I have found that once you get used to it, it doesn’t bother you.
- *To use the Stylus for drawing you will need to change the input method from the bVNC menu. Note that there are three icons at the right. Here you can select how the input behaves, there are 4 options. Select the second one (direct method). This way, the arrow will move where the stylus contact the screen.
- Save Aseprite files in your Debian home directory, then you will be able to access them from your device using your favorite file manager. You might need to run the following code on Termux:
Please comment if you manage to make it work and share and tips or hints.