Fails to open due to: PNG read error in /usr/share/mplayer/skins/default/main

People have been able to fix the problem with Paul Andreassen's workaround but I can't do one step.

Here is the work around-

As #8 Gianni Delchi wrote:

cd /usr/share/mplayer/skins/default; for FILE in *.png ; do sudo convert $FILE -define png:format=png24 $FILE ; done

I also recommend you change to the blue skins with:

cd /usr/share/mplayer/skins ; sudo rm default ; sudo ln -s Blue default

These also need the first command run on them.

But I am not able to

do sudo convert $FILE -define png:format=png24 $FILE ; done

Do I have to write in terminal ?


Gianni's solution, as described above, worked for me. Any '.png' file in the 'default' directory needs 'convert' run on it.

sudo apt-get install imagemagick
cd /usr/share/mplayer/skins/default
for FILE in *.png; do sudo convert $FILE -define png:format=png24 $FILE; done
  • I saw a similar solution elsewhere, but in multiple lines: The problem was a newline before the *.png – Volker Siegel Oct 2 '18 at 14:37

I went to the Software Manager in Linux Mint, installed gnome-mplayer, and then launched that instead; and, it didn't give me an error.

So, that's what fixed it for me. Also installed and launched smplayer without a problem; so, that may be an alternative solution.

  • We're sorry, but this site is all about Ubuntu and its official derivatives as posted on wiki.ubuntu.com/Releases so Mint is off-topic here as well. However, on Unix & Linux, a sister site to Ask Ubuntu, they're very good at all varieties of Linux and Unix, so you might be better off there. ;-) – Fabby Oct 6 '15 at 20:24

Open a terminal via Ctrl-Alt-T and use the commands below.

Use the lines one by one to avoid confusion

cd /usr/share/mplayer/skins/default
for FILE in *.png; do sudo convert "$FILE" -define png:format=png24 "$FILE"; done
cd /usr/share/mplayer/skins; sudo rm default; sudo ln -s Blue default

For later readers, you have to install the package mplayer-skins first.

sudo apt-get install mplayer-skins

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.