Trying to find a fix for the problem, I was thinking of having ekiga
being killed at suspend/hibernate and then restarted at resume. My
(newbie) attempt is to add the following script as
/etc/pm/sleep.d/01ekiga.fix (substitute sim909 with actual user name):

++++++
#!/bin/sh

case "$1" in
        hibernate|suspend)
                if [ -n "`pidof ekiga`" ] ; then
                        touch /tmp/ekiga.fix.by.sim909
                        killall ekiga
                fi
                ;;
        thaw|resume) 
                if [ -f /tmp/ekiga.fix.by.sim909 ] ; then
                        su -c "ekiga --display=:0.0 &" sim909
                        rm /tmp/ekiga.fix.by.sim909
                fi
                ;;
        *) exit $NA
                ;;
esac
+++++

The problem now is that ekiga does not start, complaining that there is
a gconf error. I think the error is somehow related to trying to start
ekiga from outside of the x session. No problem starting it within the x
session.

Any suggestions?

-- 
After hibernation ekiga says registration failed.
https://bugs.launchpad.net/bugs/77541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to