Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 May 2013, 15:08
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Changing the path of an executable
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 734
Location: Ottawa Ontario Canada

PostPosted: 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?
Back to top
View user's profile Send private message Visit poster's website 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Wed 27 Jun 2012, 23:58    Post subject:  

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
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 734
Location: Ottawa Ontario Canada

PostPosted: Thu 28 Jun 2012, 05:21    Post subject:  

Cool! Thanks a lot. Sounds very straight forward. I will give it a shot.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0369s ][ Queries: 11 (0.0059s) ][ GZIP on ]