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 don't know what cause this, But basically, But I could resolve this with run following command again when i resume from standy mode. $: xmodmap ~/.Xmodmap $: synclient VertEdgeScroll=1 It have some pain to run this command frequently. so, I hope to resolve this problem (still valid when enter standby mode) at least, I want to automaticly run those command when I wakeup from standby mode. I have tried write a script in /user/lib/systemd/system-sleep case $1/$2 in pre/*) xmodmap /home/zw963/.Xmodmap ;; post/*) xmodmap /home/zw963/.Xmodmap ;; esac it not work. Thanks. -- Geek, Rubyist, Emacser Homepage: http://zw963.github.io -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org