How can I set modMask to ctrl+alt?

My favorite keyboards lack a windows key; caps is uncomfortable, and ctrl and alt both have too many conflicts to use individually, so I want to set modMask to ctrl+alt. Thanks, Ed

Excerpts from Ed McCaffrey's message of Fri Feb 13 14:05:00 -0700 2009:
My favorite keyboards lack a windows key; caps is uncomfortable, and ctrl and alt both have too many conflicts to use individually, so I want to set modMask to ctrl+alt.
modMask = controlMask .|. mod1Mask -- should do the trick -- wmw

* Ed McCaffrey
My favorite keyboards lack a windows key; caps is uncomfortable, and ctrl and alt both have too many conflicts to use individually, so I want to set modMask to ctrl+alt.
Something like controlMask .|. mod1Mask. -- Roman I. Cheplyaka (aka Feuerbach @ IRC) http://ro-che.info/docs/xmonad.hs

On 2009 Feb 13, at 16:05, Ed McCaffrey wrote:
My favorite keyboards lack a windows key; caps is uncomfortable, and ctrl and alt both have too many conflicts to use individually, so I want to set modMask to ctrl+alt.
You can do this, but it will interfere with some contrib keybindings (ssh uses Ctrl-Alt-s, Execute uses Ctrl-Alt-x, IIRC). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

2009/2/13 Ed McCaffrey
My favorite keyboards lack a windows key; caps is uncomfortable, and ctrl and alt both have too many conflicts to use individually
I guess you have a ThinkPad? Then you can alternatively use the right ctrl key as Xmonad key: xmonad $ defaultConfig { -- ... -- Use Right-Control as modifier key. modMask = mod3Mask } I have attached my ~/.xmodmap . HTH, -- Jens Peter Secher. _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_. A. Because it breaks the logical sequence of discussion. Q. Why is top posting bad?
participants (5)
-
Brandon S. Allbery KF8NH
-
Ed McCaffrey
-
Jens Peter Secher
-
Roman Cheplyaka
-
Wirt Wolff