Skip to content

Not working in Linux with Cursor.AppImage #486

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

Open
AbdullahEWN opened this issue Apr 27, 2025 · 13 comments
Open

Not working in Linux with Cursor.AppImage #486

AbdullahEWN opened this issue Apr 27, 2025 · 13 comments

Comments

@AbdullahEWN
Copy link

Previously everything worked fine. But in the last versions auto script is not working.
I get this error:

================================
   Cursor Linux 启动工具     
================================

[重要提示] 本工具优先修改js文件,更加安全可靠
[重要提示] Linux 用户请注意:脚本将尝试通过检查常用路径 (/usr/bin, /usr/local/bin, \/root/.local/bin, /opt/cursor, /snap/bin), 使用 which cursor, 及搜索 /usr, /opt, \/root/.local 来定位 Cursor。若无法找到,请确保 Cursor 安装在上述位置之一或可通过这些方法访问。

[INFO] 查找Cursor安装路径...
[WARN] 未找到Cursor可执行文件,将尝试使用配置目录
@chengweiv5
Copy link

+1

in my case, I created a soft link to the cursor AppImage file, eg: /opt/Cursor-0.48.8-x86_64.AppImage

however, the help script will WARN like below

[重要提示] 本工具优先修改js文件,更加安全可靠                                         
[重要提示] Linux 用户请注意:脚本将尝试通过检查常用路径 (/usr/bin, /usr/local/bin, \/root/.local/bin, /opt/cursor, /snap/bin), 使用 which cursor, 及搜索 /usr, /opt, \/root/.
local 来定位 Cursor。若无法找到,请确保 Cursor 安装在上述位置之一或可通过这些方法访问。                                                                                      
                                                                                      
[INFO] 查找Cursor安装路径...                                                          
[INFO] 找到Cursor安装路径: /usr/bin/cursor                                            
[INFO] 查找Cursor资源目录...                                                          
[WARN] 未找到Cursor资源目录    

@master0018
Copy link

cursor好像更新后,就出问题了

@Bledjan5
Copy link

Bledjan5 commented Apr 28, 2025

I also put the cursor image inside of /opt/ directory and i have the same problem @yuaotian. Please if you can tell us the correct way who supose to do

@Bledjan5
Copy link

I put the extract file of cursor.Appimage but i take this now:

██████╗██╗   ██╗██████╗ ███████╗ ██████╗ ██████╗ 

██╔════╝██║ ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗
██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝
██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗
╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝

================================
Cursor Linux 启动工具

[重要提示] 本工具优先修改js文件,更加安全可靠
[重要提示] Linux 用户请注意:脚本将尝试通过检查常用路径 (/usr/bin, /usr/local/bin, /root/.local/bin, /opt/cursor, /snap/bin), 使用 which cursor, 及搜索 /usr, /opt, /root/.local 来定位 Cursor。若无法找到,请确保 Cursor 安装在上述位置之一或可通过这些方法访问。

[INFO] 查找Cursor安装路径...
[INFO] 通过查找找到Cursor: /opt/cursor/usr/share/cursor/cursor
[INFO] 查找Cursor资源目录...
[INFO] 找到Cursor资源目录: /opt/cursor
[INFO] 检查 Cursor 进程...
[INFO] 未发现运行中的 Cursor 进程
[WARN] 配置文件不存在,跳过备份

[WARN] 机器码重置选项
是否需要重置机器码? (通常情况下,只修改js文件即可):
► 不重置 - 仅修改js文件即可
重置 - 同时修改配置文件和机器码

@mironalin
Copy link

Facing this as well.
Any solution?

@Bledjan5
Copy link

i dont think is solution because doesnt let me to choose any of them just return me again the root to put a command. I still whaiting for the solution @mironalin

@killerlux
Copy link

I created a script to completely wipe any cursor data from your environment so you can relog with another account for trial : https://github.com/killerlux/cursor-cleaner

@wl-junlin
Copy link

wl-junlin commented Apr 30, 2025

link your cursor dir like:

  sudo ln -s ~/cursor/usr/bin/cursor /usr/local/bin/cursor
  sudo ln -s ~/cursor/usr/share/cursor /usr/share/cursor

so that the script can find your installation

@chengweiv5
Copy link

link your cursor dir like:

  sudo ln -s ~/cursor/usr/bin/cursor /usr/local/bin/cursor
  sudo ln -s ~/cursor/usr/share/cursor /usr/share/cursor

so that the script can find your installation

no such directories. I use AppImage like below, just create an soft link and everything is done.

ls -l /usr/bin/cursor
lrwxrwxrwx 1 root root 34 Apr 11 09:50 /usr/bin/cursor -> /opt/Cursor-0.48.8-x86_64.AppImage

@suiyuee
Copy link

suiyuee commented May 2, 2025

我解决了, 看看有没有你遇到的问题

@JaiminPatel345
Copy link

I created a script to completely wipe any cursor data from your environment so you can relog with another account for trial : https://github.com/killerlux/cursor-cleaner

This works for me

@GhostEsso
Copy link

I created a script to completely wipe any cursor data from your environment so you can relog with another account for trial : https://github.com/killerlux/cursor-cleaner

@killerlux You did a great Job boss... working perfectly

@killerlux
Copy link

I created a script to completely wipe any cursor data from your environment so you can relog with another account for trial : https://github.com/killerlux/cursor-cleaner

@killerlux You did a great Job boss... working perfectly

thank you , also cursor just released free 1 year for students.

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

10 participants