Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292042 - media-video/smplayer-0.6.8 unable to disable screensaver
Summary: media-video/smplayer-0.6.8 unable to disable screensaver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 02:44 UTC by Seblu
Modified: 2009-12-02 16:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seblu 2009-11-06 02:44:32 UTC
When i check case Disable screensaver in preference option, this change nothing with kde screensaver. Screensaver is runned normally and this is verry boring.

Reproducible: Always

Steps to Reproduce:
1.run smplayer 
2.open and play a vidéo
3.Wait screensaver start
Comment 1 Nebojsa Trpkovic 2009-11-14 14:55:43 UTC
I have the same problem running kde 4.3.3

[ebuild   R   ] media-video/mplayer-1.0_rc4_p20091026-r1  USE="X a52 aac aalib alsa ass cddb cdio cdparanoia dga dirac dts dv dvb dvd dvdnav enca encode faac faad ftp gif iconv jpeg libcaca live lzo mad mmx mmxext mng mp3 network opengl osdmenu oss png quicktime radio rar real rtc samba schroedinger sdl shm speex sse sse2 ssse3 theora toolame tremor truetype twolame unicode v4l v4l2 vorbis x264 xanim xscreensaver xv xvid xvmc -3dnow -3dnowext (-altivec) -bidi -bindist -bl -bs2b -cpudetection -custom-cpuopts -debug -directfb -doc -dxr3 -esd -fbcon -ggi -gmplayer -ipv6 -jack -joystick -ladspa -lirc -md5sum -nas -nut -openal -opencore-amr -pnm -pulseaudio -pvr (-svga) -teletext -tga -vdpau (-vidix) (-win32codecs) -xinerama -zoran" VIDEO_CARDS="nvidia -mga -s3virge -tdfx" 0 kB
[ebuild   R   ] media-video/smplayer-0.6.8  USE="-debug" LINGUAS="sr -ar -bg -ca -cs -de -el -en_US -es -et -eu -fi -fr -gl -hu -it -ja -ka -ko -ku -mk -nl -pl -pt -pt_BR -ro -ru -sk -sl -sv -tr -uk -vi -zh_CN -zh_TW" 0 kB


Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 14 Nov 2009 02:05:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en sr sr@latin"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aften aio alsa amarok amd64 amr amrnb amrwb aotuv apache2 ares asf audacious avi berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups daap dbus dga dri dts dv dvb dvd dvdnav dvdr dvdread encode exif faac faad fam fasttrack ffmpeg firefox flac fontconfig fortran gcc4 gd gdbm geoip geolocation gif gimp gimpprint glitz gnutella gnutls gstreamer h264 hal hashstyle iconv id3tag imagemagick imlib ithreads java javascript jpeg jpeg2k kde kvm lame lcms libcaca libsamplerate lm_sensors logitech-mouse logrotate lzma lzo mad matroska mjpeg mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin nuv nvidia ogg openft opengl openmp oss pam pch pcre pdf pdflib perl phonon png postproc pppd python qemu qt qt3support qt4 quicktime radio rar readline reflection rtc samba sdl session slang smbclient smp speex spl srt sse sse2 sse3 ssl ssse3 startup-notification stream svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 visualization vmware vorbis webkit wma wmf x264 xanim xcomposite xext xine xml xorg xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="azalia" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sr sr@latin" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-12-02 16:34:36 UTC
This is a problem of the screensaver you're using. The disable screensaver option that mplayer uses (smplayer is just a gui frontend for it) follows the proper X API. There are however many screensavers that do not. In those cases you should be able to use mplayer's heartbeat-cmd option (see man 1 mplayer).

In the case of KDE4, it is recommended to add the following line to ~/.mplayer/config (as 1 line):
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity"

See also http://linuxtidbits.wordpress.com/2009/09/08/movietime-stop-powersaving-to-watch-a-movie/