reserved keyboard shortcuts

after an update from darcs, i see alt-LeftArrow and alt-RightArrow are no longer used as shortcuts, which is nice because they are used in firefox. alt-b is still in the default, which is used to access the firefox bookmarks menu. i personally maintain a private Config.hs to deal with this, not sure if it is something worth addressing

On Wed, May 30, 2007 at 09:14:35AM -0700, brad clawsie wrote:
after an update from darcs, i see alt-LeftArrow and alt-RightArrow are no longer used as shortcuts, which is nice because they are used in firefox. alt-b is still in the default, which is used to access the firefox bookmarks menu.
i personally maintain a private Config.hs to deal with this, not sure if it is something worth addressing
One way to handle these types of problems is to use the "windows key" on most keyboards as the modifier instead of alt. This neatly avoids almost all keybinding conflicts. Jason Creighton

clawsie:
after an update from darcs, i see alt-LeftArrow and alt-RightArrow are no longer used as shortcuts, which is nice because they are used in firefox. alt-b is still in the default, which is used to access the firefox bookmarks menu.
i personally maintain a private Config.hs to deal with this, not sure if it is something worth addressing _______________________________________________
Hmm. mod-b also used by dwm for this. Not sure if it will change soon. Rebinding mod might be a more general option? -- Don

brad clawsie
after an update from darcs, i see alt-LeftArrow and alt-RightArrow are no longer used as shortcuts, which is nice because they are used in firefox. alt-b is still in the default, which is used to access the firefox bookmarks menu.
i personally maintain a private Config.hs to deal with this, not sure if it is something worth addressing
Is it possible to allow defining keys combination as the modifier? I used to be a wmii user, on which I define Ctrl-t as the modifier a la Ratpoison and Emacs. Thanks

On 6/4/07, Zheng Li
Is it possible to allow defining keys combination as the modifier? I used to be a wmii user, on which I define Ctrl-t as the modifier a la Ratpoison and Emacs.
This isn't currently possible, although it wouldn't be too hard to write (the tricky part is running through all the windows and updating which keys are grabbed each time the current keymap is changed). Alternatively, you can look at the XMonadContrib.Commands module, which lets you run xmonad actions from a dmenu prompt; I currently only have one keybinding and run all actions through Commands. (You can be less extreme and only remove some of your keybindings of course.) --dave -- David Glasser | glasser@mit.edu | http://www.davidglasser.net/

On Mon, Jun 04, 2007 at 08:10:32AM -0400, David Glasser wrote:
On 6/4/07, Zheng Li
wrote: Is it possible to allow defining keys combination as the modifier? I used to be a wmii user, on which I define Ctrl-t as the modifier a la Ratpoison and Emacs.
This isn't currently possible, although it wouldn't be too hard to write (the tricky part is running through all the windows and updating which keys are grabbed each time the current keymap is changed).
Actually, it's easier than that: I wrote a proof of concept that allows creating submaps. See XMonadContrib.Submap. It may or may not be actually useful, I just wanted to play with it and see if XGrabKeyboard() and XUngrabKeyboard() work the way I thought they did. (And basically, they do) Jason Creighton
participants (5)
-
brad clawsie
-
David Glasser
-
dons@cse.unsw.edu.au
-
Jason Creighton
-
Zheng Li