Page 1 of 1
Setting up Audio CDs to play automatically on F12
Posted: Fri Apr 09, 2010 2:45 am
by philip_rhoades
People,
How is this done? I would prefer to use LXDE if I can solve a couple of issues (another related post to follow).
Thanks,
Phil.
Re: Setting up Audio CDs to play automatically on F12
Posted: Fri Apr 09, 2010 6:25 pm
by nicoseb
Look at the post right before yours, about screenshot.
It should be easy to make your own F12 function in the file $HOME/.config/openbox/lxde-rc.xml
And you should execute a home made script looking like this
"mplayer cdda:// -cache 5000"
actually no need of a script, if you input that line in the lxde-rc.xml file it should work fine...
Let us know
Re: Setting up Audio CDs to play automatically on F12
Posted: Sat Apr 10, 2010 2:30 pm
by philip_rhoades
nicoseb,
Thanks for the reply but that solution still requires a key press?
I am talking about a CD starting to play as soon as you put it in the drive - like Gnome . .
Thanks,
Phil.
Re: Setting up Audio CDs to play automatically on F12
Posted: Sat Apr 10, 2010 4:02 pm
by maces
Just to get this clear, with F12 you mean Fedora 12?
maces
Re: Setting up Audio CDs to play automatically on F12
Posted: Sun Apr 11, 2010 4:23 pm
by philip_rhoades
Sorry,
Yes, I saw the key mapping stuff and thought the suggestion was for a function key. I had a closer look at the lxde-rc.xml file but I am still not sure where to put the line: "mplayer cdda:// -cache 5000" - and what tag should it have?
Thanks,
Phil.
Re: Setting up Audio CDs to play automatically on F12
Posted: Mon Apr 12, 2010 4:42 pm
by maces
Have a look at the examples:
Code: Select all
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>PCManFM</name>
</startupnotify>
<command>pcmanfm</command>
</action>
</keybind>
you have to but it in "command".
maces
Re: Setting up Audio CDs to play automatically on F12
Posted: Thu Apr 15, 2010 7:15 am
by philip_rhoades
maces,
That still looks like a keybinding to me but I don't know what the "W" in "W-e" would stand for (eg "C-A-d" is understandable). I am looking for an _automatic_ playing of the newly inserted audio CD.
Thanks,
Phil.
Re: Setting up Audio CDs to play automatically on F12
Posted: Thu Apr 15, 2010 5:46 pm
by maces
mhm. don't know, sry.
maces