xfce4-power-manager 1.2.0 broke when upower was upgraded to 0.99. No power event has any effect: _ [dis]connecting power is not noticed (icon stay as it was at startup); _ reported battery level never changes; _ lid close does not start screensaver. Version 1.3.0 is out which should fix this. Meanwhile other distros seems to have patched 1.2.0.
Fix Summary and assign.
In Xfce devel repo, we have the latest release (1.4.2) of sysutils/xfce4-power-manager. Some tests need to check, before to be committed, because this application was re-written.
Hi Olivier, thanks for your work:) * do I need to update other xfce4-* things ? ideally I would like to update xfce4-power-manager only on my laptop. Is this possible ? * where xfce4 devel repo located? Long time ago I install 4.10(?) after CFT on ML but seems I lost repository URL ;-(
(In reply to Sergey V. Dyatko from comment #3) sysutils/xfce4-power-manager works fine with Xfce 4.10 and 4.11 (developement release). Currently is only available in 4.11 (and trunk) branch. If you want to test it, you can clone the 4.11 branch, see our wiki page [1] for details. Or get these two ports. * sysutils/power-manager-common * sysutils/xfce4-power-manager (it provides panel plugin) svn (or svnlite) co https://subversion.assembla.com/svn/xfce4/tags/4.11/sysutils/power-manager-common svn (or svnlite) https://subversion.assembla.com/svn/xfce4/tags/4.11/sysutils/xfce4-power-manger Remove previous port and install them. FreeBSD backend was enhanced (now uses sysctl), but if acpi_video(4) is not functional panel still crashes (like 1.2.0). [1] https://wiki.freebsd.org/Xfce
(In reply to Olivier Duchateau from comment #4) Hi, Olivier. In short: thank you and all FreeBSD xfce team, seems It works! (c) * I didn't test actions in 'Levels and actions' tab. * Tray icon changed when I [un]plug power, lag between icon change is around 15-20 secs * lid close still doesn't start xscreensaver ;( For the record in case somebody ( ml at netfence.it for example :) ) wants to test new version brief how-to from me: * you must have xfce4.10 installed from ports/packages (I use packages from my poudriere instance with custom options) * checkout sysutils/power-manager-common and sysutils/xfce4-power-manger from tags/4.11 * remove old xfce4-power-manager (pkg delete -f xfce4-power-manager-1.2.0_2). change sysutils/xfce4-power-manger/Makefile -MASTERDIR= ${.CURDIR}/../../sysutils/power-manager-common +MASTERDIR= ${.CURDIR}/../power-manager-common * install xfce4-power-manger * add new panel item
(In reply to Sergey V. Dyatko from comment #5) Xfce4-power-manager stands on UPower (except backlight brightness), so if something is wrong, the first thing is to explore this way. About screensaver, in git upstream there's support of light-locker (it depends of lightdm, I worked on it, but port is not finished), for xscreensaver I added patches, currently only available in 'trunk' branch (or here [1]). If xfce4-power-manager is in presentation mode, screensaver is inhibited. As I can't use panel plugin (it crashes, due to lack of support for my laptop), the /xfce4-power-manager/presentation-mode property must be created and enabled. xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -n -t bool -s true [1] https://people.freebsd.org/~olivierd/patches/power-manager-common/
New version is available since revision r380565