Following some direction I've received previously, and the SMB documentation on waking from sleep, I've created a file /etc/pm/sleep.d/33tsa with a script in it to reboot programs that seem to die when I enter sleep mode. I think the PulseAudio and the Synaptik seem to be working, but this doesn't seem to be working for my xmodmaprc, which is an important keyboard rebind that I use. I still end up re-running it manually every time I wake up. Yes, this is executable. Can anyone give me suggestions on why I can't get xmodmap to stick? I also have it on boot, and it starts fine in that context (if only it would stay through sleep).
Code:
#!/bin/bash -x
case $1 in
thaw|resume)
xmodmap /home/ME/.xmodmaprc
pavucontrol
synaptiks
;;
esac
Thanks!
openSUSE 12.2 x 64, KDE 4
No comments:
Post a Comment