-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard mods lost after screensaver kicks in... #109
Comments
That's really strange, although it's not unheard of for xephyr to do strange things. If you switch to a different keyboard layout in Xephyr or use |
Yep, the "setxkbmap" command will lose the mods. One of those mods is to assign the middle mouse click to the right Ctrl key, for which I also add the command "xkbset m", but that does not cause problems. |
Sorry, I meant that if you use setxkbmap to change your settings, do those changes survive the switch? |
Also, what version of Ubuntu did you install? |
When I switch between us and nl keymaps, or v.v., then the mods also disappear. I'm running the default "precise" distro. |
I think I know the problem -- bought the Chromebook here in Holland, keyboard in ChromeOS set to nl or us international layout (they're the same), while I always install Linux (Debian usually) with US particulars. Now that I specify "setxkbmap us" the problem is gone: the mods survive switching back-and-forth between ChromeOS and the chroot. |
....but the mods still don't survive the screensaver activating... |
You may need to restart the screensaver daemon after setting the keyboard settings. |
OK, I'll try that, be back in a couple of days to report on that. Meanwhile, thanks for all your work on crouton. |
I've narrowed the problem to my remapping of the right Ctrl key as middle mouse click. Using 'xev' shows that this remapping is still active, except it doesn't work any more after the screensaver has kicked in automatically (no problem when I start the screensaver manually). Remapping of Shift-BackSpace to Delete works fine within a ViM session (but not in an LXTerminal command line). In the ChromeOS shell I get tons of error messages like I can live with that, like setting screensaver to kick in after 30 minutes or so. At any rate, it doesn't appear to be a crouton problem or a ChromeOS problem, so I'll close this thread (if I may be so bold). |
Cool; glad you have it mostly figured out. Depending on the screensaver, you may be able to set the screensaver to launch a command after it exits, if you can't manage to root-cause the reset. |
Right, I like puzzles... may also try a newer version of LXDE since the version in "precise" seems a bit dated. |
Hi, I know that this issue is old and marked as closed, but I see something similar on a Ubuntu Trusty install with any screensaver (using XScreenSaver at the moment). Did anyone find a root cause for why the XServer (or whatever it is) is resetting the |
I've collected a few keyboard modifications on my Samsung ARM Chromebook (using xmodmap) in my script /usr/local/bin/keyboard, and have this file executed automatically when starting the LXDE chroot. Those modifications are then active, but are lost whenever I switch back-and-forth to ChromeOS or whenever the screensaver kicks in, requiring me to run my keyboard script again. Not a big issue, but more a puzzle...
The text was updated successfully, but these errors were encountered: