Skip to content

Instantly share code, notes, and snippets.

@icy-r
Created July 6, 2025 15:34
Show Gist options
  • Select an option

  • Save icy-r/34cf7cb6d3c4bfbd2432ff8bfa596f0c to your computer and use it in GitHub Desktop.

Select an option

Save icy-r/34cf7cb6d3c4bfbd2432ff8bfa596f0c to your computer and use it in GitHub Desktop.
Move the AppImage to a permanent location, for example `~/.local/bin`:
```bash
mkdir -p ~/.local/bin
mv Cursor-1.2.1-x86_64.AppImage ~/.local/bin/cursor
chmod +x ~/.local/bin/cursor
```
---
## βœ… 2. Create a .desktop Entry
Create a `.desktop` file to integrate Cursor with your application menu:
```bash
nano ~/.local/share/applications/cursor.desktop
```
Paste the following:
```ini
[Desktop Entry]
Name=Cursor
Comment=Cursor Code Editor
Exec=/home/your-username/.local/bin/cursor --no-sandbox
Icon=/home/your-username/.local/bin/cursor-icon.png
Terminal=false
Type=Application
Categories=Development;IDE;
```
> πŸ” Replace `/home/your-username` with your actual username (you can run `echo $HOME` to get the path).
> πŸ–Ό You can download a Cursor icon and save it as `cursor-icon.png` in the same folder.
---
## βœ… 3. Make the Shortcut Executable
```bash
chmod +x ~/.local/share/applications/cursor.desktop
```
This allows it to appear in the system application launcher.
---
## βœ… 4. (Optional) Add to Desktop or Taskbar
### βž• Add to Desktop
```bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment