Hello, On Wed, 02 Mar 2016, Billy.Zheng wrote:
I use opensuse 42.1 Gnome3 version. ^^^^^^ When I leave my laptop some minute, and back again, My Xmodmap settings (swap CapsLock and Control) and laptop touchpad VertEdgeScroll became invalid.
I'd wager on some gnome3-autostart / keyboard-setting thingy again setting the keyboard after a resume. So add a xmodmap /path/to/your_xmodmap to some gnome autostart / after-resume, or make gnome somehow not set the keyboard. Sadly, adding it to ~/.xinitrc or ~/.xsessionrc is too late, as gnome-stuff comes after that, same as the "after resume" stuff you tried. The basic problem is, that gnome (and KDE btw. not sure about XFCE[1]) ignore and overwrite X11/Xorg settings. As I use neither Standby/Resume nor Gnome, I can't help with where you could put the call to 'xmodmap $YOUR_X_MODMAP'... But I'd try adding it to your gnome autostarts (via a 1-line script or so)... HTH, -dnh, using a handcrafted keymap on console and ~/.Xmodmap on X11 plus WindowMaker, but using KDE/XFCE/Gnome apps ;) [1] seems to leave the settings as long as I do not touch XFCE's keyboard settings --
[..] wieviel [..] haben 1GB Ram in ihren Computern. _Noch_ nicht. Warte mal vier, fünf Jahre, dann verlangt Sinnlos-XYZPiPiFurz (oder welche sinnfreie Zeichenkombination die dann benutzen mögen) mindestens einen P6/5 GHz, 2 GByte MhimpBHzertifiziertes UDSSR-RAM (0.5ns) und 50 GByte Plattenplatz für die Basisinstallation. Halbwegs richtig laufen tut es dann ab dem Doppelten. [Moss in suse-talk] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org