Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-05-2012, 07:35 PM   #1
Registered: Jun 2005
Distribution: Slackware 14.0
Posts: 86

Rep: Reputation: 15
Question PATH variable resetting after reboot

I've been having some strange behavior from Slackware lately. My PATH variable keeps resetting to its default value.

Something similar has happened to my kde apps (Dolphin & Konqueror) where all my application associations disappear forcing me to navigate to /usr/bin to find the correct program when opening a file. Reassigning the application association does not work. Note that I do not use kde but fluxbox instead.

I noticed both of these issues around the same time.
Old 05-05-2012, 09:21 PM   #2
Registered: Mar 2011
Distribution: Slackware -current, Debian Jessie, Manjaro OpenRC
Posts: 504

Rep: Reputation: 155Reputation: 155
As far as PATH variable goes, check your .bashrc in your home directory and edit the PATH variable as needed. There may also be a kde path variable there you can set to solve the other problem.
Old 05-06-2012, 02:03 AM   #3
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian except for netbook still on Slackware 13.37 (and I have to support Ubuntu)
Posts: 8,572
Blog Entries: 30

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
If your ~/.profile does not source ~/.bashrc (maybe via the . command) then you need to set PATH in ~/.profile
Old 05-08-2012, 05:59 PM   #4
Registered: Jun 2005
Distribution: Slackware 14.0
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks for the reply. So I've solved the PATH issue. The problem was my .bashrc file. As for my KDE problem I've been at a lost. I have yet to find any answer through my searching. KDE is a big project, so I'm not sure how to approach this.


kde, path, slackware 13.37

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP is resetting after reboot jithuc83 Linux - Networking 4 02-23-2010 06:08 AM
[SOLVED] bash: resetting of global variable? crts Programming 7 01-07-2010 08:40 PM
bash script path issue - how to pass a path as a string to a variable PiNPOiNT Programming 5 04-17-2009 06:48 PM
9.3 alsamixer resetting on reboot ionmich SUSE / openSUSE 4 12-08-2005 08:51 PM
/dev/nvdia* permissions keep resetting on reboot Lagg Slackware 7 05-13-2005 05:04 PM

All times are GMT -5. The time now is 02:00 PM.

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