Page 1 of 1

mplayer on puppy 4.3.1 locks up

Posted: Sun 21 Feb 2010, 10:43
by timcslinux
Hi

I did a search on this issue and found two posts the first actually pointed to the second which is this thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=26511

In the first post it mentions the following:
UPDATE FOR PUPPY 4.0:
- MPlayer will freeze when launched from the JWM menu. To fix this, open /root/.jwmrc in geany and add a space and "&" to the end of the gmplayer launch command, so it looks like this
Code:
<Program label="MPlayer" icon="mplayer.xpm">gmplayer -msglevel all=-1 %U &</Program>

The "&" is not necessary if you create a desktop icon for MPlayer, because this is controlled by ROX, not JWM.
In my .jwmrc for the mplayer I have the following:
<Program label="MPlayer media player" icon="mplayer.xpm">exec mplayershell</Program>
Be it that my line is different I tried the space and & on the end but my mplayer still hangs everything up.

Any ideas on what to do here?

Regards

TimCS

Posted: Sun 21 Feb 2010, 11:55
by tempestuous
Yes, newer versions of JWM react differently to the "&" switch.

Forum member MinHundHettePerro suggests that you should create a launch script. If you don't know how to do this, a quick fix is simply to launch MPlayer from an xterminal (rxvt).
From rxvt, run this command

Code: Select all

gmplayer
If you're using my version of MPlayer then, of course, you must also install MPlayer-extra-libs.pet
as explained here
http://www.murga-linux.com/puppy/viewtopic.php?t=26511

Posted: Sun 21 Feb 2010, 16:13
by timcslinux
tempestuous wrote:Yes, newer versions of JWM react differently to the "&" switch.

Forum member MinHundHettePerro suggests that you should create a launch script. If you don't know how to do this, a quick fix is simply to launch MPlayer from an xterminal (rxvt).
From rxvt, run this command

Code: Select all

gmplayer
If you're using my version of MPlayer then, of course, you must also install MPlayer-extra-libs.pet
as explained here
http://www.murga-linux.com/puppy/viewtopic.php?t=26511

I got it running under your suggestion of typing gmplayer from a terminal. Is the problem down to the reference to the mplayer in the .jwmrc file where it is starting exec mplayershell instead of gmplayer?.

I assume when you mean a launch script , you mean a script with gmplayer as its first line and make it 777 on permissions.

I don't think this is related but I tried to download the extra libs you mentioned using firefox and everytime a child window opens in this program (preferences , download window) it hangs. I am thinking to post this a new thread but didn't know whether it was a related library file.

Regards

TimCS

Posted: Thu 01 Apr 2010, 19:39
by amsk98
same here

Posted: Thu 01 Apr 2010, 21:13
by trapster
Try with a "g" in front of mplayer. ie:

Code: Select all

<Program label="MPlayer" icon="mplayer.xpm">gmplayer -msglevel all=-1 %U &</Program>
Works fine with puppeee 4.3.somethingbeta.something :shock: :D

how i add g

Posted: Fri 02 Apr 2010, 18:35
by amsk98
how i add g plz tell me in baby steps

becuz i am newbie

Posted: Fri 02 Apr 2010, 18:59
by trapster
1. Open rox
2. Left Click on the "eye" icon in the top menu (this shows hidden files).
3. Look for .jwmrc
4. Right click on .jwmrc and select "Open as Text"
( or open a terminal and type geany /root/.jwmrc )
5. while in geany, click on Search/Find from the top menu and type mplayer
6. add "g" to line that has mplayer.
7. Save and exit.
8. You might need to restart jwm.

Posted: Sat 03 Apr 2010, 15:35
by abushcrafter
no no no no no! When menus are refreshed that edit will be lost! Look at my post:
http://www.murga-linux.com/puppy/viewto ... 079#377079
And:
http://www.murga-linux.com/puppy/viewto ... 797#380797