LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kickoff Application Launches from /usr/bin rather than /usr/local/bin (https://www.linuxquestions.org/questions/slackware-14/kickoff-application-launches-from-usr-bin-rather-than-usr-local-bin-810341/)

Tim Johnson 05-26-2010 09:10 PM

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

T3slider 05-26-2010 09:25 PM

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.

Tim Johnson 05-26-2010 09:36 PM

Quote:

Originally Posted by T3slider (Post 3982412)
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


All times are GMT -5. The time now is 05:55 AM.