Cursor install Ubuntu 24.04

Thank you for the script, it worked. However, after closing the IDE and clicking on the button again it won’t open anymore.

I checked the desktop application and it seems that the cursor.appimage can’t run without the --no-sandbox option.

(base) kyrbuntu@nook:/opt $ ls
containerd  cursor.appimage  cursor.png  google  nvidia  teamviewer
(base) kyrbuntu@nook:/opt $ ./cursor.appimage  
[61178:1218/095118.727150:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_cursorjgVsYq/chrome-sandbox is owned by root and has mode 4755.
[1]    61178 trace trap (core dumped)  ./cursor.appimage

For reference, I’m using Ubuntu 24.04.

I edited the script so the Desktop entry includes the --no-sandbox flag:

[Desktop Entry]
Name=Cursor AI IDE
Exec=$APPIMAGE_PATH --no-sandbox
Icon=$ICON_PATH
Type=Application
Categories=Development;

Then restarted my computer and it seems to be working well so far.