Installing Cursor on Linux Mint
I wanted to try out Cursor so tonight I downloaded the app image. I had never installed from an app image before and it took me a few tries to get it right. This post specifically explains how to install Cursor on Linux Mint, but I assume you could use it to install from other app images.
Install Cursor on Linux Mint
-
Download the app image from the website
-
Install dependencies
sudo apt-get install libfuse2
-
Make it executable
cd ~/Downloads
chmod +x cursor-*.AppImageReplace
cursor-*.AppImage
with the actual file name. -
Move the executable to a permanent location
sudo mv cursor-*.AppImage /opt/cursor.appimage
At this point you should be able to run cursor with /opt/cursor.appimage
. If not, try starting a new terminal session.
Setting up a menu option
If you want to set up an entry for this in your start menu, you can do the following.
-
Create a
.desktop
filesudo nano /usr/share/applications/cursor.desktop
-
Add these contents
[Desktop Entry]
Name=Cursor
Exec=/opt/cursor.appimage
Icon=/opt/cursor.png
Type=Application
Categories=Development;Save and exit with
Ctrl + X
thenCtrl + Y
. -
Retrieve the icon from the AppImage
cd /opt
sudo ./cursor.appimage --appimage-extractThis creates a directory
squashfs-root
. Grab the icon it contains withsudo mv squashfs-root/cursor.png .
But the cursor.png is a symlink to the actual icon, so you can't delete the
squashfs-root
directory. Another option is to copy the icon itself to the current directory.sudo mv squashfs-root/usr/share/icons/512x512/apps/cursor.png .
Then delete the
squashfs-root
directory. -
Run
sudo update-desktop-database
.