From kde-devel Tue Aug 19 09:53:23 2003 From: Gav Wood Date: Tue, 19 Aug 2003 09:53:23 +0000 To: kde-devel Subject: Re: autorun?! X-MARC-Message: https://marc.info/?l=kde-devel&m=106128703619885 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============31371041567498548==" --===============31371041567498548== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_TOfQ/lhWwdkGZF8"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_TOfQ/lhWwdkGZF8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 19 August 2003 02:59, David Johnson wrote: > Henrique Pinto wrote: > > One of the features KDE is missing is removable media automounting and > > I'm interested in implementing this. There are, however, some > > considerations on how it should be done. Below I list my ideas of > > possibilities for this implementation: > > Automounters should belong to the underlying system and not to KDE, as > they are not standardized. A better way to do this is to create a front > end and/or set of scripts that use the available automount facilities. > If that's what you meant, great. no. but then i wasn't talking exclusively about automount. mounting a data cd may be a couse of action on a disc insertion; so might=20 executing "kfmclient ~/Desktop/CD.desktop", "xine dvd:/", "kscd", a custom= =20 made shell script. how about displaying an icon on the desktop to the cd's= =20 actual icon (i.e. as it would appear in windows). this type of infrastructure is not standardised in the unix environment.=20 autorun (by redhat) goes some way towards it, but isn't perfect being=20 cumbersome to use in a gui environment (a daemon in it's own right),=20 inefficient (will only execute one command per disc type), and rather=20 ineffective (can only handle a couple of types of disc). i coded a simple, effective library-based solution, based from code by Eric= =20 Lathrop, author of cdde (cd detect and execute); it works well, is easily=20 portable to bsd etc, is smart (autodetects devices), and relatively=20 integrated. > Beyond that, I think a KDED module is the best way to go, with user > configurable actions. And whatever you do, make it extremely easy to > turn off. I love automount, but I absolutely abhor the autorun/autoplay > stuff in Windows. fair enough. gav =2D-=20 Gav Wood codito ergo non satis bibivi --Boundary-02=_TOfQ/lhWwdkGZF8 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/QfOT7nE5x1pIEBQRApRxAJ46lOg/C7sl81ZmqN86NiVVwHWoQACfeR+t 75NFPoMzcpKeKx/D/X+zcuM= =iHix -----END PGP SIGNATURE----- --Boundary-02=_TOfQ/lhWwdkGZF8-- --===============31371041567498548== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============31371041567498548==--