Mailinglist Archive: opensuse-bugs (4691 mails)

< Previous Next >
[Bug 546028] Wrong activities associated with Vido-DVD
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 24 Feb 2010 21:33:14 +0000
  • Message-id: <20100224213314.3B568CC7CD@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=546028

http://bugzilla.novell.com/show_bug.cgi?id=546028#c5


--- Comment #5 from Axel Braun <axel.braun@xxxxxx> 2010-02-24 21:33:13 UTC ---
After I found this useful article
http://www.linux-community.de/Internal/Artikel/Online-Artikel/Die-Geraeteueberwachung/%28article_body_offset%29/2
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.

< Previous Next >