klik

Michael Vogt michael.vogt at canonical.com
Mon Jan 17 08:06:03 CST 2005


On Sat, Jan 15, 2005 at 03:17:29PM -0600, Lance Lassetter wrote:
> Would something like klik be a good answer for easy software
> installation as opposed to synaptic?
> 
> http://klik.atekon.de/

The next version of ubuntu will contain a new "gnome-app-install"
application that will make installing applications much easier as it
is now. 

A web based software install like this is easy to setup. When you
click on install, they use a "klik://$appname" url and add a protocol
handler for this klik url. Ubuntu could easily support this by having
a protocol handler for firefox that looks something like this:

------------------------------------8<------------------------------
#!/bin/sh
# firefox calls it with the URL as argument, e.g. klik://abiword
# strip "klik://"
APPNAME=${1:7}
zenity --question --question-text "Do you want to install: $APPNAME?"
if [ $? = 0 ]; then 
	gksudo echo "$APPNAME\tinstall"|synaptic --set-selections --non-interactive
fi
------------------------------------8<------------------------------

The only problem I see is that someone has to maintain pages like this
for ubuntu and that they have to be in sync with the distro.

bye,
 Michael

-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



More information about the ubuntu-devel mailing list