Making xset stick on a secondary X session

Ilya Anfimov ilan at astelecom.ru
Wed Oct 14 10:13:53 PDT 2015


On Wed, Oct 14, 2015 at 10:01:42AM -0700, Alan Coopersmith wrote:
> On 10/14/15 08:00 AM, Ilya Anfimov wrote:
> >  Looks  like  xset  r  rate  works only when the server is active
> >(i.e.  on the active virtual console). This should be reported as
> >bug  IMHO, however your configuration should work when run as the
> >only X-server.
> 
> Oh, that's a different issue - keyboard settings are reset when VT
> switching - I thought there was an open bug on the general issue,
> but can only find bugs on specific symptoms at the moment, such as:
> https://bugs.freedesktop.org/show_bug.cgi?id=25801

 btw,  checked  it  with  xset  q  --  it is really reset when VT
switching!
 I mean, with server :0 active, I put xset r rate 150 50 ; xset q
to  :1  display,  and  it reported correct delay/rate 150 50. But
when I switch to :1 display, settings reset to old ones,  xset  q
reports 500/30, and it visually really 500/30, and after
return to active server :0 and queried :1 -- it remains 500/30.

 When  setting  rate  and delay on active server -- it saved just
fine, xset q reports correct answer after any change  to  any  VT
and  back,  and I have different settings on different servers as
expected.



More information about the xorg mailing list