VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Problem with UMPlayer.  (Read 1380 times)

Locator

  • Vectorian
  • ****
  • Posts: 767
Problem with UMPlayer.
« on: March 05, 2012, 10:01:39 pm »

I set the option for UMPlayer to disable the screen saver when using it - but the screen saver STILL functions when I use it, how do I resolve that issue?
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4104
Re: Problem with UMPlayer.
« Reply #1 on: March 06, 2012, 04:39:20 am »

I just had a similar issue, and found that there are three screen blankers/powersavers involved; The command line has one, X another, and the hardware in the monitor has the third. I made a script that, at least on my machine, keeps the screen alive:
Code: [Select]
#!/bin/sh
setterm -blank 0 -powerdown 0
xset s off
xset -dpms
Logged

Locator

  • Vectorian
  • ****
  • Posts: 767
Re: Problem with UMPlayer.
« Reply #2 on: March 06, 2012, 07:34:33 am »

Great! Now how do I use it with UMPlayer, and will the screen saver be re enabled once I close UMPlayer?
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4104
Re: Problem with UMPlayer.
« Reply #3 on: March 06, 2012, 07:22:10 pm »

This is totally separate from UMPlayer. To undo the commands, use something like:
Code: [Select]
setterm -blank 30 -powerdown 30
xset s on
xset +dpms

You could write a script that first turns off all screensavers, launches umplayer, and then executes these commands when the media player is closed.
Logged