Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-03-10 19:59:53

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Gnome Power Manager keeps starting when I log in Xfce 4.6

I've upgraded to Xfce 4.6 (from Xfce's site, not XUbuntu) and removed the Xfce 4.4 packages. I am using Xfce's power manager instead of Gnome Power Manager, since it now supports suspending and hibernating when laptop lid is closed, etc.

Whenever I log in, Gnome Power Manager (GPM) is started along side Xfce Power Manager, and I have to manually kill it.

I've checked, and there are no saved sessions in .cache/sessions.

It's not enabled in Xfce's Autostarted Applications (now in the Session Management Applet).

Odd thing is that there is an unchecked reference to it in Autostarted Applications that I am unable to remove. If I manually go to .config/autostart and remove the file gnome-power-manager.desktop (which just says "Hidden=True" and nothing else), then the file is re-added, and is enabled in Autostarted Applications.

So something is adding GPM and enabling it. The question is: what?

Offline

#2 2009-03-10 20:02:52

Squall
Member
Registered: 2009-03-07
Posts: 24

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

What Linux you're using?

It might be an daemon?

Offline

#3 2009-03-10 20:20:05

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

I'm using Ubuntu Intrepid.  I've updated the original post with more information.

Offline

#4 2009-03-10 20:57:03

Squall
Member
Registered: 2009-03-07
Posts: 24

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

In Ubuntu the start scripts lie in /etc/init.d. The programs that are started in every single runtime is set in /etc/rc0.d to /etc/rc6.d, /etc/rcS.d.
Normally the X Server uses runlevel 5, so take a look in /etc/rc5.d:

ls /etc/rc5.d

Is there something like gpm?
If not, check the other folders too.

If you found it, try to verify that it has really to do with Gnome's Power Manager, by looking inside... And if you're sure, remove it.
Removing files in /etc/ will require root permissions.

Offline

#5 2009-03-10 21:19:25

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

I've found a line in /etc/acpi/powerbtn.sh that checks in gnome-power-manager and klaptopdaemon are running, but I' not using the power button. (I have added a check for xfce4-power-manager though, just in case.)

Ah, I found /etc/xdg/autostart/gnome-power-manager, and I've removed it.

Offline

#6 2009-03-10 21:35:38

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

That didn't work.  It still comes up in login.

I did a grep -R gnome-power-manager in /etc, ~/.conf, ~/.gconf, ~/.gconfd, ~/.cache and there's nothing that comes up (beyond a pidof check to see if it's running).

Any ideas what could be launching it then?

However, it doesn't keep getting added to Autostarted Apps, so the problem is partially solved.

Offline

#7 2009-03-10 22:20:12

herd
Member
From: Germany
Registered: 2006-05-18
Posts: 143
Website

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

It's probably started by DBUS.

If temporarily removing /usr/share/dbus-1/services/gnome-power-manager.service helps, dig there.
Otherwise, hal, udev and gdm may be responsible.

hth,

herd

Offline

#8 2009-03-10 22:57:13

wlkngowl
Member
From: Between Heaven and Earth
Registered: 2005-11-11
Posts: 77

Re: Gnome Power Manager keeps starting when I log in Xfce 4.6

That seems to have fixed it!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 539.47 KiB (Peak: 540.38 KiB) ]