You must add a menu entry with the following as the command:
~/.zAppRun /path/to/my.cmg
Greetings,
probono
Is this possible? I tried adding the .cmg to the menu... didn't work. Then tried adding a link to a folder, then added the link to the menu... still didn't work? Yet if I click on the .cmg or the link file directly, both launch the app's fine.
Paul
You must add a menu entry with the following as the command:
~/.zAppRun /path/to/my.cmg
Greetings,
probono
Thanks Probono,
But still doesn't work. I'm using Kanotix 2005-1 and here's an example of what I've tried for "Kbackgammon":
and also tried:Code:~/.zAppRun /home/bigkahuna/Klik/kbackgammon.cmg
but neither worked. The only option I have checked is "enable launch feedback".Code:~/.zAppRun '/home/bigkahuna/Klik/kbackgammon.cmg'
Any other ideas?
Thanks
Paul
Please try running the command "~/.zAppRun /home/bigkahuna/Klik/kbackgammon.cmg" in a konsole so that you can see what, if any, errors it gives?Originally Posted by bigkahuna
It runs OK from Konsole, but the exact same line in the Menu Editor doesn't work. Looks like the HD shuffles for a "micro-second" then nothing, nada, zip, zilcho.... you get the idea![]()
Paul
The following asks you where you store your cmg files, and then creates a menu entry for each:
Code:#!/bin/sh # ask where user stores cmg files (desktop by default) CMGDIR=$(kdialog --getexistingdirectory ~/Desktop --caption "Where do you store your cmg files?") # find cmg files CMGFILES=$(find $CMGDIR/*.cmg 2>/dev/null) # remove old menu entries rm -rf $HOME/.kde/share/applnk/klik/*.cmg.desktop # create new menu entries for CMGFILE in $CMGFILES do echo $CMGFILE BASENAME=$(basename "$CMGFILE") cat > $HOME/.kde/share/applnk/klik/$BASENAME.desktop <<EOmooF [Desktop Entry] Encoding=UTF-8 Type=Application Exec=$HOME/.zAppRun $CMGFILE Icon=view_remove Name=$BASENAME EOmooF done
Ooops, meant to mention it in here before now! Sorted out in IRC. The menu entry was using "~/.zAppRun" but had to use "/home/bigkahuna/.zAppRun" to work.Originally Posted by bigkahuna
Jeez... dont make it too easy for me!... then creates a menu entry for each:![]()
![]()
Bfree - thanks for a re-post. I believe you already gave me the info on the #kanotix irc, but since Ive since wiped my old install and am in the midst of a fresh new install, your post will help alot!/home/bigkahuna/.zAppRun
Thanks both of you!!!
Paul
hi there,
could you please explain again? Path to my cmg is home/mhau/klik/.
What do i have to write in the Menü-Editor?
thx,
g.
Originally Posted by Gnom
Or you could look at probono script above?Code:/home/mhau/.zAppRun /home/mhau/klik/some.cmg

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
â Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)â
$29.90
ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99
ASRock AMD BC-250 16GB 128GB SSD Used
$220.00
Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99
ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00