![]() Registered Member ![]()
|
Recently I noticed that VLC can't disable the screensaver while playing. The VLC team suggested that the 4.8.1 and xdg-utils is broken. Is hat the case? Should I open a bug report?
|
![]() Registered Member ![]()
|
It seems now to work fine. I didn;t change anything.
I will keep an eye to this. |
![]() Registered Member ![]()
|
I installed KDE 4.8.2 (ArchLinux) on a new machine and there is the same issue. Actually KDE does not listen to Inhibit Dbus commands.
E.g.
Or
Where xxxx: I tried Window ID (0x220001a for example), PID, Window title. After the time out the screen saver will pop up. If I run qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.Lock the screen saver will start locked. So the issue is with Inhibit method. Any ideas? |
![]() Administrator ![]()
|
Please file a bug report at bugs.kde.org, as it appears there may be a regression here.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I will do so.
For now I changed the xdg-screensvaer in order to stop the screensaver when vlc plays a movie. I am using the org.freedesktop.ScreenSaver.SimulateUserActivity call.
|
![]() Registered Member ![]()
|
I'm trying to do the same thing, disable the screensaver while playing vlc. What is the code you have here? How do I use it?
|
![]() Administrator ![]()
|
That is a patch file, intended to be applied against the script xdg-screensaver.
Patches are applied by the "patch" command, which you may need to install. Assuming you save the above patch as ~/xdg-screensaver-fix.patch, the following commands will create a local version of xdg-screensaver under your user account.
If patch asks which file to apply the fix to, specify ~/bin/xdg-screensaver.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks! I've wanted to know how to do that. I appreciate learning about the local bin too. |
![]() Administrator ![]()
|
Not a problem. Please note that ~/bin is not universal, and may not work on some distributions. You can check if it does work by running "echo $PATH" in a terminal and checking to see if ~/bin is included in the output.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]