You are not logged in.
Recently, to get KDE's "Suspend to disk" action to work, I changed my .xinitrc so that it launches KDE with ConsoleKit:
exec ck-launch-session startkde
This has the side-effect of causing HAL's polling of the DVD/CD drive to become disabled whenever KDE is started and whenever the system resumes from suspend-to-disk:
$ ls -alt /etc/hal/fdi/information/
total 12
drwxr-xr-x 2 root root 4096 Aug 22 11:13 .
-rw-r--r-- 1 root root 287 Aug 22 11:13 media-check-disable-storage_model_DVD_RW__DVR_111D.fdi
drwxr-xr-x 5 root root 4096 Jun 10 14:47 ..
Of course this prevents KDE from displaying a notification when a disc is inserted, which wouldn't bother me much, except for one problem: if KDE isn't aware that a disc is in the drive, pressing the "play" button in KsCD will just cause it to say "No disc" instead of actually playing the audio CD. (Strangely enough, in this situation KsCD can still correctly display the track listing of the audio CD, even though it claims that there is "No disc" when you try to actually play it.)
Does anyone know how to make ConsoleKit not disable the polling?
Last edited by amunkres (2010-08-22 18:40:47)
Offline
I'm not sure about this consolekit stuff...I just start KDE normally through kdm, but I seem to be having similar problems. KDE doesn't recognise when I insert an audio CD and searching around for an answer hasn't given me much. I have a similar file in my "/etc/hal/fdi/information/" folder.
Anybody have any ideas?
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline