[SOLVED] Slackware 14.2 Bug Screensaver Stops Mplayer From Playing
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 14.2 Bug Screensaver Stops Mplayer From Playing
I'm running Slackware 14.2 on a AMD Quad core desktop and all was well after a fresh install until yesterday.
When the screensaver activates it locks up/pauses Mplayer and the music stops playing.
The only way I can get the music or video to start playing again is to click on the small blue box on the player and drag it across the horizontal line.
I looked through the settings in the Screensaver and the Tools on Mplayer but didn't find anything I could change to control what's going on.
When I was running 14.1 the screensaver would come up the Mplayer would pause for 1 or 2 seconds and the music would resume.
I don't know the first thing about fixing bugs so any suggestions are welcome.
when I use mplayer, to listen to audio o watch movies, I don't want xscreensaver to kick in at all, so I personally made a wrapper to kill xscreensaver when launching mplayer and restart it when I close mplayer.
I added this to my ~/.bashrc
Code:
function mplayerwrap {
xscreensaver-command -exit
xset -dpms
mplayer "$@"
xset +dpms
xscreensaver &
}
# make wrapper execute by default
alias mplayer="mplayerwrap"
the only corner case with this is if you launch multiple mplayer: when you exit the first, xscreensaver get started again...
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125
Rep:
Quote:
Originally Posted by allend
There is a setting in gmplayer under Misc to turn off XScreenSaver.
Ditto SMPlayer, but recently I've noticed it no longer works and when the screensaver kicks in it hangs the video. The only way out is to kill SMPlayer and restart the video (and drag the progress bar over to where it left off).
Edit in: Just FYI, this started before the release of Slackware-14.2 and the 4.4.14 kernel.
Last edited by cwizardone; 07-10-2016 at 11:03 AM.
when I use mplayer, to listen to audio o watch movies, I don't want xscreensaver to kick in at all, so I personally made a wrapper to kill xscreensaver when launching mplayer and restart it when I close mplayer.
I added this to my ~/.bashrc
I'll think about editing my .bashrc but I don't really want to disable the screensaver.
This might be the only choice until this issue is fixed.
Are you opposed to using a gui frontend? As allend and cwizardone mentioned, many frontends provide you the ability to disable the screensaver during playback.
But I just installed smplayer to check their mplayer command, and if you call mplayer by hand, you can add "-stop-xscreensaver" as an option to, well, obviously, stop xscreensaver.
Are you opposed to using a gui frontend? As allend and cwizardone mentioned, many frontends provide you the ability to disable the screensaver during playback.
But I just installed smplayer to check their mplayer command, and if you call mplayer by hand, you can add "-stop-xscreensaver" as an option to, well, obviously, stop xscreensaver.
No, not opposed just don't want to permanently disable the screensaver.
I'm thinking I could increase the time on it till the movie or music I'm listening to is over.
If I edit the .bashrc with what ponce has listed in code tags how would I restart the xscreensaver?
Go into xscreensaver and re-set it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.