DEV Community

Discussion on: How to Install Cursor the AI Editor on Linux Update 2024

Collapse
 
khushil_shah_9e34738a0207 profile image
KHUSHIL SHAH

i did all the steps but my cursor was not added to app list then i copied .desktop file and pasted to desktop folder and now i m able to see the cursor with the coreect icon but its not opening cursor app by clicking it
it made it executable and allowed for launching still i m not able to open cursor app by using .desktop file

Ubuntu 24.04
Image description
Image description

Collapse
 
clinteastwood profile image
Clint Eastwood

In order for the AppImage to run successfully, the --no-sandbox flag needs to be set. Thus, see below for what needs to be in your cursor.desktop:

[Desktop Entry]
Name=Cursor
Exec=/opt/cursor.appimage --no-sandbox
Icon=/opt/cursor.png
Type=Application
Categories=Development;

Collapse
 
abdulsalamamtech profile image
Abdulsalam Abdulrahman (Amtech Digital)

My own is showing me not found?

Thread Thread
 
mhbaando profile image
Kamaal Abshir

Make sure your icon name is cursor.png and it should be in the folder opt to show the icons,

Collapse
 
khushil_shah_9e34738a0207 profile image
KHUSHIL SHAH

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_cursorARFXWq/chrome-sandbox is owned by root and has mode 4755.

this is the error i m getting

Collapse
 
siegemt profile image
SiegeMT

If you put the AppImage in /opt make sure it's executable by all using ls -l /opt/cursor.AppImage and try right clicking on your desktop if you have a "create launcher" option then put the appimage path in the "command" section. If you cant the hit super and type "applications" and find New Item and add it that way. Sounds like you may be using an environment that you either needed to reload or does behind the scenes things rather than directly accessing it and it's trying to open as root which it has issues with doing.

Collapse
 
divan1920 profile image
Munaf Divan

@khushil_shah_9e34738a0207 Were you able to solve the error? I am facing the same issue and don't know what to do.