Located in your home directory, the file .gbarrc is a config file for various G-Bar related things. It can be edited with any text editor.
The file has a simple format that consists of lines, where each line identifies a setting:
Empty lines and lines starting with # are ignored (i.e. comments). An example:
# Disable autolock of desktop NO_LOCK=1 # Set default windows size for Windows Desktop WIN_RESOLUTION=1024x768
As seen in the example above, the file can be interpreted with Bash.
Below is an example of a setting that you can configure with .gbarrc.
Set default windows size for Windows Desktop
When starting a Windows program from the Menu => Microsoft, it is possible to select a window size for the program. It is also possible to set a default window size by adding this setting to your .gbarrc:
The resolution can also be set to a non standard resolution, e.g.: