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.

This entry was posted in media and tagged , , . Bookmark the permalink.

2 Responses to Electricsheep and SMPlayer

  1. Pingback: Scaled electricsheep | slackalaxy

  2. Pingback: Multi-threaded MPlayer | slackalaxy

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 )

Google photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s