http://bugzilla.novell.com/show_bug.cgi?id=546028
http://bugzilla.novell.com/show_bug.cgi?id=546028#c5
--- Comment #5 from Axel Braun 2010-02-24 21:33:13 UTC ---
After I found this useful article
http://www.linux-community.de/Internal/Artikel/Online-Artikel/Die-Geraeteueb...
I could dig into it a little deeper.
As an example:
axel@z60m:~> solid-hardware details
'/org/freedesktop/Hal/devices/volume_label_SHREK_THE_HALLS'
udi = '/org/freedesktop/Hal/devices/volume_label_SHREK_THE_HALLS'
parent = '/org/freedesktop/Hal/devices/storage_model_DVD_RAM_UJ_830Sx'
(string)
vendor = '' (string)
product = 'SHREK_THE_HALLS' (string)
Block.major = 11 (0xb) (int)
Block.minor = 0 (0x0) (int)
Block.device = '/dev/sr0' (string)
StorageAccess.accessible = false (bool)
StorageAccess.filePath = '' (string)
StorageVolume.ignored = false (bool)
StorageVolume.usage = 'FileSystem' (0x2) (enum)
StorageVolume.fsType = 'udf' (string)
StorageVolume.label = 'SHREK_THE_HALLS' (string)
StorageVolume.uuid = '' (string)
StorageVolume.size = 3257440256 (0xc2289800) (qulonglong)
OpticalDisc.availableContent = 'Data|VideoDvd' (0x12) (flag)
OpticalDisc.discType = 'CdRecordable|CdRewritable|DvdRom' (0x3) (enum)
OpticalDisc.appendable = false (bool)
OpticalDisc.blank = false (bool)
OpticalDisc.rewritable = false (bool)
OpticalDisc.capacity = 3257440256 (0xc2289800) (qulonglong)
is a DVD, and no kaffeine-Entry is offered.
Taking a look at /usr/share/kde4/apps/solid/actions/kaffeine_play_dvd, it
contains
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND
OpticalDisc.availableContent == 'VideoDvd' ]
.this does of course not match. Changing the 'avail. content' from 'equal' to
'contains', it does not work eiher.
Why not? No idea. I would expect an entry in ~/.kde4/share/apps/solid/actions,
if the user modifies these settings, but there is no such entry. Where does it
go?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.