Fluxbox keys

526

 

Here is my key file as an example.####### Custom Key File
###### There are numerous changes I have made here for my own use.
##### Nothing lethal but, do not assume anything -Sleekmason
####
###

!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse2 :StartTabbing

!mouse actions added by fluxbox-update_configs
OnTitlebar Double Mouse1 :Shade
OnTitlebar Mouse3 :WindowMenu

# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
##OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}

OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkSpaceMenu
OnDesktop Mouse3 :RootMenu
OnDesktop Mouse4 :NextWorkspace
OnDesktop Mouse5 :PrevWorkspace

#OnWindow Double mouse1 :HideMenus

Mod1 Tab :NextWindow
Mod1 Shift Tab :PrevWindow

Mod4 1 :Workspace 1
Mod4 2 :Workspace 2

Mod4 r :Restart #restart fluxbox
Mod4 m :RootMenu #shows menu
mod4 f :Exec thunar #opens thunar
mod4 t :Exec xfce4-terminal #opens terminal
mod4 space :HideMenus
mod4 b :Exec fbsetbg -c -r ~/pictures/wallpapers

##### xcompmgr #####
Mod1 v :Exec killall xcompmgr
Mod1 c :Exec xcompmgr -c
## Mod1 c :Exec xcompmgr -fF -I-.004 -O-.004 -D2 -cC -t-4 -l-6 -r6

##### Used to turn conky and root window wallpaper on/off#####
mod4 x :Exec ~/toggledecor.sh

##### xdesktopwaves interesting but resource hog as of 12-1-07#####
#mod4 o :Exec xdesktopwaves -c 5 -vs 5 -li 9 -nwm -si 4 -lal 50 -laz 0 -fr 75 -sf 2
#mod4 o :Exec xdesktopwaves -e

##### xsnow. I like this one:) #####
Mod1 k :Exec killall xsnow
Mod1 s :Exec xsnow -snowflakes 250 -windtimer 20 -sc darkcyan -whirl 1 -xspeed 4 -yspeed 7 -wsnowdepth 25
Mod1 f :Exec xsnow -snowflakes 25 -windtimer 20 -nosanta -notrees -nokeepsnowonscreen -sc darkred -whirl 1 -xspeed 4 -yspeed 7 -wsnowdepth 25

##### Snapshots #####
##Mod4 Print :ExecCommand import -window root ~/screencap.`date+%Y%m%d%H%M%S`.png
##Mod1 Print :ExecCommand import ~/screencap.`date +%Y%m%d%H%M%S`.png-

#####controls for arecord#####
#Mod4 h :Exec konsole arecord -f cd -D plughw:1,0 test.wav
#Mod4 p :aplay -f cd test.wav

 

enjoy;)

 

Please comment if you are using this  ‘how -to’.  All suggestions and comments welcome.