Skip to content

Linux at NC State

wiki support   search:

Environment setup / customization

Customizing the Linux environment is performed in the same way as is customizing the Solaris environment - through the ~/.mycshrc file. There are also desktop customizations available through the GNOME control panel (accessible through the menu bar) which can be used to change the way windows are drawn and other such niceties.

The important thing to note is that GNOME-specific changes will not impact any existing or future Solaris environment customizations, while changes to the ~/.mycshrc file will. If you already have a customized ~/.mycshrc file for your Solaris environment, it may generate spurious errors when logging in to a Linux machine; it may actually log you off immediately after login in some cases.

In order to fix this issue, you will have to modify your ~/.mycshrc file so that it can differentiate between the Solaris and Linux environments. The easiest way to do this is to wrap the Solaris customizations into an if-block that returns true when the result of the command uname -s returns “SunOS”. In Linux, this command will return the string “Linux”.