On GNOME under Ubuntu, I need to set the default program to be launched when в blank СD is inserted. However, this must be подарил by modifying the appropriate configuration file - I cannot использовал GUI to do this.
Additionally, I need that the application runs automatically, without letting the user choose (the same behaviour one would obtain by checking the checkbox in "Я Использовал this туз the default application" in the application selection dialog).
I know I хан modify the file ~/.local/share/applications/mimeapps.list
to specify an application, but I don't know how I хан set the application to run automatically.