Fedora Linux Support Community & Resources Center
  #1  
Old 1st April 2012, 11:39 PM
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,064
linuxfirefox
want to force KDE to refresh shell environment

I've noticed that if I log into KDE4 and then change my .tcshrc file, that new shells don't reflect the new change. KDE is acting like it reads the .tcshrc file once at user login, then caches that somewhere and uses that environment for all future shell launches (I usually launch by right clicking the desktop and picking "konsole") even if the .tcshrc is edited later. I have to totally log out of KDE and then only then do new shells instances show the change. A manually workaround is to just type "source ~/.tcshrc" in the window but even that doesn't work if the change is to remove an environment var (the source command is only overwriting vars that match, orphan vars persist until you usually remove them with unsetenv), in that case I have to do "unsetenv FOO" if the var was "FOO". I'd prefer to just flush this KDE cache and make it reload.

Is there a way to stop this (make KDE always read the env file) or at least make KDE reload the user's shell environment manually somehow (ie in my case my default shell is tcsh so I want KDE to reread ~/.tcshrc )

Last edited by marko; 15th April 2012 at 07:38 PM. Reason: -e $home/.tcshrc didn't work after further tests
Reply With Quote
Reply

Tags
environment, force, kde, refresh, shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force Nautilus Refresh EntityReborn Using Fedora 0 26th May 2008 08:22 PM
Shell: How to know all the environment variables guarriman Using Fedora 5 18th February 2008 06:56 PM
Force a refresh rate/res with nvidia X Server? (1st post!) Caracal Hardware & Laptops 0 22nd December 2006 01:33 PM
How do I use gcc in shell environment? TheProgrammer Using Fedora 7 5th November 2004 03:39 AM


Current GMT-time: 01:51 (Sunday, 26-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Bilara Travel Photos - Bothell Travel Photos - Bryansk Travel Photos on Instagram