[LAU] Fluxbox configuration (keys)

From: rosea.grammostola <rosea.grammostola@email-addr-hidden>
Date: Wed Dec 08 2010 - 22:47:15 EET

Hi,

You probably know that Fluxbox is pretty good for working with audio.
Light and extremely configurable. Inspired by the Xmonad default
settings for key binding
http://haskell.org/haskellwiki/Image:Xmbindings.png, here is a 'keys'
file which may help you to set up your Fluxbox configuration. And maybe
you are able to give some suggestions and tips to make the file better
or to help improve the workflow. It's not about the exact keybindings
but more about the 'concepts' in it.

Regards,

\r

# click on the desktop to get menus
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu

# scroll on the desktop to change workspaces
OnDesktop Mouse4 :PrevWorkspace
OnDesktop Mouse5 :NextWorkspace

# scroll on the toolbar to change workspaces
OnToolbar Mouse4 :PrevWorkspace
OnToolbar Mouse5 :NextWorkspace

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

# middle click a window's titlebar and drag to attach windows
OnTitlebar Mouse2 :StartTabbing

# double click on the titlebar to shade
OnTitlebar Double Mouse1 :Shade

# right click on the titlebar for a menu of options
OnTitlebar Mouse3 :WindowMenu

# alt-tab
Mod1 Tab :NextWindow {groups}
Mod1 Shift Tab :PrevWindow {groups}

# cycle through tabs in the current window
Mod4 Tab :NextTab
Mod4 Shift Tab :PrevTab

# go to a specific tab in the current window
Mod4 F1 :Tab 1
Mod4 F2 :Tab 2
Mod4 F3 :Tab 3
Mod4 F4 :Tab 4
Mod4 F5 :Tab 5
Mod4 F6 :Tab 6
Mod4 F7 :Tab 7
Mod4 F8 :Tab 8
Mod4 F9 :Tab 9

# open a terminal
Mod4 Shift x :ExecCommand xterm +sm
Mod4 Shift t :Exec konsole

# open a dialog to run programs
Mod1 F2 :Exec fbrun

# volume settings, using common keycodes
# if these don't work, use xev to find out your real keycodes
176 :Exec amixer sset Master,0 1+
174 :Exec amixer sset Master,0 1-
160 :Exec amixer sset Master,0 toggle

# current window commands
Mod4 Shift c :Close
Mod4 Shift z :KillWindow
Mod4 Shift a :CloseAllWindows

#move windows
Mod4 Shift j :MoveLeft 10
Mod4 Shift l :MoveRight 10
Mod4 Shift m :MoveDown 10
Mod4 Shift i :MoveUp 10

Mod4 F9 :Minimize
#Mod1 F10 :Maximize
Mod4 space :Maximize
Mod4 F11 :Fullscreen

# open the window menu
Mod1 space :WindowMenu

# exit fluxbox
Mod4 Shift q :Exit
Mod4 Shift r :Reconfigure
Mod4 Shift s :Restart
#Control Mod1 Delete :Exit

Mod4 Shift Delete :Exec xterm -e sudo shutdown -h now
Mod4 Shift Escape :Exec xterm -e sudo reboot

#showdesktop

Mod4 Shift d :ShowDesktop

#cpuscaling on performance
Mod4 Shift p :Exec xterm -e sudo cpufreq-set -g performance
Mod4 Shift o :Exec xterm -e sudo cpufreq-set -g ondemand
Mod4 Shift y :Exec xterm -e sudo cpufreq-set -g conservative

#hal polling
Mod4 Shift h :Exec xterm -e sudo hal-disable-polling --device /dev/scd0
Mod4 Shift e :Exec xterm -e sudo hal-disable-polling --enable-polling
--device /dev/scd

#Suggestion: Disable the unused bluetooth interface with the following
command:
#Mod4 Shift b :Exec xterm -e sudo hciconfig hci0 down
#Bluetooth is a radio and consumes quite some power, and keeps USB busy
as well.

# change to a specific workspace
Mod4 1 :Workspace 1
Mod4 2 :Workspace 2
Mod4 3 :Workspace 3
Mod4 4 :Workspace 4
Mod4 5 :Workspace 5
Mod4 6 :Workspace 6
Mod4 7 :Workspace 7
Mod4 8 :Workspace 8
Mod4 9 :Workspace 9
Mod4 10 :Workspace 10
Mod4 11 :Workspace 11
Mod4 12 :Workspace 12

# send the current window to a specific workspace
Mod4 Shift 1 :SendToWorkspace 1
Mod4 Shift 2 :SendToWorkspace 2
Mod4 Shift 3 :SendToWorkspace 3
Mod4 Shift 4 :SendToWorkspace 4
Mod4 Shift 5 :SendToWorkspace 5
Mod4 Shift 6 :SendToWorkspace 6
Mod4 Shift 7 :SendToWorkspace 7
Mod4 Shift 8 :SendToWorkspace 8
Mod4 Shift 9 :SendToWorkspace 9
Mod4 Shift 10 :SendToWorkspace 10
Mod4 Shift 11 :SendToWorkspace 11
Mod4 Shift 12 :SendToWorkspace 12

# send the current window and change to a specific workspace
#Control Mod4 F1 :TakeToWorkspace 1
#Control Mod4 F2 :TakeToWorkspace 2
#Control Mod4 F3 :TakeToWorkspace 3
#Control Mod4 F4 :TakeToWorkspace 4
#Control Mod4 F5 :TakeToWorkspace 5
#Control Mod4 F6 :TakeToWorkspace 6
#Control Mod4 F7 :TakeToWorkspace 7
#Control Mod4 F8 :TakeToWorkspace 8
#Control Mod4 F9 :TakeToWorkspace 9
#Control Mod4 F10 :TakeToWorkspace 10
#Control Mod4 F11 :TakeToWorkspace 11
#Control Mod4 F12 :TakeToWorkspace 12

Control Mod4 1 :TakeToWorkspace 1
Control Mod4 2 :TakeToWorkspace 2
Control Mod4 3 :TakeToWorkspace 3
Control Mod4 4 :TakeToWorkspace 4
Control Mod4 5 :TakeToWorkspace 5
Control Mod4 6 :TakeToWorkspace 6
Control Mod4 7 :TakeToWorkspace 7
Control Mod4 8 :TakeToWorkspace 8
Control Mod4 9 :TakeToWorkspace 9
Control Mod4 10 :TakeToWorkspace 10
Control Mod4 11 :TakeToWorkspace 11
Control Mod4 12 :TakeToWorkspace 12

#start system applications
#Mod4 p :Exec 0dmenu
Mod4 p :ExecCommand `dmenu_path | dmenu` && eval “exec $exe”

Mod1 t :Exec thunar
#Mod1 s :Exec konsole

#start audio apps

Mod4 q :Exec qjackctl
Mod4 a :Exec ardour2
Mod4 h :Exec hydrogen
Mod4 c :Exec patchage
#Mod4 m :Exec 0a2jmidid
Mod4 m :ExecCommand a2jmidid -e
#Mod4 u :Exec thun
#start desktop apps
Mod4 k :Exec konversation
Mod4 t :Exec icedove
Mod4 f :ExecCommand java -jar ~/Fantasia-0.9.jar
Mod4 i :Exec iceweasel
Mod4 w :Exec kwrite
Mod4 d :Exec dolphin
Mod4 n :Exec wicd-client
Mod4 l :Exec xterm +sm -hold -e linuxsampler
#kill
Mod4 Shift u :ExecCommand killall jackd

#open terminal + commands
Mod4 Shift w :Exec xterm -hold -e wmctrl -l &

Mod4 Mod1 j :Exec xterm +sm -hold -e jackd -d firewire
Mod4 Mod1 k :Exec xterm +sm -hold -e jackd -d firewire -p 128
Mod4 Mod1 l :Exec xterm +sm -hold -e jackd -d firewire -p 64

#kill
Mod4 Control k :ExecCommand killall jackd

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Dec 9 00:15:04 2010

This archive was generated by hypermail 2.1.8 : Thu Dec 09 2010 - 00:15:04 EET