Re: [Utopia] Media/Device Type Spec???
- From: Joseph Wenninger <jowenn kde org>
- To: Jerry Haltom <wasabi larvalstage net>
- Cc: utopia-list gnome org
- Subject: Re: [Utopia] Media/Device Type Spec???
- Date: Wed, 18 Aug 2004 14:19:37 +0200
Hi
On Wed, 2004-08-18 at 07:45, Jerry Haltom wrote:
> I am just posting this to clear up my idea in the "we need a spec for
> handling mediums" thread.
>
> We add new mime types to the shared mime package, for example (and just an
> example):
> device/cd-reader
[...]
> device/flash-card
> ...etc (these names could be better)
>
Sounds good.
Just for the archive in kde we have currently following mime types (a
common set is better in most cases better :) )
kdedevice/cdrom_mounted
kdedevice/cdrom_unmounted
kdedevice/cdwriter_mounted
kdedevice/cdwriter_unmounted
kdedevice/dvd_mounted
kdedevice/dvd_unmounted
kdedevice/floppy5_mounted
kdedevice/floppy5_unmounted
kdedevice/floppy_mounted
kdedevice/floppy_unmounted
kdedevice/hdd_mounted
kdedevice/hdd_unmounted
kdedevice/nfs_mounted
kdedevice/nfs_unmounted
kdedevice/smb_mounted
kdedevice/smb_unmounted
kdedevice/zip_mounted
kdedevice/zip_unmounted
kdedevice/mobiledevice
In planing are:
kdedevice/dvd_blank
kdedevice/cd_blank
kdedevice/vcd
kdedevice/svcd
kdedevice/dvd_video
kdedevice/dvd_audio
> A application's .desktop file declares that application as handling one or
> more of these mime types.
>
> The .desktop file has a DeviceExec= line, accepting various substitution
> values. %d = Unix device file, %u = HAL udi. Or other stuff.
>
Why an additional DeviceExec ? Wouldn't it be enough add new
substitution values to the existing Exec line ?
> Associations between a device/media type and it's application is handled
> EXACTLY as an association between a normal mime type and it's applications.
>
[....]
Kind regards
Joseph Wenninger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]