Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

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?
0
v5
Asked:
v5
1 Solution
 
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now