You are not logged in.

#1 2017-10-12 19:26:59

Registered: 2017-10-05
Posts: 19

[SOLVED] X config in .xinitrc or .bash_profile disappears after resume

I have a particular line

xset r rate 250 60

in my .xinitrc which sets the keyboard repeat rate. However, after resuming from hibernation/suspend, it is reverted back to the original. I tried putting it in bash_profile but still no luck.

Since there are no errors or warnings of any sort, I did not post the output of dmesg. If that could be useful, please let me know.

Last edited by pspencil (2017-10-12 23:07:01)


#2 2017-10-12 22:15:38

Registered: 2012-09-03
Posts: 11,332

Re: [SOLVED] X config in .xinitrc or .bash_profile disappears after resume … y_and_rate … cated.html

You could go  for a script in /usr/lib/systemd/system-sleep/ - see … leep_hooks
There you'd make use of sth. like (likely needs adjustment, looks for xinit) to operate on the proper X11 server.


Board footer

Powered by FluxBB