Posted: Wed 27 Jun 2012, 19:17 Post_subject:
Changing the path of an executable
Maybe what I am going to write doesn't make any sense but I thought I would ask anyway. I have Filezilla in my /usr/bin directory. When I go to launch it from the Menu Network Filezilla, Filezilla launches no problem. I have the latest version of Filezilla on sda2 that I always launch by double clicking on the Filezilla icon launching the latest version.
My question, is there a way to change the path of Filezilla in usr/bin to point to Filezilla in sda2 instead so that when I launch it from the menu-network, it will launch the latest version? Maybe there is another way to do all of this?
Hi rmcellig,
.desktop files control what is displayed/executed from the menus - If you go to the directory /usr/share/applications/ and look for the filezilla.desktop file - open this in a text editor and look for the Exec= line - replace the current filezilla executable with the full file path to the executable on your sda2 partition.
Then open a terminal and run the command: fixmenus
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum