GNOME Bugzilla – Bug 606798
Usability: .RUN files, terminal, and privileges
Last modified: 2021-06-18 15:12:48 UTC
This is a bug/feature request that was submitted to the Ubuntu Launchpad. https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/505371 From Launchpad: Here is a usability problem for users who are new to Linux. This is about what happens for the user, when double-clicking on a file with the .RUN extension (the Sun VirtualBox 3.1.2 Linux additions on Ubuntu 9.10 in my case). Problem 1 - Terminal auto-closes. The user is prompted to 'Run in Terminal', 'Display', 'Cancel', or 'Run'. If the user chooses 'Run in Terminal', but the program requires administrator privileges, the terminal window will close too quickly for the user to ready any messages which may be displayed. Suggested resolution: If the default behaviour was that the terminal window did not automatically close, and required user action to close it, then novice users would be able to read any appropriate messages displayed in the terminal window. Problem 2: Privelidges: The user is prompted to 'Run in Terminal', 'Display', 'Cancel', or 'Run'. If the user chooses 'Run', a new window opens and the script is run, but a message may be displayed indicating that "This Program must be run with administrator privileges. Aborting. Press Return to close this window...". In this case the user's desired action did not occur, and a novice user may not understand why, or what to do about it. Suggested resolution: Expand the user's initial list of options to include something like 'Run with administrative privileges'. Alternate Resolution(s): Change the initial list of options presented to the user when double-clciking a file to the following: 'display / view', 'run', 'cancel', and 'advanced'. Then, have the 'advanced' button activate another dialogue with options such as the following: 'Run with administrative privileges', 'Run in Terminal', 'Run in Terminal with administrative privileges', etc...
I left a comment at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/505371/comments/6. Here it is: I'm sorry but if the goal is to improve usability then adding more options to a dialog (especially the ones mentioned) is in my view not the right way to go about this. Instead you should ask the distributor of VirtualBox to package their stuff.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.