Information
ID: 296
PHID: PHID-TASK-4n3lxnze5hkq57pukw7c
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal
Description
TODO:
disable powerdevil
disable kde battery monitor systray
disable KDE → System Settings → Power Management
Forum discussion:
Deprecated:
In /usr/share/kde4/services/kded/powerdevil.desktop
change from
X-KDE-Kded-phase=1
to
X-KDE-Kded-phase=0
using config-package-dev’s displace operation. Conditionally, only if --target virtualbox, qcow2, qubes (T298) [during build script] or when virt-what detects a virtual machine.
Comments
Patrick
2015-08-18 20:55:22 UTC
Might have found a better solution.
Switching using the kde service manager (System Settings/Startup and Shutdown - KDE UserBase Wiki ) modifies the following file.
/home/user/.kde/share/config/kdedrc
[Module-powerdevil]
autoload=false
But we won’t need to write into user’s home folder. Can be implemented similar to the kde-lowfat package.
The Xsession.d script could even check if being run within virtualization.
Produced a branch doing this. Not yet merged into master.
disabled powerdevil service to prevent occasionally message "no valid power management backend plugins are available" - https://phabricator.whonix.org/T297
:
disabled powerdevil service to prevent occasionally message "no valid… · adrelanos/power-savings-disable-in-vms@eec0a42 · GitHub
But that alone is an incomplete solution. The battery monitor still appears in systray by default. And worse, when you click at it, there will be an error message, because power devil has been disabled. I am onto something to get rid of the battery monitor as well. Let’s see.
HulaHoop
2015-08-18 19:57:05 UTC
Patrick
2015-08-18 20:11:16 UTC
My quick and dirty solution in place solution that works, that I am cleaning up and committing to disable the battery monitor systray.
/usr/share/whonix-ws-kde-desktop-conf/share/kde4/services/plasma-applet-batterymonitor.desktop
[Desktop Entry]
Name=battery-monitor-disabled
Type=none
Patrick
2015-08-18 20:55:36 UTC
Patrick
2015-08-18 20:53:59 UTC
Patrick
2015-08-18 21:03:08 UTC
Patrick
2015-08-19 18:56:59 UTC
Working quick and dirty in place solution to get rid of the broken power management item in kde systemsettings. (Broken as expected because powerdevil has been disabled.)
/usr/share/whonix-ws-kde-desktop-conf/share/kde4/services/powerdevilglobalconfig.desktop
[Desktop Entry]
Type=none
X-KDE-System-Settings-Parent-Category=
Patrick
2015-08-19 19:52:03 UTC
Patrick
2015-11-20 15:19:56 UTC
Patrick
2016-05-11 14:47:23 UTC
HulaHoop
2016-05-11 15:51:46 UTC
Yes its working