I am using the gnome-volume-manager for automounting purpose. I burned a script called autorun.sh on a CD. This script will be start after mounting. But i always have to confirm a dialog to execute this script. How can I avoid this confirmation dialog? Or is it possible to send a command from terminal to that dialog.
I also thought that I can use gtk options which are
--gdk-debug=FLAGS Gdk debugging flags to set
--gdk-no-debug=FLAGS Gdk debugging flags to unset
--display=DISPLAY X display to use
--sync Make X calls synchronous
--no-xshm Don't use X shared memory extension
--name=NAME Program name as used by the window manager
--class=CLASS Program class as used by the window manager
--gtk-debug=FLAGS Gtk+ debugging flags to set
--gtk-no-debug=FLAGS Gtk+ debugging flags to unset
--g-fatal-warnings Make all warnings fatal
--gtk-module=MODULE Load an additional Gtk module
-?, --help Show this help message
Session management options
--sm-client-id=ID Specify session management ID
--sm-config-prefix=PREFIX Specify prefix of saved configuration
--sm-disable Disable connection to session manager
to suppress the dialog. But there isn`t any flag.
Does anyone has an idea.
I didn`t find any other application but gnome-volume-manager as an easy way to automount AND start a script. A console-based-automount would be nice. With automount I don`t figured out how to run a script after mounting.
Thanks for any help