[MonoDevelop] Good resource for learning how to build graphical applications inside monodeve

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Feb 9 14:36:19 EST 2009


On Mon, Feb 9, 2009 at 2:17 PM, Neil Munro <neilmunro at gmail.com> wrote:
> That's going to be useful to know, but I will have similar behavior with
> other windows, so it's something i would like a resolution to if at all
> possible, although I do feel the root password authentication window would
> be a far more elegant solution to that problem.

Just have your app's launch script run it via xdg-su, something like

xdg-su -c "mono yourapp.exe"

Be aware that xdg-su may not be present on older distros, so it might
be good to fall back to gnome-su, gksudo, and whatever the KDE ones
are called.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list