LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   auto cd detection and kaffeine (http://www.linuxquestions.org/questions/suse-novell-60/auto-cd-detection-and-kaffeine-396258/)

foustware 12-24-2005 12:24 PM

auto cd detection and kaffeine
 
hello everyone. i was wondering how to configure suseplugger to launch :

kaffeine -p "AudioCd"

when i place a cd in my drive. at first, it wanted to use kscd by default. when i clicked configure, it just showed me a list of all the default apps for different media. i couldn't
select what i wanted so i just deleted the commands for the other apps and left

kaffeine -p "AudioCd"

i thought that might work but now suseplugger just mounts the cd without giving me a message box. i heard of .kde/share/config/susepluggerrc and /opt/kde3/share/config/kdeglobals
but i don't no how to configure either of them. here is a copy of them:


[.kde/share/config/susepluggerrc]


[/org/freedesktop/Hal/devices/usb_device_4b8_801_NF0520307092253480_if1_printer_noserial]
PopupDone=true

[CD media auto handler]
CAMdefaultApp=
CDdefaultApp_CDaudio=
CDdefaultApp_CDaudio_doAsk=true
CDdefaultApp_CDaudio_doStart=false
CDdefaultApp_CDblank=
CDdefaultApp_CDdata=
CDdefaultApp_CDvideo_doAsk=true
CDdefaultApp_CDvideo_doStart=true
HDDdefaultApp=
HDDdefaultApp_doAsk=true
HDDdefaultApp_doStart=true
IPODdefaultApp=

[Default]
CheckFor75dpi=false

[General]
Autostart=true
DoNotShowPopup=false
UseCDAutoStart=true
UseCDMediaDetect=true


[/opt/kde3/share/config/kdeglobals]

[Desktops]
Number=2

[General]
fixed=monospace,10,-1,5,50,0,0,0,0,0
font=Sans Serif,10,-1,5,50,0,0,0,0,0
menuFont=Sans Serif,10,-1,5,50,0,0,0,0,0
taskbarFont=Sans Serif,10,-1,0,50,0,0,0,0,0
taskbarFontCharset=default
toolBarFont=Sans Serif,10,-1,5,50,0,0,0,0,0
alternateBackground=238,246,255
background=238,238,238
buttonBackground=244,244,244
buttonForeground=0,0,0
foreground=0,0,0
selectBackground=68,123,205
selectForeground=255,255,255
windowBackground=255,255,255
windowForeground=0,0,0
linkColor=83,83,120
visitedLinkColor=0,64,0
widgetStyle=plastik

[KDE]
AntiAliasing=true
ShowIconsOnPushButtons=true
ShowUnimportantEntries=false
cursorTheme=crystalwhite
colorScheme=SuSE

[Icons]
Theme=crystalsuse

[Paths]
Trash=$HOME/Desktop/Trash/
Desktop=$HOME/Desktop/
Documents=$HOME/Documents/

[WM]
activeForeground=255,255,255
activeTitleBtnBg=220,220,220
inactiveHandle=238,238,238
inactiveTitleBtnBg=73,73,73
handle=238,238,238
inactiveForeground=0,0,0
activeBackground=82,129,205
activeBlend=44,85,177
activeFont=Sans Serif,10,-1,5,75,0,0,0,0,0
frame=40,40,40
inactiveBlend=207,207,207
inactiveFrame=132,132,132
inactiveBackground=238,238,238


[KFileDialog Speedbar (Global)]
Number of Entries=7
Icon_6=folder_html
URL_6=$HOME/public_html/

[PreviewSettings]
MaximumSize=3145728
camera=true
file=true
fonts=true

anyone tried this before? i figure there must be a way to set groups for audiocd and dvd and stuff i just don't no if the exact same syntax is used for different groups and i don't know what to call the groups. if anyone can help that would be great. thanks.

Agentvenom 12-25-2005 02:11 AM

Hehe, there's a waaaaay easier way to change file associations. I'll assume since you're using Suse that you're running the KDE desktop. Open konqueror, click the "Settings" tab, then "Configure Konqueror." In the left hand column, click on "file associations." This is where you set ALL file associations. I believe for a cd, you need to go to "Application" and under that there should be an "x-cda" entry. This is where you choose what application will handle .cda files. These are cd audio tracks. Just click "Add" on the right hand side and find Kaffeine. Be sure to click "Apply" on the bottom right to apply the change. Also, you can change MP3 handlers, etc, in the audio tab. Cheers!


All times are GMT -5. The time now is 10:43 AM.