You are not logged in.

#1 2005-01-18 15:25:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Klik Debian .cmg apps, win apps, can run in arch

I have successfully ran opera, galculator and skype .cmg files in arch desktop.

I installed cramfs as a module.

I created /mnt/app directory with full permissions.

I entered.....run command....wget klik.atekon.de/client/install -O -|sh......

I downloaded the files from the klik software store.

I entered......mount -t cramfs -o loop (paste.cmg) /mnt/app

I opened /mnt/app....click and drag "AppRun" file to "wrapper" file.

The app will then run/ or will display the need for dependency( I supplied one for galculator with pacman).

Not all apps in the klik store will run, they are mostly debian but some are from other OS varieties.  The files are r/o and can be stored anywhere and exchanged with peers.

My procedure is rather "hackish" and needs refinement .

Normal klik file procedure calls for right-click on the desktop file and select "AppRun".  This has not happened  in arch so there is an opportunity for someone to help clean up my mess.

Any one interested in improving the hack?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2005-01-19 00:19:54

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Klik Debian .cmg apps, win apps, can run in arch

pacman -S opera skype galculator

use arch packages?

Offline

#3 2005-01-19 01:16:35

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Thanks for the reply.

The packages are in the pacman arena to be sure.  The purpose was to show the use of Klik in archlinux.

There are many other applications available in Klik, not all will run, probably.

Its all linux....

Live CD of arch could benefit from .cmg files.

STUX LiveCD ran the galculator, apcalc and nvu today.  Similar technique.
------------------------------------------------------------------------------------

Linux : Joseph's coat of many colors....

At school : They treat us like kids..yet they think we have all the answers..

Linux ist ein chameleon!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2005-01-19 16:36:42

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

One observation that seems appropo....

The download for opera via pacman is 3.8MB.

The opera .cmg file in desktop is 4KB.

It would seem an advantage to use compressed image files?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2005-01-19 19:31:58

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

To further expand the confusion...

The files downloaded from pacman are tar files and when installed are de-tarred.  So the actual install is much larger than the download.

The .cmg files are filed as compressed form, i.e, opera is 4MB or so in compressed form and appears on the desktop with that size in ...properties.

When opened, the file is decompressed to run the application.

Furthermore, pacman holds the tar file after loading in pacman cache.

The saving in HDD space is apparent.

Perhaps this is correct....?

(The .cmg files are opening on my desktop with a mouse click, including opera at 4MB compressed .cmg).


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2005-01-19 20:11:47

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Klik Debian .cmg apps, win apps, can run in arch

Excuse my ignorance but what are .cmg 's? what is klik? why wiould this be of interest to others?

(notea: this is not intented to insult. I wanna know the answers)


AKA uknowme

I am not your friend

Offline

#7 2005-01-19 20:55:15

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Sarah;

Klik is a method of installing .cmg files in LiveCD's after boot-up in KnoppixLiveCD's mostly.  The .cmg is a compressed image file which is generated by cramfs or squashfs compression.

I do not understand everything concerning the system but it does enable the downloading of .cmg files into LiveCD OS'es such as Knoppix3.7, STUX,PCLinuxOSv7 and vpre8, as well as archlinux.

I am not certain of all of the details as is evidenced by my previous post which refers to elements which may not be correct.  I had hoped for discussion to clear up the issue.

There are hundreds of debian based applications in compressed files available via the klik setup.

It is described in Knoppix Klik forum.

I made assumptions regarding its use in arch which may be wrong.

Most descriptions of the system are not detailed enough to clear the air.(Usual problem).

I appreciate your asking and perhaps this post will help acclimate you to what I am talking about.

I have a dozen .cmg files on my desktop downloaded from the Klik software store via the initial install described in the Klik forum.  I can call these applications to run with a single mouse click.

Whether this is a useful activity in arch is up to the user.

I was hoping it provided less HDD storage which seems plausible since the LiveCD operations are "on-the-fly decompressed" and I assume(!) that this characteristic remains extant while running .cmg files.

That is the crux of the posting...are the files actually compressed?  The moniker on my desktop says....opera.cmg... This means they must be .cmg compressed...  Right or wrong?

I hope this doesn't confuse you as much as it confused me!!!!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2005-01-19 20:57:33

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Klik Debian .cmg apps, win apps, can run in arch

Thanks for the info. I think it may help stimulate the interest posting on this subject.


AKA uknowme

I am not your friend

Offline

#9 2005-01-19 21:41:46

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Sarah;

Of interest is the statement by the developer just received regarding the type of file .cmg is and how it is decompressed in Knoppix.
-----------------------------------------------------------------------------------You are correct. The cmg file contains a compressed filesystem (cramfs) which is mounted automagically as you klick on it and decompressed on the fly as you use the application. This is directly comparable to the compressed Knoppix filesystem (only difference is that Knoppix uses cloop while klik uses cramfs in order to be compatible with more distributions, but the principle is the same).

Greetings,
probono

It would seem therefore that the klik system could reduce HDD install size in the arch linux system.

My .cmg files on the desktop run with one mouse click.


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2005-01-19 21:44:42

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

There are many of the KDE apps in the klik software store.

Consider using them to reduce boot-time!!!!  Call them up after boot!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2005-01-20 08:11:20

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Re: Klik Debian .cmg apps, win apps, can run in arch


Mr Green

Offline

#12 2005-01-20 17:36:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Consider that the apps desired are in klik software store...

Boot your system without the apps faster.

Call up the app, use it, lose it.

Repeat often as needed.  Especially for big apps on small HDD.

-----------------------------------------------------------------------------------

No congestive kernel problems.....

No answer yet; When is a zero always equal to a one?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2005-01-20 17:44:03

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Just changed fstab to ...users...in all seven /mnt/app entries.

I can now load multiple .cmg files and run them simultaneously with a single mouse click on the icons(cmg files) on the desktop as root.
===========================================================
  Ask and you may get knowwhere!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#14 2005-01-20 18:22:59

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

The following is the listing for ..lsmod.. with one .cmg file enabled in cramfs:
============================================================[root@n6re ~]# lsmod
Module                  Size  Used by
tsdev                   8128  0
joydev                 10560  0
evdev                   9984  0
parport_pc             28996  1
lp                     12296  0
parport                38600  2 parport_pc,lp
cramfs                 43252  1
usbhid                 45824  0
audio                  49152  0
snd_pcm_oss            56612  0
snd_mixer_oss          21120  1 snd_pcm_oss
snd_cmipci             34208  1
snd_opl3_lib           11648  1 snd_cmipci
snd_hwdep              10116  1 snd_opl3_lib
gameport                5120  1 snd_cmipci
snd_mpu401_uart         8704  1 snd_cmipci
usb_storage            71232  0
ehci_hcd               35332  0
uhci_hcd               34576  0
ohci_hcd               23560  0
snd_usb_audio          67904  1
snd_pcm               101252  3 snd_pcm_oss,snd_cmipci,snd_usb_audio
snd_timer              27140  2 snd_opl3_lib,snd_pcm
snd_page_alloc         10244  1 snd_pcm
snd_usb_lib            13824  1 snd_usb_audio
usbcore               125560  9 usbhid,audio,usb_storage,ehci_hcd,uhci_hcd,ohci_hcd,snd_usb_audio,snd_usb_lib
snd_rawmidi            26144  2 snd_mpu401_uart,snd_usb_lib
snd_seq_device          8972  2 snd_opl3_lib,snd_rawmidi
snd                    59108  15 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
soundcore              10848  2 audio,snd
ne2k_pci               10848  0
8390                   11392  1 ne2k_pci
vfat                   14976  0
fat                    42912  1 vfat
[root@n6re ~]#       

The following is my fstab listing for the /mnt/app/1  thru 7:
=============================================================

/mnt/app/1/image /mnt/app/1 cramfs users,noauto,rw,loop,exec 0 0
/mnt/app/2/image /mnt/app/2 cramfs users,noauto,ro,loop,exec 0 0
/mnt/app/3/image /mnt/app/3 cramfs users,noauto,ro,loop,exec 0 0
/mnt/app/4/image /mnt/app/4 cramfs users,noauto,ro,loop,exec 0 0
/mnt/app/5/image /mnt/app/5 cramfs users,noauto,ro,loop,exec 0 0
/mnt/app/6/image /mnt/app/6 cramfs users,noauto,ro,loop,exec 0 0
/mnt/app/7/image /mnt/app/7 cramfs users,noauto,ro,loop,exec 0 0

============================================================

Linux=Heinz 57 Varieties times 64 flavors


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#15 2005-01-20 18:49:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Desktop 1 has archlinux forum reply

Desktop 2 has Galculator .cmg running

Desktop 3 has OPERA.cmg up

Desktop 4 has bidwatcher.cmg up

Anyone with 7 video display units?

Maybe a super-large video display?

How about picture-in-picture..now that's a pip!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#16 2005-01-20 19:02:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Install all .cmg apps via USB...mebbe flash?
Reports indicate many windows apps are being coded in .cmg and will run in Linux.

The windows legal issues do not apply if you encode your own .cmg and not distribute same.

Wine, anyone?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#17 2005-01-23 23:25:26

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

Some further background information on the basic cramfs file system can be found on the net by entering...compressed file system cramfs.

Most references apply the cramfs to flash purposes.

The klik system can utilize flash but applies cramfs to LiveCD as well as desktop OS systems.

Theurl....www.applieddata.net/forums has a reference to cramfs as follows;
==============================CRAMFS File System
CRAMFS is a compressed, read-only file system that is stored in flash memory. The file system is mounted during start up and the contents are uncompressed as needed.

The compression ratio for a CRAMFS file system is better than for a JFFS2 file system so more content can be stored in a given amount of flash memory. Unlike a ramdisk, no RAM is used to hold the CRAMFS file system so more RAM is available for the kernel and user programs. Since the file system remains compressed and stored in flash memory, it is slower than a ramdisk.

Since CRAMFS is read only, it provides the same environment each time the system starts. When a CRAMFS file system is used, usually a ramfs file system is also mounted during startup to hold writable directories like /tmp and /var. Like a ramdisk, CRAMFS ensures repeatability between reboots and cannot be corrupted.======================================================
  The same characteristics apply to klik .cmg files since they are cramfs compressed and r/o.

This may help users to appreciate the utility of klik files in arch.


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#18 2005-01-25 05:36:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Klik Debian .cmg apps, win apps, can run in arch

The .cmg files can be implemented with a downloaded program from sourceforge.net.

Please see the ....Kernel forum ..for a link.

The downloaded program should permit windows apps to be made .cmg files as well as other linux applications.  It is a .tar.gz download.

Hope it works for you.

Please let me know if you make any .cmg files ....realize that windows apps are illegal to distribute.


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB