Scaled electricsheepPosted: 2015-08-07 Filed under: desktop | Tags: electricsheep, fullscreen, mplayer, scale, zoom 1 Comment
I am using Slackware 14.1, but decided to upgrade MPlayer to the version available in -current (20150425 at the moment). I installed the new dependency libvdpau from SBo, although it can be compiled from the script in -current, too. Similarly, I re-compiled and upgraded electricsheep and xscreensaver to their versions in -current.
Everything seems to work just fine, however Electricsheep would display the sheep in a 4:3 fullscreen ratio. I do not know why, may be I missed something. I searched a bit, but could not find a solution, so I decided to modify the
[default] profile of MPlayer, by editing
~/.mplayer/config as follows:
# Write your default config options here! [smplayer] # Disable screensaver. heartbeat-cmd="xscreensaver-command -deactivate >&- 2>&- &" [default] panscan=1.0 #
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.
[…] I have two earlier posts 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 here. […]