Open arpagon opened 1 year ago
Thanks
To work in Ubuntu 24.04
file: /etc/apparmor.d/cursor-appimage
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile cursor /home/{USER}/Applications/cursor*.AppImage flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/cursor>
}
run the parser
sudo apparmor_parser -r /etc/apparmor.d/cursor-appimage
This led me to the solution thanks @jrjohansen
https://github.com/laurent22/joplin/issues/10332#issuecomment-2065889431
Great work! Would also shoutout AppImageLauncher, especially if you have multiple AppImages you want integrated
Thankyou for solution!
thanks a lot.
thanks a lot!
how do you even install cursor on linux?
i have linux cloud VM which has no browser and want to install through CLI
from my local machine there is no linux download link on their website (it download mac version)
@louis030195 here's the link -- I'm on Linux, so it gives me the Linux download. Really unfortunate that they hide the other download options though. That's a huge usability error. You can spoof your user agent to fix but that's a pain.
https://downloader.cursor.sh/linux/appImage/x64
It's an AppImage: https://askubuntu.com/a/774520
My own bash script https://gist.github.com/msanjeevkumar/edbfebbae976ab7b2cb2e4f22cb6b374
I've also developed a version that allows users to interactively select specific tasks to run, providing more control over the installation and update process. Here's my gist: cursor_appimage_manager.sh
@jorcelinojunior thanks for saving my time.
@arpagon Doesn't work for me.
[2061376:1105/163821.307887: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_cursoryBgkwK/chrome-sandbox is owned by root and has mode 4755.
Would also recommend this quick and easy graphical tool, Gear Lever to manage and add desktop entries for AppImages.
Feature Request for Cursor App Desktop Integration on Linux
Is your feature request related to a problem? Please describe.
Yes, integrating the Cursor app into Linux desktop environments is a manual process. I'm always frustrated when I download a new
.AppImage
version and have to update the.desktop
file and the icon manually.Describe the solution you'd like
I've created a bash script that automates the entire process. It does the following:
.AppImage
..AppImage
..desktop
file for the Cursor app.How to Use:
You can review the script here before executing it. To install and run the script in one command, execute the following:
Additional context
This script aims to make the user experience more seamless by automating what is otherwise a repetitive manual task. It's particularly useful for users who frequently update their Cursor
.AppImage
.