Re: [dwm] bloq may used to ignore keybindings
Antoni Grzymala <[EMAIL PROTECTED]> wrote: > Martin Sander dixit (2008-04-24, 01:27): > > Which, in my case, is mapped to the control-key so you're probably an emacs user ;-9 vi friends would map escape to caps lock instead ... however, you'll increase your working speed (if you dont work on foreign computers too often) tutorial for X (uses `xmodmap' which is in package xbase-clients on Debian systems) in the .xinitrc: /usr/bin/xmodmap $HOME/.xmodmaprc in .xmodmaprc ! have CAPS_LOCK as second ESC remove Lock = Caps_Lock keysym Caps_Lock = Escape meillo signature.asc Description: Digital signature
Re: [dwm] bloq may used to ignore keybindings
Martin Sander dixit (2008-04-24, 01:27): > I like pancake's idea (but I don't have a clue what bloq.mayus is). Caps lock. Which, in my case, is mapped to the control-key, as caps-lock is a key I used probably about three times in my life, everytime by accident. Always made me wonder, why such an utterly useless key has been given such a prominent place on modern PC keyboards. Seems someone anticipated its use in dwm. > Not when you have a vintage IBM Model M Keyboard. No Mod4 in sight, > still one of the best keyboards around. Just had an idea: make caps lock your control key the old-skool-way, and your ex-control key your mod4. There. A solution. Everyone's happy. Best, -- [a] signature.asc Description: Digital signature
Re: [dwm] bloq may used to ignore keybindings
On Thu, Apr 24, 2008 at 01:27:36AM +0200, Martin Sander wrote: > On Wed, Apr 23, 2008 at 03:25:55PM +0200, Antoni Grzymala wrote: > > Premysl Hruby dixit (2008-04-23, 14:27): > > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. > > Agreed, mod4 is far more comfortable. > > Not when you have a vintage IBM Model M Keyboard. No Mod4 in sight, > still one of the best keyboards around. > I like pancake's idea (but I don't have a clue what bloq.mayus is). > > > Martin Or, if you have a ThinkPad X40, also no stupid windows key. -- James Turner BSD Group Consulting http://www.bsdgroup.org
Re: [dwm] bloq may used to ignore keybindings
On Wed, Apr 23, 2008 at 03:25:55PM +0200, Antoni Grzymala wrote: > Premysl Hruby dixit (2008-04-23, 14:27): > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. > Agreed, mod4 is far more comfortable. Not when you have a vintage IBM Model M Keyboard. No Mod4 in sight, still one of the best keyboards around. I like pancake's idea (but I don't have a clue what bloq.mayus is). Martin
Re: [dwm] bloq may used to ignore keybindings
Enno Gottox Boland dixit (2008-04-23, 16:27): > think of alt+tab. btw. There's a switch to prevent rdesktop from grabbing > keys: > >-K Do not override window manager key bindings. By default > rdesktop attempts to grab all keyboard input when it is in > focus. I know the -K flag. I use it and it doesn't fix the issue I'm having. When I switch to the tag with rdesktop it "sees" that win-key is still pressed and accordingly remote windows opens up the start menu. I don't know much about X11 programming, but isn't there an option to make a keypress "private" once the keypress is "used up" by dwm? As to "alt-tab", or whatever alternative people are using, I still don't see any use in feeding this shortcut to an application after having been used by dwm for whatever purpose. Best, -- [a] signature.asc Description: Digital signature
Re: [dwm] bloq may used to ignore keybindings
think of alt+tab. btw. There's a switch to prevent rdesktop from grabbing keys: -K Do not override window manager key bindings. By default rdesktop attempts to grab all keyboard input when it is in focus. 2008/4/23, Antoni Grzymala <[EMAIL PROTECTED]>: > Enno Gottox Boland dixit (2008-04-23, 15:35): > > > > > Which brings another question to mind on a related topic: > > > > > > Is it possible to prevent applications to receive dwm-specific > > > keystrokes upon focusing them? My particular problem is that I often > > > work on remote Windows machines via rdesktop and when I switch my view > > > to the tag with the rdesktop client, the client (and subsequently the > > > windows machine) receives the already-pressed win-key event (I use mod4 > > > to switch tags) and opens up the windows "start menu" which is very > > > annoying. > > > > > > So it it possible to prevent passing pressed dwm-function keys to > > > applications? > > > > This is one of these bug-features. It should be fixed in rdesktop. not > > in dwm. > > > What do you mean by „this is a feature"? I can't imagine a single > situation where I'd like my dwm-specific keystrokes to be received by > apps. The whole point of wm shortcuts is application non-interference. > > Best, > > -- > > [a] > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.9 (GNU/Linux) > > iEYEARECAAYFAkgPPZ0ACgkQL69KEesxVYN8kwCghBIDVqvKCRYvmtalShdEFvfE > GrcAn2G7EJk6oWysGY8r1k1a7/yG5oeS > =Y2Lx > -END PGP SIGNATURE- > > > -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Re: [dwm] bloq may used to ignore keybindings
Enno Gottox Boland dixit (2008-04-23, 15:35): > > Which brings another question to mind on a related topic: > > > > Is it possible to prevent applications to receive dwm-specific > > keystrokes upon focusing them? My particular problem is that I often > > work on remote Windows machines via rdesktop and when I switch my view > > to the tag with the rdesktop client, the client (and subsequently the > > windows machine) receives the already-pressed win-key event (I use mod4 > > to switch tags) and opens up the windows "start menu" which is very > > annoying. > > > > So it it possible to prevent passing pressed dwm-function keys to > > applications? > This is one of these bug-features. It should be fixed in rdesktop. not > in dwm. What do you mean by „this is a feature”? I can't imagine a single situation where I'd like my dwm-specific keystrokes to be received by apps. The whole point of wm shortcuts is application non-interference. Best, -- [a] signature.asc Description: Digital signature
Re: [dwm] bloq may used to ignore keybindings
This is one of these bug-features. It should be fixed in rdesktop. not in dwm. 2008/4/23, Antoni Grzymala <[EMAIL PROTECTED]>: > Premysl Hruby dixit (2008-04-23, 14:27): > > > > > Maybe we can also let configurable this bloq. key in config.h and > > > use any other locked key for this. > > > > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. > > > Agreed, mod4 is far more comfortable. > > Which brings another question to mind on a related topic: > > Is it possible to prevent applications to receive dwm-specific > keystrokes upon focusing them? My particular problem is that I often > work on remote Windows machines via rdesktop and when I switch my view > to the tag with the rdesktop client, the client (and subsequently the > windows machine) receives the already-pressed win-key event (I use mod4 > to switch tags) and opens up the windows "start menu" which is very > annoying. > > So it it possible to prevent passing pressed dwm-function keys to > applications? > > Regards, > > -- > > [a] > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.9 (GNU/Linux) > > iEYEARECAAYFAkgPOOMACgkQL69KEesxVYNm4gCfc8sV/DoWAOfGbYHharDCqWUV > wEkAoJ5sv7Z9+N0bxin3RD9D3Qjt3245 > =mMU/ > -END PGP SIGNATURE- > > > -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Re: [dwm] bloq may used to ignore keybindings
Premysl Hruby dixit (2008-04-23, 14:27): > > Maybe we can also let configurable this bloq. key in config.h and > > use any other locked key for this. > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. Agreed, mod4 is far more comfortable. Which brings another question to mind on a related topic: Is it possible to prevent applications to receive dwm-specific keystrokes upon focusing them? My particular problem is that I often work on remote Windows machines via rdesktop and when I switch my view to the tag with the rdesktop client, the client (and subsequently the windows machine) receives the already-pressed win-key event (I use mod4 to switch tags) and opens up the windows "start menu" which is very annoying. So it it possible to prevent passing pressed dwm-function keys to applications? Regards, -- [a] signature.asc Description: Digital signature
Re: [dwm] bloq may used to ignore keybindings
On (23/04/08 14:18), pancake wrote: > To: dwm@suckless.org > From: pancake <[EMAIL PROTECTED]> > Subject: [dwm] bloq may used to ignore keybindings > Reply-To: dynamic window manager > List-Id: dynamic window manager > > Recently I tried wmii (for a few minutes :P) and notice that if > I press bloq.mayus I was able to use alt-1, alt-2 to change between > the tabs in firefox. > > This makes me think that we can probably take the same idea for dwm > to make it ignore the keybindings. > > Maybe we can also let configurable this bloq. key in config.h and > use any other locked key for this. > > --pancake > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. -- Premysl "Anydot" Hruby, http://www.redrum.cz/
[dwm] bloq may used to ignore keybindings
Recently I tried wmii (for a few minutes :P) and notice that if I press bloq.mayus I was able to use alt-1, alt-2 to change between the tabs in firefox. This makes me think that we can probably take the same idea for dwm to make it ignore the keybindings. Maybe we can also let configurable this bloq. key in config.h and use any other locked key for this. --pancake