Making xset stick on a secondary X session

Ilya Anfimov ilan at astelecom.ru
Tue Oct 13 08:45:32 PDT 2015


On Tue, Oct 13, 2015 at 10:23:13PM +0800, Tony Mobily wrote:
>    Hi,
> 
>    I am running a second X server (:1) and then run the vnc client
>    (tigervnc) over it in -fullscreen. I am having huge problems increasing
>    the keyboard repeat rate and reducing the keyboard delay for that X
>    server.
> 
>    To see what I mean, simply run another X server:
> sudo X :1 &
> 
>    The blank, empty X server will be there
> 
>    Then go back to the "main" xserver, and run:
> export DISPLAY=:1
> xterm
> 
>    At this point, the repeat is average and the delay is long--ish (the
>    default). Now run within that xterm:
> xset r rate 150 50
> 
>    The keyboard repeat rate and delay are adjusted. Great! CTRL-D and exit
>    that term. Go back to the "main" X session, and type again:
> xterm
> 
>    The new repeat/delay settings are gone (?!?!?!), keyboard is slow/delay
>    is long-ish again!
> 
>    Running xset r rate 150 50 from the "main" X server. even with
>    DISPLAY=:1,  still won't change the keyboard rate for the second :1
>    server.
> 
>    This is a bugger, since I need to decide the repeat rate and the delay
>    for that second X server ':1', since I will run the xvnc client in
>    -fullscreen mode -- and I can't find a way of setting that X server :1
>    so that the repeat/delay are what I need them to be.
> 
>    Help?

 You could pass -noreset option to X or start some invisible non-
disturbing X client to prevent X server from restarting.



More information about the xorg mailing list