#!/bin/shmenudir=/usr/share/applicationsname=`zenity --entry --text "Enter the name of the application"`comment=`zenity --entry --text "Enter a comment"`execfile=`zenity --entry --text "Enter the path and filename for execution."`iconfile=`zenity --file-selection --title "Select the icon file"`category=`zenity --entry --text "Select a category" Accessories Game Graphics Multimedia Network Office Other System`linkname=`zenity --entry --text "Enter the name of the system link"`echo "[Desktop Entry]" > $menudir/$linkname.desktopecho "Encoding=UTF-8" >> $menudir/$linkname.desktopecho "Name="$name >> $menudir/$linkname.desktopecho "GenericName="$name >> $menudir/$linkname.desktopecho "Comment="$comment >> $menudir/$linkname.desktopecho "Icon="$iconfile >> $menudir/$linkname.desktopecho "Exec="$execfile >> $menudir/$linkname.desktopecho "Terminal=false" >> $menudir/$linkname.desktopecho "Type=Application" >> $menudir/$linkname.desktopecho "Categories=Application;"$category >> $menudir/$linkname.desktopecho "StartupNotify=true" >> $menudir/$linkname.desktop