add2launch Chris_(medico_2001) GPL 0.1 add2launch 0 0 290 576 add2launch CloseButton1_2 205 535 65 35 11 E&xit GroupBox4 5 80 280 450 227 227 227 execapp 10 105 255 26 ButtonGroup 5 255 265 141 iconapp 5 25 246 25 ... *.png *.gif *.jpg Open icon_1 90 60 64 64 128 128 true Box Sunken no icon selected true AlignCenter Label8 9 4 245 16 5) Select the icon to use Label9 10 195 261 16 4) Short Description of the program (optional) Label7 10 140 245 16 3) Launch Category to place the icon Label5 10 30 245 16 1) Name of the program Label6 10 85 245 16 2) Command to launch the program descapp 10 215 255 26 Development Educational Entertainment Graphics Internet Multimedia Office System Utilities catapp 10 160 255 25 nameapp 10 50 255 26 ExecButton1 85 405 90 34 12 1 &OK #!/bin/sh nameapp="@nameapp.text" execapp="@execapp.text" catapp="@catapp.text" iconapp="@iconapp.text" descapp="@descapp.text" cat <<EOF >/tmp/$nameapp.desktop [Desktop Entry] Encoding=UTF-8 Name=$nameapp Exec=$execapp X-KDE-Library=libkwordpart GenericName=$descapp MimeType= Type=Application Icon=$iconapp EOF xterm -e sudo mkdir /usr/share/applnk/$catapp/ mkdir -p ~/.kde/share/applnk/$catapp/ cp -r /tmp/$nameapp.desktop ~/.kde/share/applnk/$catapp/$nameapp.desktop xterm -e sudo cp -r /tmp/$nameapp.desktop /usr/share/applnk/$catapp/$nameapp.desktop export XDIALOG_HIGH_DIALOG_COMPAT=1 DIALOG=Xdialog DIA=Xdialog kdialog --title="klikit info" --msgbox "$nameapp was added to the Launch Menu (KMenu), under $catapp" rm -f /tmp/$nameapp.desktop Label4 -1 1 280 25 255 255 255 90 145 197 1 ADD AN ICON TO THE LAUNCH MENU AlignCenter AboutButton 25 535 67 35 11 A&bout @Message.info(add2launch - Version 0.1 Copyright 2007 by Chris J. Ramaglia [Chris _(medico_2001)] - for Klikit-Linux This is free software. you may redistribute and/or modify it under the terms of the version 2 of the GNU General Public License as published by the Free Software Fundation. This program comes with ABSOLUTE NO WARRANTY. See the version 2 of the GNU General Public License for details.,add2launch - Version 0.1) GroupBox1_2 5 5 280 70 Label1_1 5 5 230 45 21 32 235 28 1 Add2Launch PlainText AlignCenter Label1_3 10 45 124 16 8 by Chris_(medico_2001) Label1_2 240 25 29 17 v0.2 AlignCenter iconapp widgetTextChanged(const QString&) icon_1 setWidgetText(const QString&)