Skip to content

klik User's FAQ: "Installation" and "File Format" chapters

Monday, 7 November 2005  |  Pipitas

Work on the klik User's FAQ continued. This morning I completed the "Installation" section. This evening followed the "File Format" one. The plan to add at least one new section each day during the next two weeks so far is met. It will be hard to stay on target, because lots of distractions are scheduled already, and multiple days where I'm not sure to be able to be online. -- Today's local preview:

Installation

Q: How much effort is it to install the klik client on my system? A: Less than 20 kByte of download; usually less than 20 seconds of effort.

Q: What is the procedure to install the klik client? A: Type "wget klik.atekon.de/client/install -O -|sh" into a terminal window (or mini-cli); follow the instructions.

Q: What files does a klik client installation put into my system? A: Into your $HOME it puts 2 scripts, .klik and .zAppRun. Into /etc/fstab it adds 7 additional mountpoints (for this action the klik installer needs root privileges once). Into your $HOME/.kde/ (or variations thereof) it puts a few *.protocol, *.desktop, .directory and assorted files that help handle the klik applications.

Q: Does klik need root privileges to run its applications? A: No. klik is designed for use without requiring root privileges. (It needs root only once, to add 7 lines to /etc/fstab, which allow usermode loopmounting of klik .cmg files).

Q: Is there an uninstall script for the klik client? A: Yes. Type "wget klik.atekon.de/client/uninstall -O -|sh" to run it. However, it is still very simple and not yet widely tested. Type "wget klik.atekon.de/client/uninstall" to just investigate it inside an editor.

Q: Is there an uninstall script for the klik-ed applications (the .cmg files)? A: No. But, assuming you have all your .cmg files somewhere in your $HOME directory, you could run this command to find them all: "find $HOME -name \*.cmg |xargs ls -l". To delete them all, replace the "ls -l" with an "rm -rf".

.cmg File Format

Q: What is the file format of the klik applications? A: All klik applications are embedded into a file with the extension ".cmg". The .cmg is a compressed file system image (similar to an ISO image that you can burn onto a CD).

Q: Which type of files does the .cmg image include? A: The .cmg image includes binaries, directly required libraries and other files needed by the application.

Q: What does the .cmg extension stand for? A: Compressed iMaGe.

Tomorrow's topics: Scope, Usage. I'm now done 13 out of 105 questions; my notes for tomorrow lists another 13 by now. Submit the ones you are interested in, please.