!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! file : $HOME/.fluxbox/keys ! about : fluxbox key bindings ! author : mathias gumz ! ( ak|ra or akira ) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! hints: ! ! o syntax of the fluxbox-keys-file: ! ! [ ] key [key key] :command ! ! so, what is a ? its called "modifier" and you can use ! 'xmodmap -pm' to see, what modifiers are available. if you ! dont want to press any "modifier" then use 'None' ! ! o what are those $XTERM, $EDITOR entries? ! ! if you set a variable like XTERM to a sane value like ! "xterm" before fluxbox comes up, fluxbox would use that ! variable in the :ExecCommand. one can use the :Export or ! :Setenv command to change that variable on the fly... eg to ! "urxvt" or "aterm". ! ! o you can find a valid syntaxfile for vim here: ! ! http://www.vim.org/scripts/script.php?script_id=882 ! http://darkshed.net/files/vim/syntax/fluxkeys.vim ! ! if you like it, rate it. (if not too :)) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Control Mod4 Delete :Reconfigure Control Mod4 Shift Delete :Restart !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! menus ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! None Menu :RootMenu Control Menu :WorkspaceMenu Control Mod4 Menu :WindowMenu !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! frame - handling ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Mod4 Left :PrevTab Mod4 Right :NextTab Shift Mod4 d :DetachClient Shift Mod4 Left :MoveTabLeft Shift Mod4 Right :MoveTabRight !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! window - handling ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Mod4 s :Stick Mod4 q :Minimize Shift Mod4 q :Deiconify LastWorkspace Control Shift Mod4 q :Deiconify Last OriginQuiet Control Shift Mod1 Mod4 q :Deiconify All OriginQuiet Mod1 Control q :Close Mod4 d :ToggleDecor Mod4 f :Shade Mod1 Up :RaiseLayer Mod1 Down :LowerLayer Control Mod4 1 :SetHead 1 Control Mod4 2 :SetHead 2 ! 1 - cycle groups ! 2 - skip stuck ! 4 - skip shaded ! 8 - cycle linear ! 0 - cycle default Mod1 Tab :NextWindow 1 Mod1 Shift Tab :PrevWindow 1 Shift Mod1 Mod4 Up :FocusUp Shift Mod1 Mod4 Down :FocusDown Shift Mod1 Mod4 Left :FocusLeft Shift Mod1 Mod4 Right :FocusRight !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! accessibility + mousehandling ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Control Mod1 a :ExecCommand accessx Control Mod1 Mod4 m :ExecCommand ax +mousekeys Control Mod1 m :ExecCommand ax -mousekeys Control Mod4 KP_Home :ExecCommand xwit -rwarp -50 -50 Control Mod4 KP_Up :ExecCommand xwit -rwarp 0 -50 Control Mod4 KP_Prior :ExecCommand xwit -rwarp 50 -50 Control Mod4 KP_Left :ExecCommand xwit -rwarp -50 0 Control Mod4 KP_Right :ExecCommand xwit -rwarp 50 0 Control Mod4 KP_End :ExecCommand xwit -rwarp -50 50 Control Mod4 KP_Down :ExecCommand xwit -rwarp 0 50 Control Mod4 KP_Next :ExecCommand xwit -rwarp 50 50 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! workspace - handling ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !Control Mod4 Right :RightWorkspace !Control Mod4 Left :LeftWorkspace Control Mod4 Right :NextWorkspace Control Mod4 Left :PrevWorkspace Control Mod4 Down :RightWorkspace 3 Control Mod4 Up :LeftWorkspace 3 Mod4 KP_Home :Workspace 1 Mod4 KP_Up :Workspace 2 Mod4 KP_Prior :Workspace 3 Mod4 KP_Left :Workspace 4 Mod4 KP_Begin :Workspace 5 Mod4 KP_Right :Workspace 6 Mod4 KP_End :Workspace 7 Mod4 KP_Down :Workspace 8 Mod4 KP_Next :Workspace 9 Mod4 KP_0 :ExecCommand fbcmd_osd.sh print ws_name !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! resize / movement of window ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Control Mod1 Right :MoveRight 10 Control Mod1 Left :MoveLeft 10 Control Mod1 Up :MoveUp 10 Control Mod1 Down :MoveDown 10 Control Mod1 KP_Home :Move -50 -50 Control Mod1 KP_Up :Move 0 -50 Control Mod1 KP_Prior :Move 50 -50 Control Mod1 KP_Left :Move -50 0 Control Mod1 KP_Right :Move 50 0 Control Mod1 KP_End :Move -50 50 Control Mod1 KP_Down :Move 0 50 Control Mod1 KP_Next :Move 50 50 Mod4 Mod1 KP_Home :Resize -10 -10 Mod4 Mod1 KP_Up :Resize 0 -10 Mod4 Mod1 KP_Prior :Resize 10 -10 Mod4 Mod1 KP_Left :Resize -10 0 Mod4 Mod1 KP_Right :Resize 10 0 Mod4 Mod1 KP_End :Resize -10 10 Mod4 Mod1 KP_Down :Resize 0 10 Mod4 Mod1 KP_Next :Resize 10 10 Mod4 Mod1 Left :Resize -1 0 Mod4 Mod1 Right :Resize 1 0 Mod4 Mod1 Up :Resize 0 -1 Mod4 Mod1 Down :Resize 0 1 Shift Mod1 Left :MoveTo 0 * Left Shift Mod1 Right :MoveTo 0 * Right Shift Mod1 Up :MoveTo * 0 Upper Shift Mod1 Down :MoveTo * 0 Lower Shift Mod1 KP_Home :MoveTo 0 0 UpperLeft Shift Mod1 KP_Up :MoveTo * 0 Upper Shift Mod1 KP_Prior :MoveTo 0 0 UpperRight Shift Mod1 KP_Left :MoveTo 0 * Left Shift Mod1 KP_Right :MoveTo 0 * Right Shift Mod1 KP_End :MoveTo 0 0 LowerLeft Shift Mod1 KP_Down :MoveTo * 0 Lower Shift Mod1 KP_Next :MoveTo 0 0 LowerRight Mod1 Return :MaximizeWindow Shift Mod4 s :MaximizeVertical Control Mod1 s :MaximizeHorizontal Control Mod4 f :Fullscreen Control Mod4 p :TakeToNextWorkspace 1 Control Mod4 o :TakeToPrevWorkspace 1 Control Mod1 p :SendToNextWorkspace 1 Control Mod1 o :SendToPrevWorkspace 1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! execute commands ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Control Mod4 KP_Enter :ExecCommand xcalc Control Mod4 a :ExecCommand $XTERM Control Mod1 1 :ExecCommand urxvt-rc Control Mod4 c :ExecCommand $XCALC Control Mod4 d :ExecCommand date | osd_cat -c white -f -*-lucida-medium-r-*-*-20-*-*-*-*-*-*-* -o 20 -p top -A center Control Mod4 e :ExecCommand licqsh -o Control Mod4 l :ExecCommand alock -bg blank -auth sha1:hash=8843d7f92416211de9ebb963ff4ce28125932878 Control Mod4 m :ExecCommand quax Control Mod4 q :ExecCommand $BROWSER Control Mod4 x :ExecCommand fbrun -nearmouse -font Matto -w 500 -h 50 Control Shift b :ExecCommand fbrun -nearmouse -font Matto -title "enter url..." -text "$BROWSER http://www." -w 500 -h 50 -hf ~/.fluxbox/browse_history !Mod4 colon :CommandDialog Control Mod4 y :ExecCommand $XTERM -name mutt -title "mutt : mails" -e mutt Control Mod4 s :ExecCommand $XTERM -name abook -T "addresses" -e abook Control Shift Mod4 c :ExecCommand xcalendar Control Shift Mod4 e :ExecCommand env | sort | xmessage -file - Mod4 Mod1 d :ExecCommand ding Mod4 c :ExecCommand xclipboard Mod4 g :ExecCommand gentoo Mod4 e :ExecCommand $EDITOR Mod4 n :ExecCommand $EDITOR $HOME/.notes Mod4 t :ExecCommand $EDITOR $HOME/.todo/ Mod4 x :ExecCommand xmag Mod1 Mod4 x :ExecCommand wmagnify ! ! soundkungfoo - volume control ! ! sound stuff, basicly control the volume via amixer (alsa) Mod4 m :ExecCommand amixer -a sset Master,0 toggle 2&>1 > /dev/null Mod4 Shift a :ExecCommand aprofile_ctl.sh -m set_volume 5%+ Mod4 Shift y :ExecCommand aprofile_ctl.sh -m set_volume 5%- Control Shift Mod4 a :ExecCommand $XTERM -name alsamixer -e alsamixer Control Shift Mod1 Mod4 a :ExecCommand alsamixergui ! switch between normal / headphone settings Control Mod4 n :ExecCommand aprofile_ctl.sh -m switch -p normal Control Mod4 h :ExecCommand aprofile_ctl.sh -m switch -p headphones ! ! skip bad songs quickly :) Mod4 Tab :ExecCommand MPD_HOST=localhost MPD_PORT=6600 mpc next &> /dev/null Control Mod4 Tab :ExecCommand MPD_HOST=localhost MPD_PORT=6600 mpc prev &> /dev/null Mod4 1 :ExecCommand MPD_HOST=localhost MPD_PORT=6600 mpc toggle &> /dev/null Mod1 Shift a :ExecCommand MPD_HOST=localhost MPD_PORT=6600 mpc volume +10 &> /dev/null Mod1 Shift y :ExecCommand MPD_HOST=localhost MPD_PORT=6600 mpc volume -10 &> /dev/null ! screenshots ! xmodmap -pke | grep -i print => xmodmap -e "keycode 111 = F13" ! => i press "Print" and it dumps the screen :) None F13 :ExecCommand sleep 1 && scrot -s -q 75 'shot-%Y-%m-%d-%H%M%S-$w-$h.jpg' ! ! dvd / cdcontrol stuff ! Mod4 plus :ExecCommand cdctrl speed 32 /dev/dvd Mod4 minus :ExecCommand cdctrl speed 4 /dev/dvd Control Mod4 plus :ExecCommand cdctrl close /dev/dvd Control Mod4 minus :ExecCommand cdctrl open /dev/dvd Shift Mod4 plus :ExecCommand cdctrl speed 32 /dev/cdrom Shift Mod4 minus :ExecCommand cdctrl speed 4 /dev/cdrom Control Shift Mod4 plus :ExecCommand cdctrl close /dev/cdrom Control Shift Mod4 minus :ExecCommand cdctrl open /dev/cdrom !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! below this line only experimental stuff is listed. its not supposed to WORK ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !Shift Mod4 p :FocusTo (xterm) !Shift Mod4 o :DumpTheme !Mod4 p m :Place max_space allow_smaller !Mod4 p v :Place expand_vertical allow_smaller !Mod4 p V :Place max_vertical_space allow_smaller !Mod4 p h :Place expand_horizontal allow_smaller !Mod4 p H :Place max_horizontal_space allow_smaller !Mod4 p g :Place draw_grid Control Mod4 colon :FocusCommandTool Mod1 x p :ExecCommand urxvt -tint red ! attention: the next command is just to show that syntax-hl in vim works Control Mod1 Mod4 x :MacroCmd {Exec xterm} {Move 10 10} {Exec bla} {Move 10 10} !Mod1 t v :TileVertical 3 !Mod1 t s :TileHorizontal 3 Mod1 t w :ArrangeWindows Mod4 Mod1 p :CycleDecor ! vim:ft=fluxkeys