Can anyone tell me how to make a Desktop Entry
execute a shell script?
I have the Desktop Entry shown below in /home/joe/Desktop
that opens a console terminal when I click on the corresponding
link named "Shell."
In addition to this, I would like to also have another, separate
Desktop Entry named "Phone" that would execute a shell script
I created that searches (fgrep) a text file named "phone" in which
I have several hundred names and telephone numbers - one pair
per line. By just entering a name at a special command line prompt,
the corresponding phone number pops up instantly. It's much
simpler, faster, easier, and more versatile than any gui address book.
The way I have it working now, I click on the desktop "Shell" link
and when the terminal window opens, up, I type: 'phone' and then
enter the desired search name. It's a small thing, but I'd like to be
able to eliminate the two extra steps -- having to first open a shell
and then type the word 'phone' every time.
I have several other shell scripts that I use every day that I'd like
to do something similar to streamline.
[Desktop Entry]
Comment=Terminal emulator window
Comment[en]=Terminal emulator window
Comment[en_US]=Terminal emulator window
DocPath=konsole/index.html
Exec=konsole %i %m
Icon=/home/joe/shell.png
Name=Shell
Name[en]=Shell
Name[en_US]=Shell
Terminal=0
Type=Application
X-KDE-StartupNotify=true
joe
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss