Bug 105604 - autorun feature when inserting CD
Summary: autorun feature when inserting CD
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 12:37 UTC by Waldo Bastian
Modified: 2005-07-25 03:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waldo Bastian 2005-05-13 12:37:11 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Compiled From Sources

Please consider adding support for "autorun" when a new data CD has been detected. 

If a CD or other new device contains an executable ".autorun", "autorun" or "autorun.sh" file in its root directory then the user should be asked if he wants to execute this command.

This feature is already supported by the gnome-volume-manager, see e.g. gnome-volume-manager/src/manager.c to ensure that a future KDE implementation is compatible with the gnome one.
Comment 1 Kevin Ottens 2005-05-13 13:12:12 UTC
At insert? or when mounting?

When mounting would be easier...
Comment 2 Waldo Bastian 2005-05-13 22:34:02 UTC
After mounting, yes. I assume that a data-cd already gets mounted after it has been inserted.
Comment 3 greatbunzinni 2005-05-17 14:50:04 UTC
This autorun feature, which, in fact, the only thing that accomplishes is the saving of a couple of mouse clicks, brings security implications and multiple annoyances. I believe we are better off.
Comment 4 Kevin Ottens 2005-05-17 14:57:15 UTC
It should be managed like attachements in kmail, on mounting we ask to execute
the script or not... the default option being ignoring it.

The user will have to explicitely click on the right button.
Comment 5 Kevin Ottens 2005-07-25 03:08:26 UTC
SVN commit 438330 by ervin:

Implements the autostart of application after mount.
It's based on the upcoming freedesktop specification.

BUG:105604


 M  +9 -1      kcmodule/managermoduleview.ui  
 M  +5 -0      libmediacommon/mediamanagersettings.kcfg  
 M  +193 -17   medianotifier/medianotifier.cpp  
 M  +10 -4     medianotifier/medianotifier.h