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.
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 fix.by. sim909 fix.by. sim909 ] ; then fix.by. sim909
hibernate|suspend)
if [ -n "`pidof ekiga`" ] ; then
touch /tmp/ekiga.
killall ekiga
fi
;;
thaw|resume)
if [ -f /tmp/ekiga.
su -c "ekiga --display=:0.0 &" sim909
rm /tmp/ekiga.
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?