https://bugs.kde.org/show_bug.cgi?id=397652

PK <pieterkristen...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pieterkristen...@gmail.com

--- Comment #5 from PK <pieterkristen...@gmail.com> ---
I had the same strange behavior of powerdevil. Sometimes it doesn't load at
startup and sometimes it does but doesn't work.
I found the perfect workaround. I made a bash script with the following
content:

1) killall /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil
2) sleep 10 &
3) /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil  </dev/null &>/dev/null
&
1) can kill the process when it runs but does nothing,
2) makes execution of 3) wait but doesn't hold the system. And
3) starts powerdevil completely unattached to the terminal.
I put the script of course in the folder ~/.config/plasma-workspace/env. That
way it runs not only at startup but also after logout.
The script never failed me. 
I know it's no more than a workaround and I'm waiting eagerly for a real
solution but for now the problem is solved.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to