gksudo could be more user friendly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gksu (Ubuntu) |
Fix Released
|
Wishlist
|
Sebastien Bacher |
Bug Description
This is similar to bug #7964, but I didn't want to reopen it since I didn't have
a part in it. Plus I'm looking at this on an even deeper level. Running
programs as root is still terribly confusing.
When a user wants to run the Ubuntu Update manager, that is what they expect.
Instead (if authorization has expired) they are sidetracked into authorizing
through this external program. A one-step process has been turned into a
two-step process. While we obviously need to keep both of these steps, they
should be integrated to feel like it's more of a one-step process.
Example:
When running the Ubuntu Update Manager, for instace, gksudo says:
Window Title: Changing user...
Message: Please enter your password to run /usr/bin/
root
There are at least three problems I see with this. First of all the bit about
changing user really isn't valid. Behind the scenes, yes, their user has
changed. But from their perspective all that's known is that they now have
rights to accomplish their task. Second is that it gives the text
"/usr/bin/
called something totally different. Third is that it mentions the root user,
which for all intents and purposes, doesn't even exist in Ubuntu.
(I also wonder why some of these root programs are residing in /usr/bin, but
that's for another bug...)
This is my proposal for our example. It's easy to see how all other
applications would follow this format:
Window Title: Ubuntu Update Manager
Icon: update-manager.png
Message: Ubuntu Update Manager requires administrative privileges to run.
Please enter your password.
gksudo --title "Ubuntu Update Manager" --icon
/usr/share/
administrative privileges to run. Please enter your password."
Now it seems that this dialog is _part_ of Ubuntu Update Manager and flows with
the task. One might could argue that you could reduce the message down to
"Please enter your password to run Ubuntu Update Manager."
But I think they should still have some idea that this program can change things
on their computers (for good or bad) that they wouldn't otherwise be able to.
Problems:
* Translation of the gksudo message as well as the program name
* (both of these could be obtained from its .desktop file)
* Text is very long with the current wording (see attachment)
* patch gksudo to wrap text or shorten text
* Adding the icon to the dialog
* this is also available from the .desktop file
Created an attachment (id=1581)
Example