Dec 26, 2012

openSUSE Forums: Thaw/Resume from Sleep programs

openSUSE Forums
openSUSE Forums
Thaw/Resume from Sleep programs
Dec 26th 2012, 21:49

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

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: