I'm not sure of the specifics on how it is done under Gnome, but I do know
that the RedHat 6.2 CD autoruns under Gnome and will bring up Gnome-RPM if
you say yes to the autorun. I assume that Gnome has tied into the CD
devices to catch the media change notification. I say this because I have
not seen any periodic polling (the kind that windows uses) of the CD drives
on any of my systems.
Jamin W. Collins
-----Original Message-----
From: Michael Stack [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 12:59 PM
To: [EMAIL PROTECTED]
Subject: Re: autorun: how does it work?
AFAIK, the concept of auto-running in Linux doesn't really exist. You have
to manually mount a CD, or Linux doesn't even know it's there. I know Gnome
has a habit of auto-mounting CDs, but that's at an application level, not an
OS level. In windows, this feat is accomplished basically by yammering at
the CD player every x seconds, inquiring, "do you have a CD? If not, fine,
I'll go away for another x seconds. If so, great, do you have a file called
'autorun.exe'? If so, terrific, I'm going to go and run that file" (Side
note - if you have a laptop running Windows, you can extend the battery life
by disabling this feature).
Gnome probably accomplishes this feat in a similar way, though it seems that
it only opens a file exploration window of some type when you pop in a CD,
unless it's an audio CD, in which case it opens your default CD player.
To sum it up - if you want this behavior, you'll probably either have to (1)
interact with Gnome at some level, or (2) Write a daemon that keeps talking
to your CD player every few seconds. No matter what your solution though,
I'm afraid you can't create a CD that will autorun on somebody else's Linux
machine.
----- Original Message -----
From: "Mikkel L. Ellertson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 12:47 PM
Subject: Re: autorun: how does it work?
On Wed, 18 Oct 2000, Mike Dickson wrote:
> I've looked at the archives: nothing
> I've looked at the source: I can't read C++
> I've looked at the docs: no description of how it works.
> I've looked at the website: no description of how it works.
>
> If I want to vreate a CD that will autorun something, web page, app,
> whatever, how do I do it? How exactly does this process work?
>
> Thanks
>
> ...Mike
>
>
Correct me if I am wrong, but I thought autorun CDs only autorun when
installed in a Windows machine...
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list