Making xset stick on a secondary X session

Thomas L├╝bking thomas.luebking at gmail.com
Wed Oct 14 09:51:33 PDT 2015


On Mittwoch, 14. Oktober 2015 17:00:27 CEST, Ilya Anfimov wrote:
> On Wed, Oct 14, 2015 at 03:24:15PM +0800, Tony Mobily wrote:
>> Hi,
>> I tried again. I am starting to doubt that xset works properly!
>> I did:
>> $ export DISPLAY=:1
>> $ sudo X :1 -noreset & ...
>
>  Confirming, reproduced, debian/jessie, X -version
> X.Org X Server 1.16.4
> Release Date: 2014-12-20
>
>  Looks  like  xset  r  rate  works only when the server is active

Check the result from the VT where you set it with "xset -q" - looks good?
Now switch the VT back to the desired X server and re-check "xset -q" - looks bad now?

No idea whether it works, but i'd try
Option "AutoRepeat" "200 60" in some MatchIsKeyboard "on" config snippet in /etc/X11/xorg.conf.d/

I'm not sure whether the resetting behavior counts for a bug or is intended (since the same will happen if you re-plug the keyboard)

Cheers,
Thomas


More information about the xorg mailing list