Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

XFCE - Screen saver and video playback

Post Reply
Message
Author
User avatar
whell
Forum Regular
Forum Regular
Posts: 320
Joined: Sat Sep 26, 2009 1:03 pm

XFCE - Screen saver and video playback

#1 Post by whell » Sun Feb 09, 2014 11:36 am

When playing videos, either from Amazon Prime or VLC, I've found that XFCE screen saver / screen blanking features seem to want to rear their ugly heads mid-video. I play back the videos from my laptop to my TV. I've not found a way to completely shut the power - saving stuff off in the GUI so that the video feed doesn't get disrupted mid-video. If you're had the same challenges, I found this thread which might be helpful. It worked for me.

http://ubuntuforums.org/showthread.php?t=1810262

User avatar
Gaer Boy
Forum Guide
Forum Guide
Posts: 2129
Joined: Sat Jun 06, 2009 6:06 am

Re: XFCE - Screen saver and video playback

#2 Post by Gaer Boy » Sun Feb 09, 2014 12:01 pm

The screensaver can be turned off in Settings>Screensaver, and screen blanking in Settings>Power Manager.

AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD (GPT), 1TB HDD (MBR), MX-17.1
Lenovo Thinkpad X220, dual-core i5, 3MB, 320GB Hitachi HDD, Win7, MX-17.1

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: XFCE - Screen saver and video playback

#3 Post by Stevo » Sun Feb 09, 2014 12:19 pm

It looks like you could write a little script with those xset commands, stick it in /usr/local/bin, and create a .desktop file to run it with a click or two. And the same for one to turn the blanking back on, too.

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 5737
Joined: Sat Jul 15, 2006 10:40 am

Re: XFCE - Screen saver and video playback

#4 Post by anticapitalista » Sun Feb 09, 2014 12:37 pm

antiX has a similar script to set blanking time.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

User avatar
whell
Forum Regular
Forum Regular
Posts: 320
Joined: Sat Sep 26, 2009 1:03 pm

Re: XFCE - Screen saver and video playback

#5 Post by whell » Sun Feb 09, 2014 7:00 pm

Gaer Boy wrote:The screensaver can be turned off in Settings>Screensaver, and screen blanking in Settings>Power Manager.
Been there. Done that. It still blanks after about 15 min.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 4982
Joined: Sat Nov 11, 2006 10:42 pm

Re: XFCE - Screen saver and video playback

#6 Post by uncle mark » Sun Feb 09, 2014 7:05 pm

whell wrote:
Gaer Boy wrote:The screensaver can be turned off in Settings>Screensaver, and screen blanking in Settings>Power Manager.
Been there. Done that. It still blanks after about 15 min.
Something in the BIOS?
Desktop: Custom build Asus/AMD/nVidia -- MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15
Assorted junk: assorted Linuxes

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9575
Joined: Sun Dec 16, 2007 1:17 pm

Re: XFCE - Screen saver and video playback

#7 Post by dolphin_oracle » Sun Feb 09, 2014 10:10 pm

dpms is a pain sometimes. but I have had good luck with the "presentation mode" found in the power manager.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
whell
Forum Regular
Forum Regular
Posts: 320
Joined: Sat Sep 26, 2009 1:03 pm

Re: XFCE - Screen saver and video playback

#8 Post by whell » Tue Feb 11, 2014 11:35 am

uncle mark wrote:
whell wrote:
Gaer Boy wrote:The screensaver can be turned off in Settings>Screensaver, and screen blanking in Settings>Power Manager.
Been there. Done that. It still blanks after about 15 min.
Something in the BIOS?
Nothing that I can figure. The BIOS in my HP laptop is pretty minimalist, however.

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 11380
Joined: Wed Jul 12, 2006 5:54 am

Re: XFCE - Screen saver and video playback

#9 Post by lucky9 » Tue Feb 11, 2014 4:34 pm

You might try a Cheatcode. IE: noacpi or noapic
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
namida12
Forum Guide
Forum Guide
Posts: 1803
Joined: Sun Apr 01, 2007 4:54 pm

Re: XFCE - Screen saver and video playback

#10 Post by namida12 » Tue Feb 11, 2014 4:58 pm

Code: Select all

Green451@Green451:~/Desktop
$ xset
usage:  xset [-display host:dpy] option ...
    To turn bell off:
	-b                b off               b 0
    To set bell volume, pitch and duration:
	 b [vol [pitch [dur]]]          b on
    To disable bug compatibility mode:
	-bc
    To enable bug compatibility mode:
	bc
    To turn keyclick off:
	-c                c off               c 0
    To set keyclick volume:
	 c [0-100]        c on
    To control Energy Star (DPMS) features:
	-dpms      Energy Star features off
	+dpms      Energy Star features on
	 dpms [standby [suspend [off]]]     
	      force standby 
	      force suspend 
	      force off 
	      force on 
	      (also implicitly enables DPMS features) 
	      a timeout value of zero disables the mode 
    To set the font path:
	 fp= path[,path...]
    To restore the default font path:
	 fp default
    To have the server reread font databases:
	 fp rehash
    To remove elements from font path:
	-fp path[,path...]  fp- path[,path...]
    To prepend or append elements to font path:
	+fp path[,path...]  fp+ path[,path...]
    To set LED states off or on:
	-led [1-32]         led off
	 led [1-32]         led on
	-led named 'name'   led off
	 led named 'name'   led on
    To set mouse acceleration and threshold:
	 m [acc_mult[/acc_div] [thr]]    m default
    To set pixel colors:
	 p pixel_value color_name
    To turn auto-repeat off or on:
	-r [keycode]        r off
	 r [keycode]        r on
	 r rate [delay [rate]]
    For screen-saver control:
	 s [timeout [cycle]]  s default    s on
	 s blank              s noblank    s off
	 s expose             s noexpose
	 s activate           s reset
    For status information:  q
Green451@Green451:~/Desktop
$ 
My screen seems to blank every 15 minutes, annoying when watching a TV show. Looking at my DPMS (Energy Star) and Screen Savers settings I need to change them.

Since I want to watch a TV program, or a film occasionally, I do not need it to persist between boots, but to be a temporary video situation that is easily controlled. I guess somehow this needs to be activated when VLC is opened, or when pointing the web browser to a video site. Beyond my knowledge, to make it automatic using these programs...

Code: Select all

Green451@Green451:~/Desktop
$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  20
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 2940    Suspend: 0    Off: 3000
  DPMS is Enabled
  Monitor is On
Green451@Green451:~/Desktop
$

Post Reply

Return to “General”