You are not logged in.
Gnome power manager seems to be a perfect tool for laptops. Please add this package into aur.
more about gpm:
http://www.gnome.org/projects/gnome-pow … r/gpm.html
cheers
Jinn
The ultimate Archlinux release name: "I am your father"
Offline
I attend that, but neither can do a PKGBUILD.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
gnome-power-manager is already in the AUR. Search for it. That said, the pkgbuild there is out of date. Here is a newer one:
pkgname=gnome-power-manager
pkgver=2.13.91
pkgrel=1
pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system."
url="http://www.gnome.org/projects/gnome-power-manager/"
license=""
depends=('hal' 'libgnomeui' 'libwnck')
makedepends=('gettext' 'intltool')
install=gnome-power-manager.install
source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/2.13/$pkgname-$pkgver.tar.bz2)
md5sums=('41f4e3f5cf11f8444ba37e7469d8680a')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome
--with-dbus-sys=/etc/dbus-1/system.d
--with-dbus-services=/usr/share/dbus-1/services
#--disable-libnotify
make || return 1
make DESTDIR=$startdir/pkg install
}
and the .install
pkgname=gnome-power-manager
post_install() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}
post_remove() {
update-desktop-database -q
}
op=$1
shift
$op $*
gnome-power-preferences (the gui preference editor) crashes for me, but you can still edit the settings with gconf-editor. Have fun.
Offline
Sweet, thanx shall try it right away.
The ultimate Archlinux release name: "I am your father"
Offline
the preference thing works for my.. but gnome-power-manager crashes on started.. It says that I should start the dbus deamon which I do, but still crasches..
The ultimate Archlinux release name: "I am your father"
Offline
jinn, try adding
eval `dbus-launch --sh-syntax`
to your xinitrc. this will export the necessary environmental variables to get dbus stuff work.
gnome-power-preferences works fine you say? are you running testing or current?
Offline
I am running current. Tried what you said, but still the same problem. Just restarted the X, dont think that I need to restart the computer totally.
using: gnome 2.12.2, xorg 7.0, also running xgl with some of its cvs packages.
The ultimate Archlinux release name: "I am your father"
Offline
Has anyone succeded in building gnome-power-manager 2.14.0 to use with gnome-2.14 from testing?
Offline