Key repetitions (begginer)

Hi, In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things? Thanks, Maurício

2008/9/8 Mauricio
Hi,
In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things?
Look at "xset". -- Thomas Adam

Nice, it works. Is this the proper way to do that? ---- main = do { system "xset -r" ; xmonad defaultConfig {modMask = mod4Mask, workspaces = ["1"]} } ---- Thomas Adam a écrit :
2008/9/8 Mauricio
: Hi,
In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things?
Look at "xset".
-- Thomas Adam

Am Tue, 09 Sep 2008 14:42:00 -0300
schrieb Mauricio
Nice, it works. Is this the proper way to do that?
---- main = do { system "xset -r" ; xmonad defaultConfig {modMask = mod4Mask, workspaces = ["1"]} } ----
As that's just a system command, I would put it into your X startup file (.xinitrc on my system, from what you start your xmonad). Me feeling is that would be cleaner. :) Cheers, Matthias

I'm not sure where is my xmonad beeing started from. I installed a package in my distribution (Ubuntu) and when I log I can choose between gnome and xmonad, and I let xmonad as default. I do not have .xinitrc and could not find (using 'grep') any file in my home dir containing 'xmonad'. Best, Maurício Matthias a écrit :
Am Tue, 09 Sep 2008 14:42:00 -0300 schrieb Mauricio
: Nice, it works. Is this the proper way to do that?
---- main = do { system "xset -r" ; xmonad defaultConfig {modMask = mod4Mask, workspaces = ["1"]} } ----
As that's just a system command, I would put it into your X startup file (.xinitrc on my system, from what you start your xmonad). Me feeling is that would be cleaner. :)
Cheers, Matthias

On Mon, Sep 08, 2008 at 06:23:07PM -0300, Mauricio wrote:
Hi,
In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things?
Thanks, Maurício
Yes, this is an X setting. Perhaps 'xset' can do what you want? Cheers, Spencer Janssen

In your X config in section InputDevice you can set this with: Option "AutoRepeat" "500 5" You have to tune the values your self. -- Rickard On [Mon 08.09.2008 18:23], Mauricio wrote:
Hi,
In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things?
Thanks, Maurício
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (5)
-
Matthias
-
Mauricio
-
Rickard Gustafsson
-
Spencer Janssen
-
Thomas Adam