How to auto-start Gxine when Puppy boots

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
evil
Posts: 55
Joined: Sun 20 Nov 2005, 00:25

How to auto-start Gxine when Puppy boots

#1 Post by evil »

Hi all,

I want to run Gxine (multimedia player) on start-up i.e when puppy boots up I want gxine also to appear without me having to type gxine in the command line for example.

So I though of typing 'gxine' in the start-up script /etc/rc.d/rc.local but it doesn't run it.
Am I doing this wrong?? Please help...

Many thanks

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

edit /root/.xinitrc

Before the line
exec $CURRENTWM
enter this:
gxine &
or:
sleep 3 && gxine &

If you forget the "&" in the end, it will block all other applications, so you would have no desktop.
So don't forget the "&" :!:

Mark

evil
Posts: 55
Joined: Sun 20 Nov 2005, 00:25

#3 Post by evil »

That works great.....cheers!!

How can I get it it to load to full screen?
There must be some parameters you can type in but 'man gxine' doesn't really help much!!

Thanks again

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Last edited by MU on Sat 15 Apr 2006, 13:40, edited 3 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

I updated the script, it avoids the 3 second-delay in the beginning now.

Mark

evil
Posts: 55
Joined: Sun 20 Nov 2005, 00:25

#6 Post by evil »

Yeh that works great.....BUT....
I can see the menu down the bottom of the screen i.e the start button etc.
Anyways of hiding this when video is running!!

Many thanks once again.....

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

I think Jwm has an autohide-feature.

edit /root/.jwmrc

there you can replace:

Code: Select all

	<Tray  autohide="false" insert="right" x="0" y="-1" border="1" height="26" >
with:

Code: Select all

	<Tray  autohide="true" insert="right" x="0" y="-1" border="1" height="26" >
Then it should hide automatically.

Mark

User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

#8 Post by eMeRy »

I 've also met this strange thing as xine plays movie fullscreen while jwm tray remains on screen. (It happened with xine-ui, gxine played fine - that had other disadvantage for me.)
The autohide trick works well as Mark explained or you can do it from menu: control panel, jwm configuration, taskbar, tray autohide option. (Un fortunately it does not work for me, but worth a try)
Anyway, after modification you must restart jwm.

It was annoying and inconvenient for me so I changed the window manager to xfce. You'll find more about xfce wm here:
http://www.murga.org/~puppy/viewtopic.p ... light=xfce

Xine and Xfce get on well...

eMeRy

Post Reply