LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2009, 08:17 PM   #1
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
How to set PATH For KDE4 Application Launcher Apps


Hi,

How can I find, and modify, the PATH used when an application is launched from the Application Launcher menu.

It looks like /usr/local/* is not part of the PATH, and I'd like to add it.

Cheers.
 
Old 03-07-2009, 03:49 PM   #2
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Rep: Reputation: 15
export PATH="$PATH:/usr/local/blahblahblah"

You can also add this path to PATH in your ~/.profile
 
Old 03-08-2009, 08:34 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Original Poster
Rep: Reputation: 38
It's not a matter of setting the PATH in the profile, as that is already set correctly for what I need.

That PATH, for the user that launches KDE4, isn't used by the Application Launcher within KDE4. My "shell" path starts with /usr/local/bin, which is ahead of /usr/bin.

When I launch an application, from the Application Launcher, it uses the copy from /usr/bin:
Code:
kdeinit4: preparing to launch /usr/bin/vmware
But, if I start the same application from the command line, it uses the copy from /usr/local/bin. This is the version I want launched in KDE4.

Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lancelot - New KDE4 Start Menu/Program Launcher - is really good. klearview Linux - Desktop 1 09-16-2008 11:02 AM
how can I create dual application launcher ameyjah Linux - Software 4 04-23-2008 06:12 AM
Application launcher box General Linux - Desktop 0 03-23-2007 04:07 AM
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 01:24 AM
Application Launcher jamoraqui Linux - Newbie 9 08-23-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 AM.

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