Created
July 6, 2025 15:34
-
-
Save icy-r/34cf7cb6d3c4bfbd2432ff8bfa596f0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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