Results 1 to 2 of 2

Thread: understanding klik

  1. #1
    Junior Member
    Join Date
    Jan 2005
    Posts
    1

    understanding klik

    How do applications work together e.g. all the components of the TeX package ?
    As I understand, each app is a CMG file, no longer installed into the home directory.
    Can I access apps via command line e.g. latex?

    thanks
    rol

  2. #2
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164

    Re: understanding klik

    Quote Originally Posted by rol
    Can I access apps via command line e.g. latex?
    Yes you can, but instead of running "latex" you run "~/.zAppRun ~/Desktop/latex.cmg latex" and add arguments to latex as normal.

    What happens is zApprun mounts the cmg file and runs the wrapper script inside it which in turn runs the program name you supplied from within the cmg.

    One other thing you can do is make a simple script like
    Code:
    #!/bin/sh
    CMG="~/Desktop/latex.cmg"
    ~/.zAppRun $CMG $0 $@
    Make a directory called ~/klik.bin and put this file in there as latex.run
    Make a smylink for each program in the latex.cmg that you want to run from the command line so to run latex and latexfoo from the latex.cmg you would do:
    Code:
    cd ~/klik.bin
    ln -s latex.run latex
    ln -s latex.run latexfoo
    Finally you need to add ~/klik.bin to your path e.g.
    Code:
    PATH=~/klik.bin:$PATH
    Now from the command line you should be able to run latex or latexfoo. If you want to use the same technique on more cmg files, you need to make a copy of the latex.run and change the CMG= line to reflect the correct cmg to use and then make the symlinks to this file for any programs you want to be able to run from the cmg.

    Hope this helps.

Similar Threads

  1. Replies: 3
    Last Post: 12-10-2006, 09:45 PM
  2. klik-able
    By raid517 in forum Klik
    Replies: 7
    Last Post: 03-14-2006, 12:04 AM
  3. Replies: 210
    Last Post: 12-04-2004, 03:04 PM
  4. What's klik?
    By probono in forum Klik
    Replies: 0
    Last Post: 11-28-2004, 08:59 PM
  5. Klik
    By Sgeo in forum General Support
    Replies: 1
    Last Post: 11-25-2004, 04:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Broadcom LSI 9400-16i Raid card SAS/SATA/NVME SFF-8643 SAS3416 PCIe 3.1 x8 HBA picture

Broadcom LSI 9400-16i Raid card SAS/SATA/NVME SFF-8643 SAS3416 PCIe 3.1 x8 HBA

$155.12



Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card picture

Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card

$28.20



Adaptec ASR-81605ZQ 12G SAS 16-Port 1GB Cache PCIe x8 RAID Controller picture

Adaptec ASR-81605ZQ 12G SAS 16-Port 1GB Cache PCIe x8 RAID Controller

$131.99



LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter picture

LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter

$34.95



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00