-
Notifications
You must be signed in to change notification settings - Fork 4
Customizing Look & Feel
If you're using xlshd as your X login manager you can customize its look & feel by:
- Editing /etc/xlsh/xlshrc file (default terminal emulator, background color/image, etc).
- Editing /etc/xlsh/Xresouces file (color scheme and font for the terminal emulator).
If you dislike xterm you can use any other terminal emulator by changing TERMINAL variable at the top of /etc/xlsh/xlshrc. However make sure that your terminal program of choice supports at least the following:
- Has -g or other command line switch for setting initial window geometry (needed for positioning)
- Can be told to launch alternative shell program (so you will get xlsh instead of a bash prompt)
You can change default background color by modyfing BGCOLOR variable at the top of /etc/xlsh/xlshrc file. The format is:
BGCOLOR="rgb:RR/GG/BB"
where RR
, GG
and BB
are hexadecimal numbers between 00
and FF
(0 - 255). For example to set your background color to bright violet (I highly recommend against it unless you want your eyes to pop-out) one would use the following line:
BGCOLOR="rgb:FF/00/FF"
To set background image you will need background setting utility for X. If you can't think of anything that would do the job I recommend feh which is a nice image viewer and can also be used to set X root window image from command line. You can get feh here: http://freshmeat.net/projects/feh or install it from your distribution's package repository.
First copy your desired wallpaper image to a nice system-wide location then edit /etc/xlsh/xlshrc to run feh just after xsetroot:
xsetroot -solid "$BGCOLOR"
feh --bg-scale /usr/local/share/your_bgfile.png
If you want to customize xterm appearance edit /etc/xlsh/Xresources file. Each color value is in familiar "web" format #RRGGBB
. You can use xfontsel utility to construct well formed font specification strings.
For more information on Xresources refer to: https://wiki.archlinux.org/index.php/X_resources