Electricsheep and SMPlayerPosted: 2012-06-04 Filed under: media | Tags: electricsheep, mplayer, slackware 2 Comments
xscreensaver is disabled from
electricsheep will not work, since it uses the
Solution: Create a mplayer profile for SMPlayer different than the default one. Let’s call it “smplayer”. Place the following in
# Write your default config options here! [smplayer] # Disable screensaver. heartbeat-cmd="xscreensaver-command -deactivate >&- 2>&- &" [default] #
Note there should be an empty line below the default profile.
Make SMPlayer use its dedicated profile:
Preferences > Advanced > Options for MPlayer > Options: -profile smplayer
xscreensaver will be disabled only when media is played by SMPlayer.
[…] This workaround does the job: it scales the video to fit the screen. Note that there should be an empty line below it. I did not find a way to specify a custom profile to be used with Electricsheep, so this should apply for everything that MPlayer runs. The [smplayer] profile was discussed previously. […]
[…] regarding my MPlayer configuration. The heartbeat-cmd option, part of the [smplayer] profile is discussed here. The reason for putting the panscan option in the [default] profile is explained […]