Electricsheep and SMPlayer

Problem: If xscreensaver is disabled from ~/.mplayer/config, electricsheep will not work, since it uses the mplayer engine.
Solution: Create a mplayer profile for SMPlayer different than the default one. Let’s call it “smplayer”. Place the following in ~/.mplayer/config:

# Write your default config options here!

# Disable screensaver.
heartbeat-cmd="xscreensaver-command -deactivate >&- 2>&- &"



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

Now xscreensaver will be disabled only when media is played by SMPlayer.

2 Comments on “Electricsheep and SMPlayer”

  1. […] 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. […]

  2. […] 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 […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s