Help!

acpi-support + gnome-screensaver

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop RSS
Next:  linux-2.6_2.6.22-1_powerpc.changes ACCEPTED  
Author Message
Haifeng Chen
External


Since: Mar 29, 2006
Posts: 10



PostPosted: Sun Jul 15, 2007 1:50 pm    Post subject: acpi-support + gnome-screensaver
Archived from groups: linux>debian>laptop (more info?)

Hi gays!

I am using debian sid on Thinkpad T42 and I have acpi-support
installed to handle some ACPI events, such as *fn-f3* ( blank the
screen and lock the X display ).

In the package of acpi-support, Xscreensaver is used to implement the
support of *fn-f3*.
As you all know, compare to Gnome ScreenSaver, the UI of xscreensaver
is *Very* ugly.
Because of this, I wondered if it is possible to use Gnome ScreenSaver
instead of Xscreensaver in package acpi-support.

Then I downloaded the source package and made some changes, replace
xscreensaver-command with gnome-screensaver-command, modify the
parameter of the related scripts.
For example:
orig scripts:
if [ `pidof xscreensaver` ]; then
su $user -c "(xscreensaver-command -throttle)"
if [ x$LOCK_SCREEN = xtrue ]; then
su $user -c "(xscreensaver-command -lock)"
fi
fi

new scripts:
if [ `pidof gnome-screensaver` ]; then
su $user -c "(gnome-screensaver-command -activate)"
if [ x$LOCK_SCREEN = xtrue ]; then
su $user -c "(gnome-screensaver-command -lock)"
fi
fi

But after those changes, *fn-f3* stop working.
And I found those messages in /var/log/acpid:

** Message: Failed to connect to the D-BUS daemon: Failed to connect to socket /
tmp/dbus-wC6RTyUEJu: Connection refused
** Message: Failed to connect to the D-BUS daemon: Failed to connect to socket /
tmp/dbus-TyzgWan9NM: Connection refused

Any ideals? I really want to use Gnome-ScreenSaver.

--
Best Regards
Haifeng Chen


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Haifeng Chen
External


Since: Mar 29, 2006
Posts: 10



PostPosted: Sun Jul 15, 2007 2:20 pm    Post subject: Re: acpi-support + gnome-screensaver [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry! typo -_-

2007/7/15, Haifeng Chen <optical.dlz RemoveThis @gmail.com>:
Hi guys!
> I am using debian sid on Thinkpad T42 and I have acpi-support
> installed to handle some ACPI events, such as *fn-f3* ( blank the
> screen and lock the X display ).
>
> In the package of acpi-support, Xscreensaver is used to implement the
> support of *fn-f3*.
> As you all know, compare to Gnome ScreenSaver, the UI of xscreensaver
> is *Very* ugly.
> Because of this, I wondered if it is possible to use Gnome ScreenSaver
> instead of Xscreensaver in package acpi-support.
>
> Then I downloaded the source package and made some changes, replace
> xscreensaver-command with gnome-screensaver-command, modify the
> parameter of the related scripts.
> For example:
> orig scripts:
> if [ `pidof xscreensaver` ]; then
> su $user -c "(xscreensaver-command -throttle)"
> if [ x$LOCK_SCREEN = xtrue ]; then
> su $user -c "(xscreensaver-command -lock)"
> fi
> fi
>
> new scripts:
> if [ `pidof gnome-screensaver` ]; then
> su $user -c "(gnome-screensaver-command -activate)"
> if [ x$LOCK_SCREEN = xtrue ]; then
> su $user -c "(gnome-screensaver-command -lock)"
> fi
> fi
>
> But after those changes, *fn-f3* stop working.
> And I found those messages in /var/log/acpid:
>
> ** Message: Failed to connect to the D-BUS daemon: Failed to connect to socket /
> tmp/dbus-wC6RTyUEJu: Connection refused
> ** Message: Failed to connect to the D-BUS daemon: Failed to connect to socket /
> tmp/dbus-TyzgWan9NM: Connection refused
>
> Any ideals? I really want to use Gnome-ScreenSaver.
>
> --
> Best Regards
> Haifeng Chen
>


--
Best Regards
Haifeng Chen


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum