If you are currently running a version of the OpenWindows software earlier than Version 3.3, it is important to determine the status of your .xinitrc file. The .xinitrc file is an OpenWindows start-up file your home directory that may contain user-defined options.
To determine the status of your .xinitrc file, type the following commands:
$ cd $ ls -a .xinitrc |
Depending on the output of this command, do one of the following things:
If you do not have a .xinitrc file (that is, the results of the previous ls -acommand does not return a listing for the file) do nothing. If there is no .xinitrc file in your home directory, OpenWindows uses the system default start-up file.
If you have a .xinitrc file (that is, the result of the previous ls -acommand returns a listing for the file), but you have never made any changes to the file or do not want to keep the changes you have made, do Step 1 in "1.5.2.1 Start-Up File Procedures".
If you have a .xinitrc file (that is, the result of the previous ls -a command returns a listing for the file), and you have made changes to the file that you want to keep, do Step 2 in "1.5.2.1 Start-Up File Procedures".
To delete the .xinitrc file from your home directory, type the following command:
$ rm .xinitrc |
To retain the changes to your .xinitrc file, do the following steps:
Move .xinitrc to .xinitrc.save:
$ mv .xinitrc .xinitrc.save |
Copy /usr/openwin/lib/Xinitrc to .xinitrc in your home directory:
$ cp /usr/openwin/lib/Xinitrc $HOME/.xinitrc |
Add the lines that you want to keep from the .xinitrc.save to .xinitrc.
When editing the .xinitrc file, do not add a secondary version of olwm, do not add svenv, and do not remove the line containing /usr/openwin/lib/openwin-sys.