You are not logged in.

#1 2009-04-18 21:27:23

CaptainShanks
Member
Registered: 2008-10-25
Posts: 57

Can neither suspend on close in Gnome nor shut down with Gnome-Do

I suspect this may have come from the recent HAL update, though I can't be to sure. I am able to suspend and shut down by going to the system menu, but shutting down with the Gnome-Session-Manager plugin in Do yields this output:

[Error 07:24:04.114] [PowerManagement] Could not shutdown: org.freedesktop.DBus.Error.UnknownMethod: Method "Shutdown" with signature "" on interface "org.freedesktop.PowerManagement" doesn't exist

As for the Power Manager dumbness... It worked fine before? When I close my laptop, it simply blanks the screen rather than suspend it, which I set it to do in the options. I can't figure out how to get output from that, even running it in the console, so learning how might rock.

Offline

#2 2009-04-18 21:42:28

Toke
Member
From: Stockholm/Sweden
Registered: 2009-02-14
Posts: 12

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

I got the same problem. As my laptop won't suspend when I close the lid either.

Offline

#3 2009-04-19 07:24:06

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-04-19 09:06:37

CaptainShanks
Member
Registered: 2008-10-25
Posts: 57

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

I assume I would add that bit under the ./configure in the PKGBUILD, correct? About:

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  export LDFLAGS="${LDFLAGS} -Wl,--as-needed"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var \
              --libexecdir=/usr/lib/gnome-power-manager \
              --enable-policykit \
              --with-dpms-ext \
              --disable-scrollkeeper \
              --with-dbus-services=/usr/share/dbus-1/services \
              --enable-applets || return 1 \
              --enable-legacy-buttons

If so, after compiling with ABS (which I just learned from the wiki big_smile cool stuff) and installing, it didn't work.

Offline

#5 2009-04-19 10:33:15

Toke
Member
From: Stockholm/Sweden
Registered: 2009-02-14
Posts: 12

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

I guess you used that to compile a old package? I was able to compile the new gnome-power-manager 2.6 with --enable-legacy-buttons

It worked great for me.

Offline

#6 2009-04-19 11:11:41

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

Uhm, you should put that option before the "|| return 1" bit, that's why it didn't work probably.

Offline

#7 2009-04-19 11:34:49

CaptainShanks
Member
Registered: 2008-10-25
Posts: 57

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

Hohoho wrote:

Uhm, you should put that option before the "|| return 1" bit, that's why it didn't work probably.

That was it big_smile

Fixed it perfectly! Wish I could get the gnome-do plugin working right though XD oh well, it was making me lazy anyway.

Offline

#8 2009-04-20 23:48:16

CaptainShanks
Member
Registered: 2008-10-25
Posts: 57

Re: Can neither suspend on close in Gnome nor shut down with Gnome-Do

Awesome! This problem got fixed in the gnome-power-manager update, thanks devs big_smile

Still no luck with Gnome-Do however.

Offline

Board footer

Powered by FluxBB