LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2010, 09:10 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Kickoff Application Launches from /usr/bin rather than /usr/local/bin


Using Slackware 12.0 32-bit. KDE KDE 4.2.4
When I choose the Menu (Kickoff Application Launcher)
then choose Development, and then 'Emacs' I get the
version of emacs that came with the distribution.

It is at /usr/bin

In the meantime, I have installed a compiled version of emacs that
is installed at /usr/local/bin.

How do I modify Slack so that the App launcher launches
/usr/local/bin/emacs?

thanks
tim
 
Old 05-26-2010, 09:25 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Make sure /usr/local/bin is before /usr/bin in your $PATH if you're launching from a shell. If you are launching from a menu item then it is likely hard-coded to launch /usr/bin/emacs, so you could either create another menu item or edit that one. I don't use KDE anymore and haven't really done much with 4.x so I can't help you with that, but I believe my advice is valid.
 
1 members found this post helpful.
Old 05-26-2010, 09:36 PM   #3
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by T3slider View Post
Make sure /usr/local/bin is before /usr/bin in your $PATH if you're launching from a shell. If you are launching from a menu item then it is likely hard-coded to launch /usr/bin/emacs, so you could either create another menu item or edit that one. I don't use KDE anymore and haven't really done much with 4.x so I can't help you with that, but I believe my advice is valid.
I noted that a right click on the menu gives me the menu editor and
it appears to work just as on KDE 3~.
thanks
solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
Failed to chck remot comnd executin using shells /usr/bin/ssh and /usr/bin/rsh farnaw4u Linux - Software 2 04-06-2009 12:08 AM
making files available in /usr/local/bin and /usr/sbin reakinator Linux - Newbie 1 10-14-2006 05:09 PM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration