Changing Display font in XTerm and UXTerm

Edit .Xresources to set the desire True Type font for UXTerm and XTerm.

XTerm*renderFont: true
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 10

UXTerm*renderFont: true
UXTerm*faceName: DejaVu Sans Mono
UXTerm*faceSize: 10

Use xrdb to merge your setting into the X server resource database.

xrdb -merge ~/.Xresources

Use xrdb -q to query the resulting resource setting:

$ xrdb -q
*customization: -color
UXTerm*faceName:        DejaVu Sans Mono
UXTerm*faceSize:        10
UXTerm*renderFont:      true
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 10
XTerm*renderFont:       true
Xcursor.size:   18
Xcursor.theme:  DMZ-White
Xcursor.theme_core:     true

You can find the correct font name with the following command:

fc-list | cut -f2 -d: | sort -u

Switch Keyboard Layout on Linux Mint 12 LXDE

I normally use the US-Dvorak keyboard layout, but for some typing in foreign languages, I like to switch back to the basic US keyboard layout. On other Linux distros it’s I had use the keyboard setting graphic user interface to set up the two US keyboard layouts, and then assign a key combination to switch between the two (personally, I like to hold down both the left and right shift-keys for the switch.)

However, on Linux Mint 12 LXDE, I could not find a graphic interface that would allow me to load the two keyboard layouts and assign the switch key combo.

Here’s what I found out about setting my desire layouts and hot-key the manual way:

Per session setting, at the command terminal use the setxkbmap command:

setxkbmap -layout "us,us" -variant "dvorak,basic" -option "grp:shifts_toggle" 

For a more permanent configuration, edit the /etc/default/keyboard file and change the XKB-variables:

XKBMODEL="pc105"
XKBLAYOUT="us,us"
XKBVARIANT="dvorak,basic"
XKBOPTIONS="grp:shifts_toggle"