pCD 1.5 - CD-audio player
please look at the picture below. that's the event-manager (version in 4.10).
activate both items might do the trick.
aragon
activate both items might do the trick.
aragon
- Attachments
-
- eventm.png
- (37.71 KiB) Downloaded 837 times
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
my guess would be to edit /usr/local/bin/defaultmediaplayer like this
Don't really know till you try.
Code: Select all
#!/bin/sh
#exec gxineshell "$@"
exec pCD "$@"
yes but 4.2 has also defaultmusicplayer (maybe defaultaudioplayer) which is set to pmusic i think.
aragon
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
1 Searched for files with default in their name.
2. No file found named defaultaudioplayer, or anything similar.
3. Only /usr/local/bin/defaultmediaplayer found.
Made the suggested changes, but all that did was result in NO autoplay of ANY audio/media player.
4. Put things back as they had been and Xfmedia player now autoplays as previously.
2. No file found named defaultaudioplayer, or anything similar.
3. Only /usr/local/bin/defaultmediaplayer found.
Made the suggested changes, but all that did was result in NO autoplay of ANY audio/media player.
4. Put things back as they had been and Xfmedia player now autoplays as previously.
Maybe we should have defaultcdplayer, defaultcdripper, defaultcdburner and defaultdvdplayer as well.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Sylvander, thank you for your support. About 70% of people I introduce Puppy Linux to return to Windows OS. I ask them why. Once of the constant replies I get is "I just want the damn thing to play a cd when I put one in, is that too much to ask?"....amongst several others.
I think our efforts as Linux Developers are best spent making a Linux Starter Distro as immediately easy to use as Windows....and leave manual-reading to those who have an interest in knowing how Linux works (and they eventually will) to read the manual.
The thing is....I dont personally care a jot whether it plays CD automatically or not...I just Ive seen a lot of new Linux users that do. Any "Product", free or commercial, is doomed to failure if it does not listen to its "target market".
If our aim is to be "friendly to Linux Newbies", then we should not expect them to embark on learning curves for them to be able to be able to do the things Windows did for them automatically. They see "Plays CD's without needing to read a manual" as a "feature".01micko wrote:I think our efforts would be better spent on other issues
I think our efforts as Linux Developers are best spent making a Linux Starter Distro as immediately easy to use as Windows....and leave manual-reading to those who have an interest in knowing how Linux works (and they eventually will) to read the manual.
The thing is....I dont personally care a jot whether it plays CD automatically or not...I just Ive seen a lot of new Linux users that do. Any "Product", free or commercial, is doomed to failure if it does not listen to its "target market".
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
We could really do without the hyperbole.
"Menu->Multimedia->pCD CD-audio player" involves reading a menu, not a manual.
You're not asking for Puppy to be made easier, you're either asking for him to be made more automatic, or more like Windows, either of which is OK.
"Menu->Multimedia->pCD CD-audio player" involves reading a menu, not a manual.
You're not asking for Puppy to be made easier, you're either asking for him to be made more automatic, or more like Windows, either of which is OK.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Okay, so I:
1. Changed the event manager settings to automatically run the handler when a disk is inserted, as described above.
2. Opened /usr/local/bin/drive_all and changed line 137 (I'm in Puppy 4.1.1, but my event manager is probably not stock) to start pcd
3. Inserted an audio CD. It didn't work.
4. Restarted my computer in case it made my (probably non stock) event manager actually respect the automatically run handler setting.
5. Inserted an audio CD, and pCD opened.
So it should be very straightforward - you just need to write a new handler dialogue to give you the choice of what to do instead.
1. Changed the event manager settings to automatically run the handler when a disk is inserted, as described above.
2. Opened /usr/local/bin/drive_all and changed line 137 (I'm in Puppy 4.1.1, but my event manager is probably not stock) to start pcd
Code: Select all
...
1) #audio
ln -snf /dev/${ONEDRVNAME} /dev/cdrom
exec pcd
;;
4. Restarted my computer in case it made my (probably non stock) event manager actually respect the automatically run handler setting.
5. Inserted an audio CD, and pCD opened.
So it should be very straightforward - you just need to write a new handler dialogue to give you the choice of what to do instead.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
a. Not sure I follow instructions in step 1, but the correct boxes are ticked in the "Event Manager".
b. Carried out steps 2 through 5, but all that happens is that there is now NO autoplay of ANY audio/media player.
c. Now restoring copy of previous /usr/local/bin/drive_all file.
d. Restarted xwin ["Ctrl+Alt+backstep" then xwin], and Xfmedia now autoplays as originally.
b. Carried out steps 2 through 5, but all that happens is that there is now NO autoplay of ANY audio/media player.
c. Now restoring copy of previous /usr/local/bin/drive_all file.
d. Restarted xwin ["Ctrl+Alt+backstep" then xwin], and Xfmedia now autoplays as originally.
I presume in step 2 you found the place in the file that looked the same as the fragment I posted except it didn't run pcd?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Almost [but not quite] perfect success!
1. Found the following 3 lines [129 to 131] in the old copy of /usr/local/bin/drive_all file.
2. Replaced those 3 lines with:
3. Now when I close the drawer with an audio CD in...
pCD opens, but doesn't play.
It's necessary to click on the play button, and then the 1st track plays.
Would be better if it autoplayed the 1st track, followed by all the others.
1. Found the following 3 lines [129 to 131] in the old copy of /usr/local/bin/drive_all file.
Code: Select all
1) #audio
ln -snf /dev/${ONEDRVNAME} /dev/cdrom
exec defaultmediaplayer cdda://
Code: Select all
1) #audio
ln -snf /dev/${ONEDRVNAME} /dev/cdrom
exec pcd
pCD opens, but doesn't play.
It's necessary to click on the play button, and then the 1st track plays.
Would be better if it autoplayed the 1st track, followed by all the others.
I am of the opinion, if playing an audio cd is to be the default action when a cd is inserted, that it should be an option. I don't always want to play my cd. I may want to rip it with pcdripper or ripoff or copy it with Pburn.
Rob, maybe I should have said that earlier . I feel many people would would echo my opinion. This is why I said that it wouldn't be worth pursuing.
Just my 2 cents.
Rob, maybe I should have said that earlier . I feel many people would would echo my opinion. This is why I said that it wouldn't be worth pursuing.
Just my 2 cents.
Puppy Linux Blog - contact me for access
Well Done Sylvander/Zigbert! A significant contribution to "just works", and another reason for people not to throw away an old P.C. It can now be used as a simple CD player, by those with *no previous linux knowledge*.
Im actually on a clients machine now with only puppy 2.15ce (without hotplug), so I cannot test. 01Micko, yes I see that there is a case for people that wish to customize their system or use particular apps for playing/ripping. pCD has a "rip" function included now, so this covers the two main functions that are possible/desired by users when they insert a CD. For someone new to linux, with no previous knowledge, finding out how to do that would involve many hours of research (especially if it involves editing BASH scripts).
Overall I believe having pcd open and play the cd (with the rip button visible) would at least do the most commonly desired option (to play the cd) and the audio from it would act at least as a confirmation to the user that the correct disk was entered before they pressed the "rip" button if so desired.
Doing nothing is not an option
Im actually on a clients machine now with only puppy 2.15ce (without hotplug), so I cannot test. 01Micko, yes I see that there is a case for people that wish to customize their system or use particular apps for playing/ripping. pCD has a "rip" function included now, so this covers the two main functions that are possible/desired by users when they insert a CD. For someone new to linux, with no previous knowledge, finding out how to do that would involve many hours of research (especially if it involves editing BASH scripts).
Overall I believe having pcd open and play the cd (with the rip button visible) would at least do the most commonly desired option (to play the cd) and the audio from it would act at least as a confirmation to the user that the correct disk was entered before they pressed the "rip" button if so desired.
Doing nothing is not an option
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
ecomoney wrote:
...
Yes, let's leave learning and thinking out of it.If our aim is to be "friendly to Linux Newbies", then we should not expect them to embark on learning curves for them to be able to be able to do the things Windows did for them automatically.
...
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
1. "let's leave learning and thinking out of it"
Ever since I 1st got a PC at Xmas 2006. I've been thinking and learning on that topic EVERY SINGLE DAY.
But that's a necessity as dictated by NEED, NOT the object of the exercise.
And my wife and 3 "kids" [born 1975, 1979, 1984] refuse to expend the effort that I do in learning about PC's.
They are ordinary PC users; I'm an "enthusiast".
I'm struggling to get them to take an interest in Puppy Linux, making backups, etc, so I need additional difficulties on things that aught to be simple, like I need a hole in the head.
Ever since I 1st got a PC at Xmas 2006. I've been thinking and learning on that topic EVERY SINGLE DAY.
But that's a necessity as dictated by NEED, NOT the object of the exercise.
And my wife and 3 "kids" [born 1975, 1979, 1984] refuse to expend the effort that I do in learning about PC's.
They are ordinary PC users; I'm an "enthusiast".
I'm struggling to get them to take an interest in Puppy Linux, making backups, etc, so I need additional difficulties on things that aught to be simple, like I need a hole in the head.
Can somebody please explain to me what on earth learning and thinking have to do with it?
Or 30 seconds of reading the menu?
?For someone new to linux, with no previous knowledge, finding out how to do that would involve many hours of research
Or 30 seconds of reading the menu?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER