LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-15-2006, 12:06 PM   #1
magesing
LQ Newbie
 
Registered: Sep 2004
Posts: 28

Rep: Reputation: 15
gvim PATH incorrect when started from a keyboard shortcut in fluxbox


Hello,

I am using gvim to write LaTeX documents. Everything works if I start gvim from a terminal, However, if I start gvim from my fluxbox menu or a keyboard shortcut the PATH environment variable is set incorrectly.

The correct path, as set by /etc/profile and sourced from ~/.bashrc and ~/.bash_profile

Code:
echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/teTeX/bin/x86_64-unknown-linux-gnu:/usr/X11R6/bin

The path that I get by starting gvim from my fluxbox menu and typing ":!echo $PATH" from gvim

Code:
:/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb
I have no idea where the path that vim picks up comes from but it is definately not in .bashrc .bash_profile /etc/profile or /etc/bashrc . the /usr/ucb directory at the end of the gvim path does not even exist!

when run from a menu or keyboard shortcut where does g-vim pick up its PATH environment variable from?

Thank you
 
  


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
$PATH incorrect edgjerp Linux - Software 4 03-01-2006 06:08 AM
make sure you started X before you start Fluxbox?! FiveFlat Debian 3 05-23-2005 10:28 AM
Getting Started With Fluxbox fortezza Linux - Software 10 04-11-2005 08:51 PM
keyboard keys processed incorrect nadroj Linux - Newbie 4 03-14-2005 02:28 AM
Keyboard Shortcut wildcat22 Linux - General 1 09-27-2004 10:33 AM

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

All times are GMT -5. The time now is 01:14 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