Basic Question

After editing .cshrc.local and .xsession, I have to logout and relogin again so that the changes took effect. Is there another shortcut to make these changes take effect without I have to relogin again?
v5Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

braveheartCommented:
I presume that .cshrc.local is some file which is invoked by a project- or site-wide .cshrc file. You can change this and then start a new C-shell (by typing "csh"), which will then take the new values into account.  You can even use the "source" command to execute your .cshrc.local within the context of the current shell.

Changing .xsession is a different matter. It is possible but you will have to become intimately acquainted with the way in which your X server is started up, along with all the initialisation files. You will also have to ensure that your environment is setup in exactly the same way as when you log in. If you have to ask the question then you don't know enough to do it safely.

You can change X resources dynamically by altering the appropriate resource file in your app-defaults directory or .Xdefaults and then re-reading it or merging in the changes using xrdb. This will only affect programs which start after this point in time.

If you change X resources which affect your window manager or you alter your window manager resource file, e.g. .mwmrc, you can restart your window manager without having to restart any other program. Usually there is an option on one of the root popup menus - point your mouse at the root (background) window and click each mouse button in turn. One or more of the buttons will bring up a popup menu.

Hope this helps. If you want more detailed help, get back to me.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.