Been seeing this for a while, several Debian based distros, I’m always using Mate.
Asking here because I’ve installed Ubuntu-Mate at 18.04 x64.
My issue:
[quote]
Launch MPlayer via vitual console,
or click mPlayer icon in Mate,
or right click a compatible media file and select mPlayer,
All methods produce same results, repeats 100%.
Within a second or so, first error message and clearing that, a second error message.
First error message:
“Error in skin config file at line 6: PNG read error in /usr/share/mplayer/skins/default/main”
The only button in this dialog is ‘Ok’. Click Ok.
Second error message:
“Config file processing error with skin ‘default’”.
The only button in this dialog is ‘Ok’. Click Ok.
no further messages, no MPlayer windows.[/quote]
Here is a virtual console session I just ran before trying any edits (in other words, default as installed).
[code]
mmmmna@3GHz-MCP61SM2MA:~$ gmplayer
MPlayer 1.2.1 (Debian), built with gcc-5.3.1 © 2000-2016 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Error in skin config file at line 6: PNG read error in /usr/share/mplayer/skins/default/main
Config file processing error with skin ‘default’
Exiting… (Fatal error)
mmmmna@3GHz-MCP61SM2MA:~$
mmmmna@3GHz-MCP61SM2MA:~$
mmmmna@3GHz-MCP61SM2MA:~$
mmmmna@3GHz-MCP61SM2MA:~$ gmplayer --help
Usage: mplayer [options] [url|path/]filename
Basic options: (complete list in the man page)
-vo select video output driver (’-vo help’ for a list)
-ao select audio output driver (’-ao help’ for a list)
vcd:// play (S)VCD (Super Video CD) track (raw device, no mount)
dvd:// play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x -y set display resolution (for use with -vm or -zoom)
-sub specify subtitle file to use (also see -subfps, -subdelay)
-playlist specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)
Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
down or up seek backward/forward 1 minute
pgdown or pgup seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program[/code]
Seems silly that the included, default skin file cannot be loaded. Was it included in a broken state? I would be open to correcting this matter via using a different skin, since there are 4 skins included, but the cli --help response didn’t indicate how to select a particular skin.
Libre Office Draw can open the exact file /usr/share/mplayer/skins/default/main.png.
The config file ~/.mplayer/config is essentially empty.
man gmplayer shifts me to man mplayer.
man mplayer, when grepped, includes the word skin, but seems to ask for a directory as a variable while the error message declares a file in the directory has the error.
I’ve edited my ~/.mplayer/config file to read as follows:
mmmmna@3GHz-MCP61SM2MA:~/Music$ cat ~/.mplayer/config
# Write your default config options here!
-skin /usr/local/share/mplayer/skins/Blue/
Launching from a virtual console causes this:
mmmmna@3GHz-MCP61SM2MA:~/Music$ gmplayer Gaudi-Bass\ Sweat\ and\ Tears-Babylon\ Flamenco-World\ Music.flac
Option -skin needs a parameter at line 3
mmmmna@3GHz-MCP61SM2MA:~/Music$
I tried a few more things in ~/.mplayer/config, but not getting beyond needing that line 3 parameter.
Can anyone post what actually cures this?