[clue-tech] Does sidux have a working kde3?

Bruce Ediger bediger at inlumineconsulting.com
Wed Sep 9 20:54:05 MDT 2009


On Wed, 9 Sep 2009, Angelo Bertolli wrote:

> You appreciate the lean, right?  Just go with Blackbox ;)

Blackbox!?!  Bah, bloatware!  Use a Real Man's Window Manager, twm.

I'm not kidding. Twm is totally debugged, it never crashes, never locks
up works fast, gets out of the way.  Let's face it, screen real estate
is still expensive, and still important to minimize.  twm lets you do it.

My .twmrc:
---cut here---
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-*-*-*"
ShowIconManager
IconManagerGeometry "=+-5+-10" 1
iconifybyunmapping
squeezetitle


Color
{
     BorderColor "slategrey"
 	IconManagerHighlight "yellow" { "XTerm" "red" }
     DefaultBackground "rgb:2/a/9"
     DefaultForeground "gray85"
     TitleBackground "rgb:2/a/9"
     TitleForeground "gray85"
     MenuBackground "rgb:2/a/9"
     MenuForeground "gray85"
     MenuTitleBackground "gray70"
     MenuTitleForeground "rgb:2/a/9"
     IconBackground "rgb:2/a/9"
     IconForeground "gray85"
     IconBorderColor "gray85"
     IconManagerBackground "rgb:2/a/9"
     IconManagerForeground "gray85"
}

#IconManagerDontShow
#{
#    "xclock"
#	"xcb"
#}

# Puts xterm icons on the upper lhs of the screen
IconManagers
{
     "XTerm" "=100x96--2+-5" 1
}

LeftTitleButton "stipple" = f.function "move-or-raise"
LeftTitleButton "menu12" = f.menu "windowtitlemenu"
# more trouble than they're worth
#LeftTitleButton "star" = f.delete
#LeftTitleButton "target" = f.destroy

menu "windowtitlemenu"
{
"Iconify"     f.iconify
"Raise/Lower" f.raiselower
"Refresh"     f.winrefresh
""            f.nop
"Delete"      f.delete
"Kill"        f.destroy
}


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 }

Button2 = : root : f.exec "xterm -u8 -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -sb -sl 1000 -T `hostname` -n `hostname` -bg white -fg black &"
Button3 = : root : f.menu "defops"

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
# Keyboard shortcuts
# F1 key - can't seem to get it to do anything
# F2 key pastes into Xterms, see .Xresources
"F3" = : window|title|iconmgr : f.raiselower
"F4" = : window|title|iconmgr : f.iconify
"SunFront" = : window|title : f.raiselower
"SunOpen" = : window : f.iconify

Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify

Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify

NoTitle
{
 	"xclock"
 	"xcb"
}

#
# And a menus with the usual things
#
menu "windows_menu"
{
"Windows" f.title
"Iconify"	f.iconify
"Resize"	f.resize
"Move"		f.move
"Raise"		f.raise
"Lower"		f.lower
""		f.nop
"Kill"		f.destroy
""		f.nop
"Delete"	f.delete
}

menu "programs_menu"
{
"abiword" f.exec "abiword &"
"mozilla" f.exec "mozilla &"
"firefox" f.exec "firefox &"
"xv"      f.exec "xv &"
}

WarpUnmapped
menu "defops"
{
"Twm"	f.title
"FireFox" f.exec "firefox &"
"rxvt"	        f.exec "rxvt -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -fm '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -sl 1000 -e zsh &"
"xterm default"	f.exec "xterm -T default -n default -sb -sl 1000 -e zsh &"
"xterm UTF-8"	f.exec "xterm -u8 -fn '-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1' -T UTF-8 -n UTF-8 -sb -sl 1000 -e zsh &"
""		f.nop
"Refresh"	f.refresh
""		f.nop
"Kill"		f.destroy
""		f.nop
"Delete"	f.delete
""      f.nop
"Programs"		f.menu "programs_menu"
""		f.nop
"Windows"		f.menu "windows_menu"
""		f.nop
"Restart"	f.restart
""		f.nop
"Exit"		f.quit
}
---cut here---


More information about the clue-tech mailing list