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 Wed 19 Jun 2013, 06:45
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 Posts_count  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 735
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_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: 735
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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


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