Open RanuDewantara opened 5 months ago
I'm running Ubuntu 22.04 and I have the same issue.
I'm running Ubuntu 22.04 and I have the same issue.
KDE neon is based on Ubuntu 22.04 LTS. So we have a same error when we use Cursor.
It's still a problem months later on Ubuntu 24.04
Have the same Problem I use this as a workaround.
sudo tee /usr/local/bin/cursor > /dev/null << EOF
#!/bin/bash
# Get the current directory
current_dir=\$(pwd)
# Launch Cursor with the current directory and any additional arguments
/path/to/Cursor/cursor.appimage "\$current_dir" "\$@"
EOF
sudo chmod +x /usr/local/bin/cursor
if [[ ":$PATH:" != *":/usr/local/bin:"* ]]; then
echo 'export PATH=$PATH:/usr/local/bin' >> ~/.bashrc
source ~/.bashrc
fi
The "Cursor" command has been set up. You may need to restart your terminal or run 'source ~/.bashrc' for changes to take effect. It now opens cursor with the current directory set as the project directory. Just open the terminal in your project directory, enter "cursor" and hit enter.
Dear, Cursor team. I have an error when I try to use Cursor Code Editor. I can't install "cursor" command when I started it. I'm using KDE neon Linux (Ubuntu-based). Please fix this error or help me to install it