View Full Version : How to "uninstall" klik?

02-19-2007, 03:59 PM
Hello everyone, I would like to uninstall klik. But unfortunately, I've no idea how to. Can anyone guide me through the steps to uninstall klik?

I am on debian etch by the way.

Thank you.

02-20-2007, 01:41 PM
# klik uninstallation 0.1
# by probono at myrealbox dot com

rm $HOME/.klik
rm ${KDEHOME}/share/services/klik.protocol
rm ${KDEHOME}/share/applnk/klik/.directory
rm ${KDEHOME}/share/applnk/klik/klik.desktop
# ( cat $USERJS 2>/dev/null | grep "klik" >/dev/null 2>&1 ) || ( echo "user_pref(\"network.protocol-handler.app.klik\", \"~/.klik\");" >> $USERJS )
#cat >> $HOME/.elinks/elinks.conf
rm ${KDEHOME}/share/mimelnk/all/cmg.desktop
rm ${KDEHOME}/share/applnk/.hidden/AppRun.desktop
rm $HOME/.zAppRun
#if [ -z "$(cat /etc/fstab | grep app/7)" ]
# $KDEHOME/share/applnk/klik/$BASENAME.desktop <<EOmooF
#if [ -z "$(cat /etc/fstab | grep app/7)" ]
rm "$HOME/klik-cmg-install-root"
rm $HOME/.local/share/applications/.zAppRun.desktop
rm $HOME/.local/share/mime/packages/Override.xml
rm -r ${KDEHOME}/share/applnk/klik
rm -r /tmp/app
rm $HOME/.local/share/applications/klik
rm $HOME/.local/share/mime/packages/klik
rm $HOME/.local/share/applications $HOME/.gnome2/vfolders/applications/klik

# remove GNOME protocol handler
gconftool-2 -u /desktop/gnome/url-handlers/klik/command 2>&1
gconftool-2 -u /desktop/gnome/url-handlers/klik/enabled 2>&1
gconftool-2 -u /desktop/gnome/url-handlers/klik/needs_terminal 2>&1

02-20-2007, 07:03 PM
Thanks a lot!!

By the way, I had to uninstall klik because there wasn't any packages called rpm2cpio in debian. Any ideas where I can get that?

02-22-2007, 02:41 PM
apt-get install rpm