twm
Local
External
twmrc file finding the default
updatedb
locate twmrc
# for me it was at:
/etc/X11/twm/system.twmrc
.twmrc file
RandomPlacement
#
# $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld Exp $
#
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment. For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#
# $XFree86: xc/programs/twm/system.twmrc,v 1.4 2001/01/17 23:45:08 dawes Exp $
#
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth
Color
{
BorderColor "slategrey"
DefaultBackground "rgb:2/a/9"
DefaultForeground "gray85"
TitleBackground "rgb:2/a/9"
TitleForeground "gray85"
MenuBackground "rgb:2/a/9"
MenuForeground "gray85"
MenuBorderColor "slategrey"
MenuTitleBackground "gray70"
MenuTitleForeground "rgb:2/a/9"
IconBackground "rgb:2/a/9"
IconForeground "gray85"
IconBorderColor "gray85"
IconManagerBackground "rgb:2/a/9"
IconManagerForeground "gray85"
}
#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }
#
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "main"
Button2 = : root : f.menu "windowops"
Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
Button3 = m : window|icon : f.function "move-or-raise"
Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify
#
# And a menus with the usual things
#
menu "main"
{
"Main Menu" f.title
"XTerm" f.exec "xterm &"
"Debian" f.menu "/Debian"
"" f.nop
"Show Icon Manager" f.showiconmgr
"Hide Icon Manager" f.hideiconmgr
"" f.nop
"Exit" f.menu "Quit-Verify"
}
menu "Quit-Verify"
{
"Really quit twm?" f.title
"No, restart twm" f.restart
"Yes, really quit" f.quit
}
menu "windowops"
{
"Window Ops" f.title
"" f.nop
"Iconify" f.iconify
"Resize" f.resize
"Move" f.move
"Raise" f.raise
"Lower" f.lower
"" f.nop
"Focus" f.focus
"Unfocus" f.unfocus
"" f.nop
"Delete" f.delete
"Destroy" f.destroy
}
# Automatically generated file. Do not edit (see /usr/share/doc/menu/html/index.html)
menu "/Debian/Applications/Accessibility"
{
"Xmag" f.exec "xmag &"
}
menu "/Debian/Applications/Data Management"
{
"Tomboy" f.exec "/usr/bin/tomboy &"
}
menu "/Debian/Applications/Editors"
{
"Gedit" f.exec "/usr/bin/gedit &"
"Nano" f.exec "x-terminal-emulator -T \"Nano\" -e sh -c \"/bin/nano\" &"
"Xedit" f.exec "xedit &"
}
menu "/Debian/Applications/File Management"
{
"Baobab" f.exec "/usr/bin/baobab &"
"Brasero" f.exec "/usr/bin/brasero &"
"GNOME Search Tool" f.exec "/usr/bin/gnome-search-tool &"
"Nautilus" f.exec "/usr/bin/nautilus &"
"Tracker Search Tool" f.exec "/usr/bin/tracker-search-tool &"
}
menu "/Debian/Applications/Graphics"
{
"GNOME Screenshot Tool" f.exec "/usr/bin/gnome-panel-screenshot &"
"OpenOffice.org Draw" f.exec "/usr/bin/oodraw &"
"The GIMP" f.exec "/usr/bin/gimp &"
"XSane" f.exec "/usr/bin/xsane &"
"X Window Snapshot" f.exec "xwd | xwud &"
}
menu "/Debian/Applications/Network/Communication"
{
"Ekiga" f.exec "/usr/bin/ekiga &"
"Pidgin" f.exec "/usr/bin/pidgin &"
"Terminal Server Client" f.exec "/usr/bin/tsclient -f &"
"Xbiff" f.exec "xbiff &"
}
menu "/Debian/Applications/Network/File Transfer"
{
"Transmission BitTorrent Client" f.exec "/usr/bin/transmission &"
}
menu "/Debian/Applications/Network/Web Browsing"
{
"Firefox 3 Browser" f.exec "/usr/bin/firefox-3.0 &"
}
menu "/Debian/Applications/Network"
{
"Communication" f.menu "/Debian/Applications/Network/Communication"
"Evolution" f.exec "/usr/bin/evolution &"
"File Transfer" f.menu "/Debian/Applications/Network/File Transfer"
"Telnet" f.exec "x-terminal-emulator -T \"Telnet\" -e sh -c \"/usr/bin/telnet\" &"
"w3m" f.exec "x-terminal-emulator -T \"w3m\" -e sh -c \"/usr/bin/w3m /usr/share/doc/w3m/MANUAL.html\" &"
"Web Browsing" f.menu "/Debian/Applications/Network/Web Browsing"
}
menu "/Debian/Applications/Office"
{
"HPLIP Fax address book" f.exec "/usr/bin/hp-fab &"
"HPLIP Fax utility" f.exec "/usr/bin/hp-sendfax &"
"OpenOffice.org Calc" f.exec "/usr/bin/oocalc &"
"OpenOffice.org Impress" f.exec "/usr/bin/ooimpress &"
"OpenOffice.org Writer" f.exec "/usr/bin/oowriter &"
}
menu "/Debian/Applications/Programming"
{
"GDB" f.exec "x-terminal-emulator -T \"GDB\" -e sh -c \"/usr/bin/gdb\" &"
"Python (v2.5)" f.exec "x-terminal-emulator -T \"Python (v2.5)\" -e sh -c \"/usr/bin/python2.5\" &"
}
menu "/Debian/Applications/Science/Mathematics"
{
"Bc" f.exec "x-terminal-emulator -T \"Bc\" -e sh -c \"/usr/bin/bc\" &"
"Dc" f.exec "x-terminal-emulator -T \"Dc\" -e sh -c \"/usr/bin/dc\" &"
"GCalcTool" f.exec "/usr/bin/gcalctool &"
"Xcalc" f.exec "xcalc &"
}
menu "/Debian/Applications/Science"
{
"Mathematics" f.menu "/Debian/Applications/Science/Mathematics"
}
menu "/Debian/Applications/Shells"
{
"Bash" f.exec "x-terminal-emulator -T \"Bash\" -e sh -c \"/bin/bash --login\" &"
"Dash" f.exec "x-terminal-emulator -T \"Dash\" -e sh -c \"/bin/dash -i\" &"
"Sh" f.exec "x-terminal-emulator -T \"Sh\" -e sh -c \"/bin/sh --login\" &"
}
menu "/Debian/Applications/Sound"
{
"gmix (Gnome 2.0 Mixer)" f.exec "/usr/bin/gnome-volume-control &"
"grecord (GNOME 2.0 Recorder)" f.exec "/usr/bin/gnome-sound-recorder &"
"Rhythmbox" f.exec "/usr/bin/rhythmbox &"
"Sound Juicer" f.exec "/usr/bin/sound-juicer &"
"vumeter (Gnome 2.0 Volume Meter)" f.exec "/usr/bin/vumeter &"
}
menu "/Debian/Applications/System/Administration"
{
"alsaconf" f.exec "x-terminal-emulator -T \"alsaconf\" -e sh -c \"su-to-root -p root -c /usr/sbin/alsaconf\" &"
"Aptitude" f.exec "x-terminal-emulator -T \"Aptitude\" -e sh -c \"/usr/bin/aptitude\" &"
"Debian Task selector" f.exec "x-terminal-emulator -T \"Debian Task selector\" -e sh -c \"su-to-root -c tasksel\" &"
"DSL/PPPoE configuration tool" f.exec "x-terminal-emulator -T \"DSL/PPPoE configuration tool\" -e sh -c \"/usr/sbin/pppoeconf\" &"
"Editres" f.exec "editres &"
"GDM flexiserver" f.exec "gdmflexiserver &"
"GDM flexiserver in Xnest" f.exec "gdmflexiserver -n &"
"GDM Photo Setup" f.exec "gdmphotosetup &"
"GDM Setup" f.exec "su-to-root -X -p root -c /usr/sbin/gdmsetup &"
"HPLIP File printing" f.exec "/usr/bin/hp-print &"
"pppconfig" f.exec "x-terminal-emulator -T \"pppconfig\" -e sh -c \"su-to-root -p root -c /usr/sbin/pppconfig\" &"
"Xclipboard" f.exec "xclipboard &"
"Xfontsel" f.exec "xfontsel &"
"Xkill" f.exec "xkill &"
"Xrefresh" f.exec "xrefresh &"
}
menu "/Debian/Applications/System/Gnome"
{
"Gnome Control Center" f.exec "/usr/bin/gnome-control-center &"
}
menu "/Debian/Applications/System/Hardware"
{
"GNOME Floppy Formatter" f.exec "/usr/bin/gfloppy &"
"HPLIP Toolbox" f.exec "/usr/bin/hp-toolbox &"
"Xvidtune" f.exec "xvidtune &"
}
menu "/Debian/Applications/System/Monitoring"
{
"GNOME Log Viewer" f.exec "/usr/bin/gnome-system-log &"
"Pstree" f.exec "x-terminal-emulator -T \"Pstree\" -e sh -c \"/usr/bin/pstree.x11\" &"
"Top" f.exec "x-terminal-emulator -T \"Top\" -e sh -c \"/usr/bin/top\" &"
"Xconsole" f.exec "xconsole -file /dev/xconsole &"
"Xev" f.exec "x-terminal-emulator -e xev &"
"Xload" f.exec "xload &"
}
menu "/Debian/Applications/System/Package Management"
{
"Synaptic Package Manager" f.exec "/usr/bin/gksu /usr/sbin/synaptic &"
}
menu "/Debian/Applications/System/Security"
{
"Seahorse" f.exec "/usr/bin/seahorse &"
}
menu "/Debian/Applications/System"
{
"Administration" f.menu "/Debian/Applications/System/Administration"
"Gnome" f.menu "/Debian/Applications/System/Gnome"
"GNOME Network Tool" f.exec "/usr/bin/gnome-nettool &"
"GNOME system monitor" f.exec "/usr/bin/gnome-system-monitor &"
"Hardware" f.menu "/Debian/Applications/System/Hardware"
"Monitoring" f.menu "/Debian/Applications/System/Monitoring"
"Network Admin" f.exec "/usr/bin/network-admin &"
"Package Management" f.menu "/Debian/Applications/System/Package Management"
"Security" f.menu "/Debian/Applications/System/Security"
"Services Admin" f.exec "/usr/bin/services-admin &"
"Shares Admin" f.exec "/usr/bin/shares-admin &"
"Time Admin" f.exec "/usr/bin/time-admin &"
"User accounts Admin" f.exec "/usr/bin/users-admin &"
}
menu "/Debian/Applications/Terminal Emulators"
{
"Gnome Terminal" f.exec "/usr/bin/gnome-terminal &"
"XTerm" f.exec "xterm &"
"X-Terminal as root (GKsu)" f.exec "/usr/bin/gksu -u root /usr/bin/x-terminal-emulator &"
"XTerm (Unicode)" f.exec "uxterm &"
}
menu "/Debian/Applications/Text"
{
"Character map" f.exec "/usr/bin/gucharmap &"
"Fortune" f.exec "sh -c 'while /usr/games/fortune | col -x | xmessage -center -buttons OK:1,Another:0 -default OK -file - ; do :; done' &"
"GNOME Dictionary" f.exec "/usr/bin/gnome-dictionary &"
}
menu "/Debian/Applications/Tools"
{
"File-Roller" f.exec "/usr/bin/file-roller &"
}
menu "/Debian/Applications/Video"
{
"totem (GStreamer)" f.exec "/usr/bin/totem-gstreamer &"
}
menu "/Debian/Applications/Viewers"
{
"Evince" f.exec "/usr/bin/evince &"
"Eye of GNOME" f.exec "/usr/bin/eog &"
"F-Spot" f.exec "/usr/bin/f-spot &"
"Xditview" f.exec "xditview &"
}
menu "/Debian/Applications"
{
"Accessibility" f.menu "/Debian/Applications/Accessibility"
"Data Management" f.menu "/Debian/Applications/Data Management"
"Editors" f.menu "/Debian/Applications/Editors"
"File Management" f.menu "/Debian/Applications/File Management"
"Graphics" f.menu "/Debian/Applications/Graphics"
"Network" f.menu "/Debian/Applications/Network"
"Office" f.menu "/Debian/Applications/Office"
"Programming" f.menu "/Debian/Applications/Programming"
"Science" f.menu "/Debian/Applications/Science"
"Shells" f.menu "/Debian/Applications/Shells"
"Sound" f.menu "/Debian/Applications/Sound"
"System" f.menu "/Debian/Applications/System"
"Terminal Emulators" f.menu "/Debian/Applications/Terminal Emulators"
"Text" f.menu "/Debian/Applications/Text"
"Tools" f.menu "/Debian/Applications/Tools"
"Video" f.menu "/Debian/Applications/Video"
"Viewers" f.menu "/Debian/Applications/Viewers"
}
menu "/Debian/Games/Action"
{
"Gnibbles" f.exec "/usr/games/gnibbles &"
}
menu "/Debian/Games/Blocks"
{
"Gnometris" f.exec "/usr/games/gnometris &"
}
menu "/Debian/Games/Board"
{
"Four-in-a-row" f.exec "/usr/games/gnect &"
"GL Chess" f.exec "/usr/games/glchess &"
"Gnome GYahtzee" f.exec "/usr/games/gtali &"
"Gnome Iagno" f.exec "/usr/games/iagno &"
"Gnome Lines" f.exec "/usr/games/glines &"
"Gnome Mahjongg" f.exec "/usr/games/mahjongg &"
}
menu "/Debian/Games/Card"
{
"Gnome Blackjack" f.exec "/usr/games/blackjack &"
"Gnome FreeCell" f.exec "/usr/games/sol --variation freecell &"
"Gnome Solitaire Games" f.exec "/usr/games/sol &"
}
menu "/Debian/Games/Puzzles"
{
"Gnome Klotski" f.exec "/usr/games/gnotski &"
"Gnome Robots" f.exec "/usr/games/gnobots2 &"
"Gnome Sudoku" f.exec "/usr/games/gnome-sudoku &"
"Gnome Tetravex" f.exec "/usr/games/gnotravex &"
"Gnomine" f.exec "/usr/games/gnomine &"
"Same Gnome" f.exec "/usr/games/same-gnome &"
}
menu "/Debian/Games/Toys"
{
"Oclock" f.exec "oclock &"
"Xclock (analog)" f.exec "xclock -analog &"
"Xclock (digital)" f.exec "xclock -digital -update 1 &"
"Xeyes" f.exec "xeyes &"
"Xlogo" f.exec "xlogo &"
}
menu "/Debian/Games"
{
"Action" f.menu "/Debian/Games/Action"
"Blocks" f.menu "/Debian/Games/Blocks"
"Board" f.menu "/Debian/Games/Board"
"Card" f.menu "/Debian/Games/Card"
"Puzzles" f.menu "/Debian/Games/Puzzles"
"Toys" f.menu "/Debian/Games/Toys"
}
menu "/Debian/Help"
{
"Info" f.exec "x-terminal-emulator -T \"Info\" -e sh -c \"info\" &"
"Xman" f.exec "xman &"
"yelp" f.exec "/usr/bin/yelp &"
}
menu "/Debian/Window Managers"
{
"Twm" f.startwm "twm"
}
menu "/Debian"
{
"Applications" f.menu "/Debian/Applications"
"Games" f.menu "/Debian/Games"
"Help" f.menu "/Debian/Help"
"Window Managers" f.menu "/Debian/Window Managers"
}