[Portland] Patch to xdg-su

Jeremy White jwhite at codeweavers.com
Fri Mar 31 16:30:44 EEST 2006


> I think the scripts should take full care of command line parsing and
> the return values. So it shouldn't pass command line options to the
> native method (e.g. kdesu or gnomesu in this case) if those command line
> options aren't documented as such in the documentation of the xdg-*
> script. Like wise, the script should generate its own return values and
> define what all return values mean.

Yes, I agree strongly.

> 
> Btw, Without xsu it should be possible to do something like
> 	xterm -geom 60x5 -e su -c $*

Yah.  I went and looked at our implementation of su,
and we actually probe for a terminal emulator
(believe it or not, xterm is not shipped on all distros!)
We also use sudo in preference to su, if it's in the path.

Cheers,

Jeremy



More information about the Portland mailing list