-
How do I add my own program/icon to desktop?
Hi. I'd like to add a new icon to lxde desktop, that has associated with it the
name of a shell script (that i've written) or single command, so that when i
double-click the icon, the script/command executes.
Could you tell me how to do it please? I've looked in knoppix wiki but can't see
it covered.
I guess this kind of question would be covered by a Knoppix manual. Where would
I find such an online manual or book i can buy please? Also, I know that there
is documentation within knoppix itself, like "KDE Help Centre", but it doesn't
seem to contain instructions for doing things in the desktop environment, like
this query that i have here.
Thanks, John.
-
Hello John,
you can create a ".desktop" file like for example:
/home/knoppix/Desktop/kn-what.desktop
Code:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=my Installation
Name[de]=aktuelle Installation
Comment=Lists of all programms and libraries
Comment[de]=Listen aller Programme und Libraries
Icon=accessories-dictionary
Exec=/etc/alternatives/x-terminal-emulator --geometry=100x24 -e /usr/bin/kn-what
Terminal=false
StartupNotify=true
Categories=System;
Write your command at "Exec=.." and for "Icon=.." select an icon from '/usr/share/icons/hicolor/'. You'll find many examples at '/usr/share/applications'.
Also have a look at https://wiki.archlinux.org/index.php/LXDE
=> Autostart Programs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.42
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Gigabyte GA-B75M-HD3 Intel LGA1155 DDR3 Desktop Motherboard MicroATX USB 3.0
$26.99
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99
GIGABYTE Z690 AORUS Elite AX (LGA 1700/Intel 7690/WiFi 6) - Gaming Motherboard
$99.86