Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey, probably this is an easy to solve question, but im a little confused, recently i installed kompozer in my debian, when i try to make a symbolic link to my home using
Code:
ln -s /opt/kompozer-0.8a3/kompozer
the command make the link, but why when i try to run from X with double click, it shows a window what says run in terminal, display, cancel run, why it just dont open the program.... i can change the icon with a command when i make the link?
Thanks!
Last edited by drakeman007; 05-08-2009 at 11:22 PM.
Hey, probably this is an easy to solve question, but im a little confused, recently i installed kompozer in my debian, when i try to make a symbolic link to my home using
Code:
ln -s /opt/kompozer-0.8a3/kompozer
the command make the link, but why when i try to run from X with double click, it shows a window what says run in terminal, display, cancel run, why it just dont open the program.... i can change the icon with a command when i make the link?
Thanks!
Hi
See
Code:
man ln
You seem to be missing a name for your symlink?
I. e. shouldn't it be
Code:
ln -s kompozer_link /opt/kompozer-0.8a3/kompozer
to create a symlink called "kompozer_link" in the current directory, that, when referenced, will link to "/opt/kompozer-0.8a3/kompozer" ??
EDIT: APOLOGIES! As stated below, I got it backwards...
You seem to be missing a name for your symlink?
I. e. shouldn't it be
Code:
ln -s kompozer_link /opt/kompozer-0.8a3/kompozer
As already stated, this is backwards. But, if you run the command in the target directory, the original form is fine. In fact, I think it is the most consistent way to make a link. (Run the ln command in the directory where you want the link)
But the original question implies that the link is OK, but there is some other issue. For example, does "kompozer" have execute permissions set?
Thanks to all, but i can create the link fine, the problem or the question is why when i double click it, i have to choose an option between, run in terminal, run, cancel, display, why the programa doesnt start inmediatly? like when i run it from console using ./kompozer, in that way the program opens without any dialog before, thats why i ask if theres is another different way to make the link for the program tu run it without this dialog before?
Right-click link, select the "Permissions" tab from the "Properties" dialog box, check "Allow executing file as program".
I have that option checked, but dont get me wrong, the program opens, but i have to double click it, then click run, and then it opens, why it doesnt open with the first double click? or thats the way to open a program in linux? sorry im newbie...
I guess the expected behaviour is being overridden by nautilus. Check the nautilus Edit > preferences > Behavior tab.
Thanks, i can set options there, and i can set to open without the first window, but just the code, with a text editor, cant run the program itself.... when you guys anyone creates a symbolic link, with a mouse double click, opens inmediatly?
The permissions of the symlink can't be changed ever, they are 777, only the permissions of the destination file matters which I assume are fine because otherwise he couldn't run kompozer from the menu or whatever.
So, let's concentrate on the issue, and the issue is entirely related to the way that nautilus/gnome handles the thing. I don't have nautilus so I can't test, but for example in dolphin it works without a problem. Gnome mime support has always been broken to a bigger or lesser degree in my humble opinion.
It would help here to know if it works or not for other gnome/nautilus users.
You could also try another file manager like thunar or pcmanfm, just to test even if you don't like them.
The permissions of the symlink can't be changed ever, they are 777, only the permissions of the destination file matters which I assume are fine because otherwise he couldn't run kompozer from the menu or whatever.
So, let's concentrate on the issue, and the issue is entirely related to the way that nautilus/gnome handles the thing. I don't have nautilus so I can't test, but for example in dolphin it works without a problem. Gnome mime support has always been broken to a bigger or lesser degree in my humble opinion.
It would help here to know if it works or not for other gnome/nautilus users.
You could also try another file manager like thunar or pcmanfm, just to test even if you don't like them.
Thanks very good answer, yes i think the problem is how nautilus handle the symbolic links, you are totally right, mmm im going to read more about other file managers (one of the things i like more from linux), you can try many options if you dont like one...
Thanks for that great answer man, and thanks to all the other people who answer for help me...
!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.