Re: Nautilus and .debs
On Fri, 2002-11-15 at 01:38, Lucas Moreno Encabo wrote:
>
>
> Today I've benn using nautilus and I've seen the option "Install Package"
> over a .deb file. I launched it to see what happend and it didn't worked.
>
> First of all, you have to be root (or have enough permissions for
> installing a package), then is when I remmeber the utility that RH8 has for
> installing rpms just with a double-click asking you the password.
>
> Will it be easy to adapt it for debian? It's a usefull thing for the
> debian-desktop project and for everyone using gnome day by day.
>
> What do you think?
If you wrapped the command you want to run in (something like)
gnome-sudo would it do what you want?
Then it would just be a matter of changing the mime-types so that
something like:
#!/bin/andrews/pseudo/shell
if uid == 0 then
command
else
if sufficiently functional environment then
gnome-sudo command
else
command
fi
fi
happened somewhere.
Regards,
Andrew.
--
---------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267
Survey for nothing with http://survey.net.nz/
---------------------------------------------------------------------
Reply to: