gksudo OR kdesudo :)
Hmm, clearly my knowledge is slightly lacking. However, the point still stands.
Besides, isn't there a way to make a deb package depend on foo OR bar?
my point was to accomodate KDE users as well :)
we had gnome-terminal | xterm dependency already.
please dont enforce useless library dependency!
Test for gksudo, if fails, test for kdesu, if fails, recommend installing one of those and test for sudo! if all fails, ask the user to manually run a command as root, if he is a advanced used.
if someone dont have gksudo, he probably dont have gnome and so missing the many libs needed by gksudo.
If neither gksudo and kdesu exists, the user is using another DE. sudo is a good general replacement for those.
The manual command is for those that dont want to trust steam and may want to check what is run, or for those who want to reduce the need for useless dependencies.
@skybon do you know if that dependency is needed for anything but the installation of additional libraries?
@higuita assuming that the terminal apps (gnome-terminal | xterm) are needed only for what i think they are - installing additional required libs - gksudo (or kdesudo) would be added as a dependency, but gnome-terminal | xterm would be dropped. this means that we would have a better UX with the same number of deps, which is A Good Thing. and, i'll point out, gnome-terminal probably has a bunch of gnome dependencies too, just like gksudo (although i don't know for sure)
we now have the ability to install stuff without the Terminal, which not only reduces a dependency,
It has it's own dependencies; I can't think of a single distro that -doesn't- have a terminal of some sort whereas I can think of many that don't have gksu/gksudo (or kdesu/kdesudo). If it doesn't add a dependency, it at least adds itself.
but also would probably be easier to understand for users.
Doubtful. All you have to do is read the prompt and type yes (or, if Yes is the default option, hit enter).
Let's not play games with it or try to add additional reasons; lets call an apple an apple. This is suggestion is to make the process look better. I have no problem with that, mind you. Just don't try to make things convoluted by saying it'll do things other than what it does.
@MrSchism my rationale was that the pretty look would be less confusing, but i'll buy into your separation. although sudo doesn't display feedback, which i think would legitimately be confusing: if you didn't already know that it was typing, you would assume the terminal had problems with input.
If I'm not mistaken, I believe it says something along the lines of "Please type (Yes)/no"
That's from apt-get. Sudo says something like "[sudo] type your password: " but when you input, it doesn't give feedback (e.g. *s)
True. I just never met anyone confused by it not presenting input.
I think I remember seeing somewhere that besides just looks gksudo is better than sudo for X apps. I could be wrong though.
gksudo isn't installed by default on some systems. We also want to give more context around what we're doing and show output all in one window rather than throwing up a separate password prompt.
Nothing extracted yet.
Using gksudo will prompt the user in a graphical way instead of in a command-line prompt. Assuming you're using sudo just to get root access, and not with any special flags or anything, gksudo works in exactly the same places that sudo does.
Also, if Steam ends up using gksudo and fixing issue #2153, we now have the ability to install stuff without the Terminal, which not only reduces a dependency, but also would probably be easier to understand for users.