Page 1 of 1

Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Thu May 29, 2014 11:33 am
by redb4umint
Hello Linux users,

Please be kind, I'm new and have been using Linux Mint for about a month now. This is my first post. I've searched the forum but have yet to solve this problem.

My problem is whenever I watch a full screen video using VLC the screensaver kicks in on my Dell netbook after 10min. I want to be able to temporary disable the screen saver when watching videos in a full screen format. Originally I installed Mint 16 xfce but then realized that Mint 17 was being released shortly with long term support. I decided to upgrade from Mint 16 xfce to Mint 17 Cinnamon 32bit by downloading the OS and installing it from USB stick. I then used the built-in Backup/Restore utility to restore my software and files. Originally, I installed Wine and PlayonLinux (not sure if that's the same product) and xscreensaver applications.

I like xscreensaver because it seems to have a better screensaver selection. I renamed the screensaver-cinnamon folder to "-OLD" and replaced it with the xscreensaver folder now renamed to screensaver-cinnamon as per instructions on this forum. It's also been added as a startup application. The xscreensaver works great. It activates after 10min as it should and I see the splash screen come up when I bootup.

After searching the forum, I found that Caffeine may fix my problem. Using the Software Manager tool, I installed Caffeine with hopes that it would disable the screensaver when VLC was playing in full screen mode. Unfortunately, it did not and my screensaver kicked in after 10min. From what I've read there's no settings to change in the new version of Caffeine and I checked Task Manager to show that it is in fact running in the background.

I removed the newer version, downloaded the .deb file from the https://launchpad.net/caffeine site and installed an older version which I was able to add VLC to the applications list. That also did not work.

How does one temporary disable the screensaver when watching videos in full screen in Mint Cinnamon 17? Any suggestions?

Re: Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Tue Mar 24, 2015 4:37 pm
by Gannet
I'm running Linux Mint 17.1 with xfce (Ubuntu 14.04) and had a problem with XScreenSaver interrupting my videos. I tried Caffiene from the developers and it worked straight away:

Code: Select all

sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine
After that, you just need to run caffeine or stick it in autostart. The current version doesn't have a graphical interface, it now runs invisibly in the background and inhibits the screensaver WHENEVER THE MACHINE IS IN FULL SCREEN MODE. There don't seem to be any options but it certainly does what I want!

Re: Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Wed Mar 25, 2015 1:57 am
by Ginsu543
redb4umint wrote: How does one temporary disable the screensaver when watching videos in full screen in Mint Cinnamon 17? Any suggestions?
This is not possible to do apart from a third-party program like Caffeine because Cinnamon (like all other DE's) is based on X.org. Because X.org is older technology, it does not register video playback as a registerable event such as a mouse movement or a keyboard click. So, when you play video in fullscreen mode, even though the video is playing, X.org thinks nothing is happening. That's why it kicks on the screensaver. Newer technologies like Wayland or Ubuntu's Mir is supposed to fix this problem inherent in X.org.

Re: Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Wed Mar 25, 2015 2:58 am
by niclasc
Ginsu543 wrote:
redb4umint wrote: How does one temporary disable the screensaver when watching videos in full screen in Mint Cinnamon 17? Any suggestions?
This is not possible to do apart from a third-party program like Caffeine because Cinnamon (like all other DE's) is based on X.org. Because X.org is older technology, it does not register video playback as a registerable event such as a mouse movement or a keyboard click. So, when you play video in fullscreen mode, even though the video is playing, X.org thinks nothing is happening. That's why it kicks on the screensaver. Newer technologies like Wayland or Ubuntu's Mir is supposed to fix this problem inherent in X.org.
Its crazy that a simple problem like this exists i Linux i 2015. In OSX and Windows this has been working for over 15years or more.

Re: Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Wed Mar 25, 2015 7:03 pm
by Ginsu543
niclasc wrote: Its crazy that a simple problem like this exists i Linux i 2015. In OSX and Windows this has been working for over 15years or more.
It's true that X.org is old and having a problem such as this is kinda silly. But X.org is also stable, ubiquitous, and works with all kinds of hardware. That's why I think the urgency hasn't been there to move away from X.org. At the same time, it's not worth overhauling X.org itself to fix the problem because that effort would be better invested in developing new technologies like Wayland or Mir. So, for the sake of stability, we accept the quirks and use a patch like Caffeine to get the functionality we want.

Re: Linux Cinnamon 17 - VLC won't disable screensaver

Posted: Fri Mar 27, 2015 4:13 pm
by Ceilidh2
Install SMPlayer. Open it. Click Options > Preferences > Video. Tick the box "Disable Screensaver". "Apply".

The feature will function regardless of which player you use, including VLC.

VLC is a cross-platform player that is indifferent to the OS it is running on, and does not care about this kink in Linux. SMPlayer is specificly written for Linux.