Xinitrc

From Gentoo Linux Wiki

Jump to: navigation, search

The xinitrc script is used as a command line parameter to the xinit windowing system initializer.

[edit] Overview

The xinitrc script performs the following actions:

Configure a set of variables:

userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap xinitdir=/etc/X11 sysresources=$xinitdir/Xresources sysmodmap=$xinitdir/Xmodmap

Configure the X resource database with system and user resources, using xrdb

Configure the keyboard map using xmodmap

Run the local users ~/.xinitrc script, if this exists

If the local users ~/.xinitrc script does not exist the /etc/X11/chooser.sh script is invoked, if possible.

If the chooser.sh script does not exist, then the twm windows manager, xclock and xterm are started.

Personal tools