Add Cursor IDE (AppImage) to Applications menu — Quick guide
Summary
Problem: Cursor AppImage currently opens manually via the terminal and can fail due to Chromium sandboxing errors.
The steps below install the AppImage system-wide, extract the icon, and add a desktop launcher for quick access. The launcher uses --no-sandbox to avoid the AppImage sandbox issue.
Commands
Note: Change
APPIMAGEpath based on your downloaded Cursor App Image File
# 0) Set the AppImage path (change if needed)
APPIMAGE=~/Downloads/Cursor-1.5.5-x86_64.AppImage
# 1) Create install dir and move the AppImage into place
sudo mkdir -p /opt/cursor
sudo install -Dm755 "$APPIMAGE" /opt/cursor/cursor
# 2) Extract resources from the AppImage (to grab icons)
cd /opt/cursor
sudo ./cursor --appimage-extract
# 3) Copy a high-resolution icon
sudo cp squashfs-root/usr/share/icons/hicolor/512x512/apps/cursor.png /opt/cursor/cursor.png
# 4) (Optional) Remove extracted files to save space
# sudo rm -rf /opt/cursor/squashfs-root
# 5) Create a system-wide launcher (.desktop) so it appears in the Applications menu
sudo tee /usr/share/applications/cursor.desktop >/dev/null <<'EOF'
[Desktop Entry]
Name=Cursor IDE
Comment=AI-powered code editor
Exec=/opt/cursor/cursor --no-sandbox %F
Icon=/opt/cursor/cursor.png
Terminal=false
Type=Application
Categories=Development;IDE;
StartupNotify=true
EOF
# 6) Refresh desktop database / menu cache
sudo update-desktop-database
xdg-desktop-menu forceupdate || true
# 7) (Optional) Add a Desktop shortcut for the current user
cp /usr/share/applications/cursor.desktop ~/Desktop/
chmod +x ~/Desktop/cursor.desktop
# 8) (Optional) Verify it launches with --no-sandbox after you start Cursor from the menu
pgrep -a -f "/opt/cursor/cursor" | grep -- "--no-sandbox" || echo "Start Cursor from the menu, then re-run this check."