Bug 105604

Summary: autorun feature when inserting CD
Product: [Unmaintained] kio Reporter: Waldo Bastian <bastian>
Component: mediaAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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