.gbarrc


The file .gbarrc (located in your home directory) is a config file for various G-Bar related things. It may be edited with any text editor.

The format of the file is simple. the file consists of lines, where each line identifies a setting:

<identifier>=<value>

Empty lines and lines starting with # are ignored (comments). An example:

# Disable autolock of desktop
NO_LOCK=1

# Set default windows size for Windows Desktop
WIN_RESOLUTION=1024x768

(In other words, the file should be readable with Bash.)

Below is listed the things you can configure with .gbarrc.

Disable autolock of desktop

When you are using a Smartcard and you eject your card, your session is locked after 10 minutes.

This is a security feature (in case you lose your card somewhere) and should not be disabled!

But - if you insist - this feature can be disabled by adding the setting

NO_LOCK=1

to your .gbarrc. You should now take care where you put your card!

If you lose your card, it is a good idea to kill your session on that card. The easiest way to do this is:

  1. Find a terminal and log into the system.
  2. Go to the Menu => G-Bar Support => Close all programs
  3. Answer OK.

This will kill all your processes on all the servers!


Set default windows size for Windows Desktop

When starting a Windows proram from the menu => Microsoft, it is possible to select a window size for the program. It is also possible to set a default windows size by adding the setting

WIN_RESOLUTION=<width>x<height>

to your .gbarrc. The resolution may also be a non standard resolution - e.g.

WIN_RESOLUTION=1000x800