Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It shouldn't be. I would expect you would get a desktop notification and offering you a choice of options to play the music in a given application etc.
Yes, I expected exactly that too....
But, sadly for me - that doesn't happen.
It only happens ONLY when I insert an SD or USB storage device
There seems to be a problem on my machine, but what?
Unfortunately, I can't test this with my current environment. I have no such hardware. You could try casting your support net wider by posting in the KDE Neon forum perhaps https://forum.kde.org
or maybe https://www.kubuntuforums.net
Never thought that trying to play a music CD can be so much hard work in Linux KDE Plasma
Thanks for your time and your true help. I am dropping the idea
Well, I hardly ever play CDs anymore, but I just tested it and it still works. I used 'mpv cdda://' but YMMV.
As ferrari said, it should work. It certainly works for millions of Linux users, and thousands of KDE Plasma users.
I just had a look at your previous threads; a lot of them remain unsolved, apparently because you do not understand or do not follow our requests. So I think your problem is ultimately not technical, but one of communication.
Two of the most recent unsolved ones concern missed updates; maybe your system is half broken?
Well, I hardly ever play CDs anymore, but I just tested it and it still works. I used 'mpv cdda://' but YMMV.
As ferrari said, it should work. It certainly works for millions of Linux users, and thousands of KDE Plasma users.
I just had a look at your previous threads; a lot of them remain unsolved, apparently because you do not understand or do not follow our requests. So I think your problem is ultimately not technical, but one of communication.
Two of the most recent unsolved ones concern missed updates; maybe your system is half broken?
Yes, I am still new with Linux and many times I am unable to follow - for example, you casually write to me :
I used 'mpv cdda://' but YMMV.
What does it mean?
For a while that I think that my system is broken, but
1) I have a New Lenovo laptop - on it, I also can't play a CD
2) I also don't play CD's anymore, just trying to help a friend to copy music from it to a computer, that's how I got to find out the problem.
3) If I want to wype out my PC and start all over again, where do I start?
4) I have a daily cron job backup that backs up to an external drive -all the directories that I created
5) I also have a weekly system backup, but I will not want to use it, it will no doubt bring back some bad things if I do
Unfortunately, I can't test this with my current environment. I have no such hardware. You could try casting your support net wider by posting in the KDE Neon forum perhaps https://forum.kde.org
or maybe https://www.kubuntuforums.net
Please see my response to ondoho, I think I have to wipe out and start all over again
It seems my problem is too much for any of you to be able to figure out....
Please see my response to ondoho, I think I have to wipe out and start all over again
Ok, your choice, although I doubt it will help.
Quote:
It seems my problem is too much for any of you to be able to figure out....
It's more a case of not being over your shoulder (or direct access) to your PC. Things like this can be challenging to diagnose at a distance.
This will show devices currently configured to be notified...
Code:
cat ~/.config/plasmanotifyrc
This will show places configured in the Dolphin 'Places' side panel...
Code:
cat ~/.local/share/user-places.xbel
I could try guiding you to having a music app launch on detection if you like. No promises though. It involves adding a device action via System Settings > Hardware > Removable Storage
It's more a case of not being over your shoulder (or direct access) to your PC. Things like this can be challenging to diagnose at a distance.
This will show devices currently configured to be notified...
Code:
cat ~/.config/plasmanotifyrc
This will show places configured in the Dolphin 'Places' side panel...
Code:
cat ~/.local/share/user-places.xbel
I could try guiding you to having a music app launch on detection if you like. No promises though. It involves adding a device action via System Settings > Hardware > Removable Storage
To me, I look at it as a donkey into a carrot soup. I am happy to do whatever you say, it will be good if you can guide me, yes I know that you are not here (I have some good coffee...)
This might help with seeing what actions solid (KDE device integration framework) has configured to handle various devices...
Code:
ls -l /usr/share/solid/actions/
The .desktop files contained there describe the actions needed to handle various devices. For example, I have the dragon music player, and so I have....
Code:
~> cat /usr/share/solid/actions/dragonplayer-openaudiocd.desktop
[Desktop Entry]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
Type=Service
Actions=open;
[Desktop Action open]
Name=Play Audio CD using Dragon Player
<other languages here>
Exec=dragon --play-dvd
Icon=dragonplayer
This might help with seeing what actions solid (KDE device integration framework) has configured to handle various devices...
Code:
ls -l /usr/share/solid/actions/
The .desktop files contained there describe the actions needed to handle various devices. For example, I have the dragon music player, and so I have....
Code:
~> cat /usr/share/solid/actions/dragonplayer-openaudiocd.desktop
[Desktop Entry]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
Type=Service
Actions=open;
[Desktop Action open]
Name=Play Audio CD using Dragon Player
<other languages here>
Exec=dragon --play-dvd
Icon=dragonplayer
Maybe you just need to install a music player?
When I run the command, I get the following. I have VLC installed, is that not a music player? Should I get that Dragon? where?
I don't expect you to necessarily understand what it all means. If you were to examine the vlc-*.dekstop files, you'd see the actions don't likely match for a CD. This is easier for you to see/understand using the KDE GUI ( System Settings > Hardware > Removable Storage).
I'm not a kubuntu user, but you should perhaps read this guide about the distro you've chosen to use so that you can become more familiar with it. In particular, the section about installing applications...
I don't expect you to necessarily understand what it all means. If you were to examine the vlc-*.dekstop files, you'd see the actions don't likely match for a CD. This is easier for you to see/understand using the KDE GUI ( System Settings > Hardware > Removable Storage).
I'm not a kubuntu user, but you should perhaps read this guide about the distro you've chosen to use so that you can become more familiar with it. In particular, the section about installing applications...
I am using VLC to convert audio file formats, I will try to remove it. Since we last exchanged messages, I installed Dragon player, it plays my CD OK, but when it comes up - At the bottom left it says "No Media Loaded" but the drive has the CD in it and it plays it when I click "Play Disc"
I will read the links you provided
What do you think, should I reinstall a fresh distro on top?
I am using VLC to convert audio file formats, I will try to remove it.
Why remove it?
Quote:
Since we last exchanged messages, I installed Dragon player, it plays my CD OK, but when it comes up - At the bottom left it says "No Media Loaded" but the drive has the CD in it and it plays it when I click "Play Disc"
Ok, a little strange but it is working. Perhaps that message relates to USB storage media or similar. I really don’t know.
Quote:
I will read the links you provided
Good. Learning is part of the fun.
Quote:
What do you think, should I reinstall a fresh distro on top?
Thanks again
Alex
That is up to you, although I wouldn’t expect this drastic step to be helpful in any way.
Now that you have Dragon Player installed, please check 'Device Actions' via the KDE System Settings (as described already). Is there an entry 'Play Audio CD Dragon using Dragon Player'? I'm just keen to understand if this launches automatically when you first put an audio CD in, or whether you have to start it manually?
Now that you have Dragon Player installed, please check 'Device Actions' via the KDE System Settings (as described already). Is there an entry 'Play Audio CD Dragon using Dragon Player'? I'm just keen to understand if this launches automatically when you first put an audio CD in, or whether you have to start it manually?
First test - Before inserting a CD into the drive
Code:
alex@alex-nuc8i7hnk:~$ ls -l /usr/share/solid/actions/
total 32
-rw-r--r-- 1 root root 2520 Aug 5 07:56 dragonplayer-openaudiocd.desktop
-rw-r--r-- 1 root root 3410 Aug 5 07:56 dragonplayer-opendvd.desktop
-rw-r--r-- 1 root root 3307 Aug 5 07:52 gwenview_importer_camera.desktop
-rw-r--r-- 1 root root 3424 Aug 5 07:52 gwenview_importer.desktop
-rw-r--r-- 1 root root 2659 Aug 5 07:56 solid_audiocd.desktop
-rw-r--r-- 1 root root 2013 Aug 5 07:40 solid_camera.desktop
-rw-r--r-- 1 root root 1994 Aug 5 07:41 solid_mtp.desktop
-rw-r--r-- 1 root root 3778 Aug 31 21:52 test-predicate-openinwindow.desktop
The list of files there won't change. I was really just asking if dragon player started automatically, but from your post I can tell that at least it can play the audio CD when requested manually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.