is there some sane way to override "/etc/xdg/autostart/powerdevil.desktop" like "systemctl mask" - looks like something is overriding my autostart-item or it#s ignored like "ssh-add"
frankly keep your fingers from my display and other powersettings
[root@srv-rhsoft:~]$ cat /home/harry/.config/autostart-scripts/display-on.sh #!/usr/bin/bash
xset -dpms xset s off ___________________________-
Nov 18 18:45:33 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:50:31 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:50:31 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:53:25 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:53:25 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:54:40 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:54:40 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:55:55 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:55:55 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 19:15:50 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper)
*ping*
powerdevil even takes control over the powerbutton which is normally caught by acpid.service and as long the kernel is not dead leads in a controlled and clean shutdown
the current behavior that KDE compontents taking over control explains that some users in case of troubles (several threads) had to hard power off their machines
without running Plasma the power button works as expected
when running Plasma it brings the "shutdown, hibernate, logout, poweroff" stuff where recently other options than "logout" are eneabled and frankly "shutdown" even works - no user but me on my machines is supoosed to reboot/shutdown them except ermegency which is the power-button for - just because it makes no sense to do on a homeserver and also makes no sense on a workstatiuon which is supposed to get rsynced with the home-machine from a VT aka "synch-machine.sh push && poweroff"
can the linux community please stop starting more and more crap on demand which can't be clearly masked/disabled?
-------- Weitergeleitete Nachricht -------- Betreff: how to get rid of powerdevil with 5.8 Datum: Fri, 18 Nov 2016 20:04:30 +0100 Von: Reindl Harald h.reindl@thelounge.net Antwort an: KDE on Fedora discussion kde@lists.fedoraproject.org Organisation: the lounge interactive design An: Mailing-List fedora-kde kde@lists.fedoraproject.org
is there some sane way to override "/etc/xdg/autostart/powerdevil.desktop" like "systemctl mask" - looks like something is overriding my autostart-item or it#s ignored like "ssh-add"
frankly keep your fingers from my display and other powersettings
[root@srv-rhsoft:~]$ cat /home/harry/.config/autostart-scripts/display-on.sh #!/usr/bin/bash
xset -dpms xset s off ___________________________-
Nov 18 18:45:33 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:50:31 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:50:31 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:53:25 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:53:25 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:54:40 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:54:40 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 18:55:55 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper) Nov 18 18:55:55 srv-rhsoft dbus-daemon[934]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' Nov 18 19:15:50 srv-rhsoft dbus-daemon[934]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.1063' (uid=500 pid=6139 comm="/usr/libexec/org_kde_powerdevil ") (using servicehelper)
Reindl Harald wrote:
powerdevil even takes control over the powerbutton which is normally caught by acpid.service and as long the kernel is not dead leads in a controlled and clean shutdown
This is a feature. It allows configurable actions that can be set in System Settings. If Plasma were not to do this, systemd would handle the button and perform one of the following non-interactive actions: https://wiki.archlinux.org/index.php/Power_management#ACPI_events The default there is to do a shutdown. The old acpid.service is deprecated and no longer used.
You may want to configure these settings anyway, because, as you found out, they are relevant when Plasma is not running, e.g., in SDDM.
Within Plasma, the default for the configurable action, as you found out, is indeed bringing up the logout dialog:
the current behavior that KDE compontents taking over control explains that some users in case of troubles (several threads) had to hard power off their machines
without running Plasma the power button works as expected
when running Plasma it brings the "shutdown, hibernate, logout, poweroff" stuff where recently other options than "logout" are eneabled and frankly "shutdown" even works - no user but me on my machines is supoosed to reboot/shutdown them except ermegency which is the power-button for - just because it makes no sense to do on a homeserver and also makes no sense on a workstatiuon which is supposed to get rsynced with the home-machine from a VT aka "synch-machine.sh push && poweroff"
The dialog when pushing the power button has always included those options by default. They are available if and only if the current user is allowed to power off the machine, also with direct "systemctl poweroff". Whether that is the case is configured through systemd PolicyKit policies. Plasma only offers what systemd allows the user to do anyway.
And I do not understand what you really want. You are complaining that Plasma allows a shutdown from the dialog, but when systemd performs a shutdown directly, you say "the power button works as expected". Do you now want shutdown to be allowed or not?
can the linux community please stop starting more and more crap on demand which can't be clearly masked/disabled?
See above.
I hope this helps, Kevin Kofler
Am 02.12.2016 um 03:23 schrieb Kevin Kofler:
Reindl Harald wrote:
powerdevil even takes control over the powerbutton which is normally caught by acpid.service and as long the kernel is not dead leads in a controlled and clean shutdown
This is a feature. It allows configurable actions that can be set in System Settings. If Plasma were not to do this, systemd would handle the button and perform one of the following non-interactive actions: https://wiki.archlinux.org/index.php/Power_management#ACPI_events The default there is to do a shutdown. The old acpid.service is deprecated and no longer used.
i do not need that feature and powerdevil at all, until short ago powerdevil was not installed at all
You may want to configure these settings anyway, because, as you found out, they are relevant when Plasma is not running, e.g., in SDDM.
no i want powerdevil go away entirely
And I do not understand what you really want. You are complaining that Plasma allows a shutdown from the dialog, but when systemd performs a shutdown directly, you say "the power button works as expected". Do you now want shutdown to be allowed or not?
not from the GUI because if anybody does something else then logout it was an accident and frankly until not so long ago i had the GUI configured to only offer "logout" but as always with KDE settings get lost over time
can the linux community please stop starting more and more crap on demand which can't be clearly masked/disabled?
See above. I hope this helps
i did "dnf remove powerdevil" long ago until it was pulled again as dependecny - it would help when hard/soft-dependecies would not witch all the time
Reindl Harald wrote:
Am 02.12.2016 um 03:23 schrieb Kevin Kofler:
You may want to configure these settings anyway, because, as you found out, they are relevant when Plasma is not running, e.g., in SDDM.
no i want powerdevil go away entirely
But then the systemd settings described under: https://wiki.archlinux.org/index.php/Power_management#ACPI_events are always used, so you really want to set them, unless you're happy with the defaults. :-)
not from the GUI because if anybody does something else then logout it was an accident and frankly until not so long ago i had the GUI configured to only offer "logout" but as always with KDE settings get lost over time
The most reliable way is to disable it at PolicyKit/systemd level.
Kevin Kofler
Am 03.12.2016 um 00:40 schrieb Kevin Kofler:
Reindl Harald wrote:
Am 02.12.2016 um 03:23 schrieb Kevin Kofler:
You may want to configure these settings anyway, because, as you found out, they are relevant when Plasma is not running, e.g., in SDDM.
no i want powerdevil go away entirely
But then the systemd settings described under: https://wiki.archlinux.org/index.php/Power_management#ACPI_events are always used, so you really want to set them, unless you're happy with the defaults. :-)
as said: i epxect in case of a frozen GUI or no longer proper working GUI when even a VT to kill it don't work that the power button cleanly down the machine
and since i don't use notebooks for 5 years now and that won't change guess how many butttons my machine has :-)
not from the GUI because if anybody does something else then logout it was an accident and frankly until not so long ago i had the GUI configured to only offer "logout" but as always with KDE settings get lost over time
The most reliable way is to disable it at PolicyKit/systemd level
fine - and how - so that the pwoer button still works :-)