user@laptop ~ $ sudo ln -s ~/Games/JA/openjk.i386 ~/Desktop/JA
user@laptop ~ $ readlink -f ~/Desktop/JA
/home/user/Games/JA/openjk.i386
As you can see, the symlink points to the file, but when I try to click on it it doesn't work. However, if I put the JA symlink in the same directory as the file it is linking to (in this case ~/Games/JA
) it works. How do I make it work outside that directory (in the Desktop
, for example)?
sudo
for this, that means the link will be owned byroot
, not your user and you don't need it anyway. Is this exactly what you're doing? I just repeated it and it works as expected on my Debian. Do you have access to all directories in question? What happens when you click on the link? What should happen? What kind of file isopenjk.i386
?