If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. **

cd audio as user

After setup of 10.1and following jetblackz's installing and configuring guide for SL10.,I can play music as root. As user in KDE there is sound but get "breaking glass" sound and kscd gives 'no disk' error or 'permission' error--no music. Slackware Handbook not helpful here. Not sure how to give myself permission to play cds as user. I did edit fstab's noauto,owner,ro sexn to noauto,users,ro for both cdrom and cdrom1. Did mkdir /dev/cdrom1. And added ' user' to /etc/group audio,games,cdrom.disk,wheel groups as per SL Handbook lead. Even tried fstab with user instead of users. But after reboots get no music as user. Is there an easier way to get cd music as user. And at one pt lost music as root as well. Forget about trying to record for now..

That way I can right click on the desktop and create a kde link to open my cdrom without having to mess with group permissions. As you can see I triple boot and am able to copy stuff from other os installs. It is a good idea to use the noauto option for cdrom and floppy as the automount function can cause havoc in KDE!
Even so if you have kscd running when you put in a data cd you have to exit kscd to eject the cd properly...it is one of the KDE shortcomings that automount is haywire. Remember that you have to wait 5 seconds after unmounting a volume before you eject the media..this applies to both the cdrom and the floppy...the program mount has a mandatory delay that alows the filesystem write to complete. In NTFS based windows OSes the lack of a file system write time buffer sometimes causes system hangs...so this situation is not just a linux quirk. At least in kde you can get around the hang without having to off processes!

I can understand why Patrick chose to have the safest setting at install but if you are the only user and know why it can be unsafe to alow cd access on a networked computer then it makes sense to not alow it by default. I also make a copy of the shutdown bin from /sbin, and place it in bin then do a chmod u+x /bin/shutdown ....this way I can create a little script that I call byebye.sh

Code:

#!/bin/sh
shutdown -h now

and another called rebooter.sh

Code:

#!/bin/sh
shutdown -r now

if you right click on the scripts you can make them executable through the properties menu....I then save them in a folder in my /home that I call scripts.
After doing that I add them as program items to the system menu in the kde programs menu...add fancy icons and make sure the path is set. That way I have a shutdown and reboot in my user profile ...I also do this for my wife and daughters profiles.