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 GnomOr you could look at probono script above?Code:/home/mhau/.zAppRun /home/mhau/klik/some.cmg
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox
$340.00
Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD
$75.00
DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED
$299.99
Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS
$721.06
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$275.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs
$108.96
Dell PowerEdge R820 Server 4x E5-4620 2.2GHz 32-Core Total 256GB 0HD 2x 1100w
$315.00
Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w
$289.99