Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New terminal weird behaviour #2550

Open
cazzoo opened this issue Jan 6, 2025 · 0 comments
Open

New terminal weird behaviour #2550

cazzoo opened this issue Jan 6, 2025 · 0 comments

Comments

@cazzoo
Copy link

cazzoo commented Jan 6, 2025

I run cursor in linux with appImage on Arch linux.
I have a C project that I build using "make" command.
When I build my project outside of Cursor, I have no issues:

~/Doc/hid-tmff2: make                            ✔ 
make -C deps/hid-tminit KDIR="/lib/modules/6.6.65-1-MANJARO/build" 
make[1]: Entering directory '/home/caz/Documents/hid-tmff2/deps/hid-tminit'
make -C /lib/modules/6.6.65-1-MANJARO/build M=/home/caz/Documents/hid-tmff2/deps/hid-tminit modules
make[2]: Entering directory '/usr/lib/modules/6.6.65-1-MANJARO/build'

The path content in my terminal is

/home/caz/.odrive /home/caz/.local/bin /usr/local/bin /usr/bin /var/lib/snapd/snap/bin /usr/local/sbin /var/lib/flatpak/exports/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl

When I try to "make" from a new terminal from cursor, I have the following issue:

/home/caz/Documents/hid-tmff2/./cursor-0.44.9-build-2412268nc6pfzgo-x86_64.AppImage -C deps/hid-tminit KDIR="/lib/modules/6.6.65-1-MANJARO/build" 
/bin/sh: line 1: /home/caz/Documents/hid-tmff2/./cursor-0.44.9-build-2412268nc6pfzgo-x86_64.AppImage: No such file or directory
cursor-0.44.9-build-2412268nc6pfzgo-x86_64.AppImage: *** [Makefile:20: deps/hid-tminit] Error 127

The path content in cursor opened terminal is:

/home/caz/.odrive /home/caz/.odrive /tmp/.mount_cursorQW1xiT /tmp/.mount_cursorQW1xiT/usr/sbin /home/caz/.odrive /home/caz/.local/bin /usr/local/bin /usr/bin /var/lib/snapd/snap/bin /usr/local/sbin /var/lib/flatpak/exports/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl

When I ask cursor to build the app using make and accept the command, it works.

What is going wrong?
What should I do to get my command to work?
I tried both the AppImage in classic more or "--no-sandbox" but with no luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant