LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-01-2015, 10:10 AM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by metaschima View Post
Just get the source code from here:
http://www.mplayerhq.hu/design7/dload.html

Run:
Code:
CFLAGS= ./configure
make
su
make install
This will build mplayer without any gui. This is the way I prefer it too, mostly because of all the error messages that it spams if you turn the gui on.
Now there's a thought.
 
Old 08-01-2015, 10:55 AM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by metaschima View Post
Just get the source code from here:
http://www.mplayerhq.hu/design7/dload.html

Run:
Code:
CFLAGS= ./configure
make
su
make install
This will build mplayer without any gui. This is the way I prefer it too, mostly because of all the error messages that it spams if you turn the gui on.
That'll do er' Just added a desktop file to applications dir and boom right click on movie then off she goes

thanks
Attached Thumbnails
Click image for larger version

Name:	MPLAYER-Slack-screenFetch-2015-08-01_10-53-43.jpg
Views:	37
Size:	137.1 KB
ID:	19062  
 
Old 08-01-2015, 12:35 PM   #18
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
@Dman58, I meant it only shows the video screen, with no buttons on a separate GUI. The OP is attempting to get rid of that separate GUI.

@BW-userx, again, you do not need to do anything special. All you need to do is open a terminal, type "mplayer filename", and it will play without any GUI. You can then make a shortcut to "mplayer" on the desktop and it will come up without any GUI.

Last edited by oldtechaa; 08-01-2015 at 09:35 PM. Reason: Original was a little harsh.
 
Old 08-01-2015, 12:45 PM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by oldtechaa View Post
@Dman58, I meant it only shows the video screen, with no buttons on a separate GUI. The OP is attempting to get rid of that separate GUI.

@BW-userx, again, you do not need to do anything special. All you need to do is open a terminal, type "mplayer filename", and it will play without any GUI. You can then make a shortcut to "mplayer" on the desktop and it will come up without any GUI.
Ok .. but I did the got rid of the slackware / slackbuild install then installed via svn source code - then created a mplayer.desktop in ../applications/ now I can still right click off the file manager and open Mplayer with what ever movie I pick / right click on .. with out that seperate gui controls being in the way when I'm in i3 or dwm.
thanks
 
Old 08-01-2015, 06:16 PM   #20
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by BW-userx View Post
then created a mplayer.desktop in ../applications/ now I can still right click off the file manager and open Mplayer with what ever movie I pick / right click on .. with out that seperate gui controls being in the way when I'm in i3 or dwm.
thanks
That actually brings to mind a simpler solution that didn't occur to me before. You could have edited /usr/share/applications/mplayer.desktop and changed:

Code:
TryExec=gmplayer
Exec=gmplayer F
to:

Code:
TryExec=mplayer
Exec=mplayer F
Remember, gmplayer has the controls in a separate window; mplayer is one-window and skinless.

Last edited by dugan; 08-01-2015 at 06:52 PM.
 
Old 08-01-2015, 09:36 PM   #21
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
@BW-userx, sorry to be harsh with the bold text. I just wanted to repeat that Slackware comes with everything you need to just use mplayer or gmplayer, depending on what you want.
 
Old 08-02-2015, 03:14 PM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by dugan View Post
That actually brings to mind a simpler solution that didn't occur to me before. You could have edited /usr/share/applications/mplayer.desktop and changed:

Code:
TryExec=gmplayer
Exec=gmplayer F
to:

Code:
TryExec=mplayer
Exec=mplayer F
Remember, gmplayer has the controls in a separate window; mplayer is one-window and skinless.
I did some of that changing mplayers desktop from gmplayer to mplayer did not work - it had a link from one to the other, so I removed the link and it didn't work per se, was in such a hurry not putting the thought into it as to how MPlayer works off the command line, too use to other programs biinging up a gui if one types the program name in the command line, mplayer didn't so I just kept on trying other things until it lead me to just installing the svn then my mind popped a thought into it, it needs a desktop file, created it then everything is bobs your uncle ...

---------- Post added 08-02-15 at 03:15 PM ----------

Quote:
Originally Posted by oldtechaa View Post
@BW-userx, sorry to be harsh with the bold text. I just wanted to repeat that Slackware comes with everything you need to just use mplayer or gmplayer, depending on what you want.
yep no harhness taken I already marked solved --
 
Old 08-03-2015, 07:12 AM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Just an addition, in case someone comes to this thread via Google. gmplayer doesn't have a "default" skin it will fall back on. It requires a skin to function. That is why removing the directory caused the errors about no skin.
 
Old 08-03-2015, 08:26 AM   #24
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
Just an addition, in case someone comes to this thread via Google. gmplayer doesn't have a "default" skin it will fall back on. It requires a skin to function. That is why removing the directory caused the errors about no skin.
which is oddly odd they need to fix that, but with MPlayer that directory can be empty (correct me if I am wrong) and MPlayer will still work.
example taken from VOidLiNux

Code:
#these are all of the directories that contain MPlayer

void.doid.net:/etc/mplayer# find / -name mplayer
/etc/mplayer
/usr/bin/mplayer
/usr/share/examples/mplayer
/usr/share/mplayer
/home/userx/dev/void-packages-master/srcpkgs/mplayer

#When I peek into them we see their is no directory for skins.

void.doid.net:/etc/mplayer# ls /etc/mplayer
codecs.conf  input.conf

void.doid.net:/etc/mplayer# ls /usr/bin/mplayer
/usr/bin/mplayer

void.doid.net:/etc/mplayer# ls /usr/share/examples/mplayer
example.conf


void.doid.net:/etc/mplayer# ls /usr/share/mplayer
subfont.ttf
yet my MPlayer still plays with a window even though I have no skins directory or skin associated with it by default install.

so gmplayer is the one that will get you into trouble if one wants to go borderless and use their keyboard and mouse to control their MPlayer.

I found the easiest way is to just rid yourself of what ever is installed this way it will clean up all of the conf files if you purge it properly first. then Just install MPlayer all by itself, and if it did not install an mplayer.desktop then all you have to do is go into
Code:
/usr/share/applications
then pick yourselve a desktop file that comes close to a movie player then just change the information accordingly.

example: this is my mplayer.desktop with no skins. just change the applicable entries to reflec the information that is needed to make your template desktop into a mplayer.desktop.

Code:
[Desktop Entry]
Type=Application
Name=MPlayer Media Player
Name[ca]=Reproductor multimdia MPlayer
Name[pl]=MPlayer odtwarzacz multimedialny 
GenericName=Multimedia player
Comment=Play movies and songs

Comment[ca]=Reproduu vdeos i canons
Comment[de]=Filme und Musik abspielen
Comment[es]=Reproduzca vdeos y canciones
Comment[fr]=Lecteur multimdia
Comment[it]=Lettore multimediale
Comment[zh]=
Comment[pl]=Odtwarzaj filmy i muzyk
Icon=mplayer
TryExec=mplayer
Exec=mplayer F
Terminal=false
NoDisplay=true
Categories=GTK;AudioVideo;Audio;Video;Player;TV;
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/mp4;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-flv;video/x-theora;video/x-matroska;

Last edited by BW-userx; 08-03-2015 at 08:47 AM.
 
Old 08-03-2015, 09:34 AM   #25
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by BW-userx View Post
which is oddly odd they need to fix that, but with MPlayer that directory can be empty (correct me if I am wrong) and MPlayer will still work.
The mplayer executable doesn't have a "GUI", so it doesn't require a skin (it can't even accept a skin). The gmplayer executable is a basic GUI (with controls you can click with your mouse) that does require a skin, because the mplayer developers never specified a default skin in the code, so it requires external skins. As much as you'd think this is a bug, it is intended.

But as far as I know, gmplayer is mostly unmaintained and was never really suggested for use. If you do want a GUI, most would suggest using a different frontend that uses mplayer as the backend (I use smplayer for this). But in your case, just make sure that your system uses the mplayer binary instead of gmplayer (which it seems you already have). You can also recompile mplayer without the --enable-gui option, and gmplayer won't be built.
 
Old 08-03-2015, 12:47 PM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
The mplayer executable doesn't have a "GUI", so it doesn't require a skin (it can't even accept a skin). The gmplayer executable is a basic GUI (with controls you can click with your mouse) that does require a skin, because the mplayer developers never specified a default skin in the code, so it requires external skins. As much as you'd think this is a bug, it is intended.

But as far as I know, gmplayer is mostly unmaintained and was never really suggested for use. If you do want a GUI, most would suggest using a different frontend that uses mplayer as the backend (I use smplayer for this). But in your case, just make sure that your system uses the mplayer binary instead of gmplayer (which it seems you already have). You can also recompile mplayer without the --enable-gui option, and gmplayer won't be built.
cool beans, It is said that the gmplayer is not or has not been maintanined. let go off to pasture. but with this abiltiy to use frount ends with it I do guess that is why. as I do have a front end for Mplayer. that reminds me of VCL with the controls attached to the screen. but I got to using the just Mplayer with its borderless look and got to liking it. that is why I set off to figuring out how to rid myself of it. then slowly discovered that it has this gmplayer thing that is attched to it. not really paying it much mind, too busy trying toget rid of it. that is how I ended up with what I have now, too learnig that MPlayer is just a command line app that does not create a window until it had loaded a movie file first, or music too I do suppose. I don't use it for music. unless it is being used for a back end to audasious.

that link too explains to me why I could not get just mplayer to accept a skin when looking to attach one to my linux system that does not suppy gmplayer.


if it works I don't usally check under the hood to see whats running it. Its when I want to give it a tune up is when all of the confustion and questions come. that pretty much sums it up for me.

Last edited by BW-userx; 08-03-2015 at 12:55 PM.
 
  


Reply

Tags
mplayer, skin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Almost naked debian6 needs network. eeluve Linux - Newbie 5 10-16-2012 08:42 AM
Naked DSL Questions. shorty_boy General 3 01-19-2009 06:26 AM
MS VC++ __declspec(naked) SteQve Programming 7 03-08-2005 10:53 AM
Installation of 7.3 on a naked 560e visamark Linux - Newbie 1 08-17-2002 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration