Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 12-14-2005, 11:04 PM   #1
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
the holy grail of all ~/.fluxbox/keys

hey everyone,

I use fluxbox, and as a service to the community I have randomly decided to post my version the file mentioned in the title.

I didn't come up with the entire file, it is an accumulation of neat things that my friends and I had in our keybindings. One day while talking about fluxbox (geeky, i know) we came up with the idea to combine our files into a "holy grail" of keybindings files, and here is what we came up with.


feel free to add improvements or additions

# File generated by a bunch of fluxbox lovers XD
# fyi: Mod1 == Alt

### the most important 2 lines: ###

Control Shift R :ExecCommand fbrun -h 20  # run dialog, beats the hell out of menus :)
Control Shift Return :ExecCommand x-terminal-emulator


Control Shift F12 :ExecCommand sudo hibernate
Control Mod1 Delete :ExecCommand xscreensaver-command -lock #lock screen
Mod1 Tab :NextWindow
Control Shift Q :Close              # close current window
Control Shift E :ExecCommand eject  
Control Shift P :ExecCommand import -window root `date +screenshot-%Y.%m.%d--%H.%m.%S.png` #save screenshot in home dir
Control Shift A :MaximizeWindow
Control Shift S :ShadeWindow
Control Shift D :MaximizeVertical
#Control Shift M :ExecCommand 3ddesk  # some of my friends use 3ddesk
Control Shift X :ExecCommand xkill
Control Shift C :MaximizeHorizontal
Control Shift Left :PrevWorkspace
Control Shift Right :NextWorkspace
Control Escape :RootMenu

# move windows around with the keyboard !! 
Control Shift k :MoveUp 16
Control Shift j :MoveDown 16
Control Shift l :MoveRight 16
Control Shift h :MoveLeft 16

# resize windows with keyboard
Control Mod1 k :Resize 0 -10
Control Mod1 j :Resize 0 10
Control Mod1 l :Resize 10 0
Control Mod1 h :Resize -10 0

# resize by 1 pixel (or one column/row in terminal)
Control Mod1 Shift k :Resize 0 -1
Control Mod1 Shift j :Resize 0 1
Control Mod1 Shift l :Resize 1 0
Control Mod1 Shift h :Resize -1 0

#xmms controls by brandon

Control Mod1 Right :ExecCommand xmms-shell -e next
Control Mod1 Left :ExecCommand xmms-shell -e previous

Control Mod1 Up :ExecCommand xmms-shell -e "+ 10"
Control Mod1 Down :ExecCommand xmms-shell -e "- 10"

Control Mod1 p :ExecCommand xmms-shell -e pause
Old 12-14-2005, 11:57 PM   #2
Registered: Dec 2005
Location: london, uk
Distribution: BLAG GNU/Linux
Posts: 58

Rep: Reputation: 15
Mine's prety basic in comparison:-

# the basic workspaces
Mod1 F1 :Workspace 1
Mod1 F2 :Workspace 2
Mod1 F3 :Workspace 3
Mod1 F4 :Workspace 4
Mod1 F5 :Workspace 5
Mod1 F6 :Workspace 6
Mod1 F7 :Workspace 7
Mod1 F8 :Workspace 8
Mod1 F9 :Workspace 9
Mod1 F10 :Workspace 10
Mod1 F11 :Workspace 11
Mod1 F12 :Workspace 12
Mod1 Tab :NextWindow

### these are the apps that I use the most
Shift Mod1 a :Exec aterm -tr +sb -fg white

# run any command from here. No need to grab the mouse or look through a menu
Shift Mod1 b :Exec fbrun

Shift Mod1 d :Exec dillo
Shift Mod1 i :Exec xterm -rv -fg "yellow" -e irssi
Shift Mod1 f :Exec firefox
Shift Mod1 k :KillWindow
Shift Mod1 m :MaximizeWindow

### I don't use nautilus much but it I did I'd have
Shift Mod1 n :Exec nautilus --no-desktop

Shift Mod1 o :Exec xterm -bg "orange"
Shift Mod1 r :Exec xterm -rv -fg "red"
Shift Mod1 s :ShadeWindow
Shift Mod1 y :Exec sylpheed-claws
Shift Mod1 Left :PrevWorkspace
Shift Mod1 Right :NextWorkspace
Shift Mod1 Up :LeftWorkspace 5
Shift Mod1 Down :RightWorkspace 5
Shift Mod1 space :Exec xterm -rv -fg "green"
Mod1 Escape :RootMenu

### launch four terminals
Shift Mod1 1 :Exec xterm -rv -fg "red3" -geometry +0+0 & xterm -rv -fg "red3"
-geometry +0+346 & xterm -rv -fg "red3" -geometry +487+346 & xterm -rv -fg "r
ed3" -geometry +487+0 &

Last edited by jayeola; 12-15-2005 at 12:01 AM.
Old 12-17-2005, 02:50 PM   #3
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
I have the default.. I used to have one keymap, Control X which would bring up an xterm, but then that messed up when I was commiting something using CVS and I had to do control x to exit the editor for the log...
Old 12-17-2005, 04:32 PM   #4
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Moved to Success Stories. It's technical and worth of having in the search results. Success Stories seems to be a better place for this than General, where it would be lost.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox keys chrismiceli Linux - Software 2 08-09-2005 05:10 PM
I've found my grail of C++ dev setup (for me) on linux. (why it took me so lo long??) Hano Linux - General 0 12-09-2004 07:05 AM
Fluxbox keys stefannenzen Linux - Software 0 08-24-2004 12:25 PM
fluxbox key bindings without meta keys brassfish Linux - General 2 05-04-2004 12:32 AM
Holy COW! tcaptain General 15 03-06-2003 03:42 PM

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration