Thoughts about libhal-storage
lodewyck at clipper.ens.fr
Sun Sep 26 11:14:21 PDT 2004
I lately updated kvm to make use of libhal-storage, and have a few remarks :
1/ there is an extra underscore in libhal-storage.h at #define
LIBHAL_STORAGE__H (caused a lot of insults from gcc !)
2/ about icons : in kde, we don't really deal with icons, but with mimetypes.
When attributing a mimetype to a device, it is automatically associated to
the icon defined in the mimetype .desktop file. Would it make sense to define
a mimetype policy, instead of an icon policy ?
3/ always about mimetypes/icons : in kde, they all have two versions : one
with _mounted suffix, one with _unmounted ("mounted" icons boast a gracefull
green triangle indicating that the device is mounted). What about it ?
4/ in kvm, a systray icon listing devices and making unmount operation easy.
This icon lists "devices that should be unmounted by the user before
The question is : What is the hal property corresponding to this sentence :
- storage.hotpluggable ?
- storage.removable ?
- both ?
- something else ?
5/ is the device name suitable ? For example, my usb key is named "512 M
remobable media", whereas in my opinion "DataTraveler, 512 M" would be better
(info.product key) since this is the name written on the key...
6/ I vote in favor of the hotplug-map patch for debian libgphoto2 usbmaps
hal mailing list
hal at freedesktop.org
More information about the Hal