» · 3.5 · 3.5img · lab8 · ok · qrstuv · sl · subversive

site map

twm

twm

Repurposed rio-like configuration with cwm keybindings and some extras.

fishriotwm

.twmrc is placed in ~/

The default configuration makes use of dmenu, xterm and xlock, change accordingly.

# Mouse and root window:
Mouse2 : twm menu
Mouse3 : window operations

# Mouse and window borders:
Mouse1 : window resize, click to raise
Mouse2 : window resize, click to iconify
Mouse3 : window move, click to lower

# Mouse and icons
Mouse1 : raise
Mouse2 : deiconify
Mouse3 : move, click to lower

# Mouse + Meta (alt)
M+Mouse1 : Move window/icon, click to raise
M+Mouse2 : Resize window, click to (de)iconify
M+Mouse3 : Resize window, click 2 lower

# Keyboard
C+M+Return : spawn xterm
C+M+f : maximize focused window
C+M+m : maximize focused window
M+Return : iconify focused window
C+M+S+Slash : dmenu_run
C+M+S+r : restart twm
C+M+x : delete window
C+M+S+q : quit twm
M+S+l : xlock

Alt+(Shift+)Tab : Cycle through programs 
                  defined in WindowRing

files

.twmrc

fix for firefox

In firefox the right click menus and other pop ups don't work in twm. They disappear when the cursor is moved towards them. This can be fixed by changing the following in about:config:

widget.gtk.grab-pointer = 1

more