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
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 GnomOr you could look at probono script above?Code:/home/mhau/.zAppRun /home/mhau/klik/some.cmg
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$14.50
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$13.50
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$47.59
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
A-Tech 32GB 2x 16GB PC4-21300 Laptop SODIMM 260-Pin DDR4 2666 MHz Memory RAM Kit
$59.99
Samsung PC4-19200 PC4 2400T 32GB DDR4 RAM Server Memory
$79.99
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$72.93