APC Extension Setup
-
Open a terminal and navigate to the directory where you downloaded the AppImage.
-
Make the AppImage executable:
chmod +x cursor-0.40.4x86_64.AppImage -
Create a new directory to extract the content:
mkdir ~/cursor-extracted -
Extract the contents of the AppImage:
./cursor-0.40.4x86_64.AppImage --appimage-extract -
Move the extracted content to the new directory:
mv squashfs-root/* ~/cursor-extracted/ -
Create a startup script for Cursor:
cat << EOF > ~/run-cursor.sh #!/bin/bash export TMPDIR=\$HOME/cursor-temp mkdir -p \$TMPDIR cd ~/cursor-extracted ./AppRun "\$@" EOF
This script sets up a custom temporary directory to avoid permission issues.
-
Make the script executable:
chmod +x ~/run-cursor.sh -
Run Cursor using the new script:
~/run-cursor.sh
also it was remarked
sudo chown -R $(whoami) /usr/share/code