gksudo should support passing arguments easier
Bug #16966 reported by
Jerome Haltom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gksu (Ubuntu) |
Fix Released
|
Wishlist
|
Michael Vogt |
Bug Description
Right now gksudo requires the entire command to be executated to be contained in
a single argument. This isn't very convienent. It would be better if gksudo
could be launched sort of like this:
gksudo /bin/whatever -a -b -c
The logic for this would be fairly straightforward. Gksudo would parse it's
options from the beginning until it reached an option not prefixed with -, then
it would pass the rest of the options to the sub program.
This would make it easier to add options to .desktop files like:
Exec=gksudo /usr/bin/program -i %U
Which don't seem to currently be possible.
To post a comment you must log in.
This bug was filed along with bug #16965 and #10674 which are both related to
the same problem.