-
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
![Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram picture](/store/img/g/JKYAAOSwpONmaNJP/s-l225/Dell-SNPTP9W1C-16G-16-GB-2666MHz-PC4-2666-Memory-R.jpg)
Dell SNPTP9W1C/16G 16 GB 2666MHz (PC4-2666) Memory Ram
$34.95
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2 picture](/store/img/g/PxMAAOSw~T1mYfdq/s-l225/Micron-8GB-DDR4-1Rx16-PC4-3200AA-Laptop-RAM-Memory.jpg)
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$10.00
![NEW OLOy 16GB 2x8GB KIT DDR4-3000 PC4-24000 Desktop Gaming RAM MD4U0830160BB1ST picture](/store/img/g/k~8AAOSwIBdmZRfq/s-l225/NEW-OLOy-16GB-2x8GB-KIT-DDR4-3000-PC4-24000-Deskto.jpg)
NEW OLOy 16GB 2x8GB KIT DDR4-3000 PC4-24000 Desktop Gaming RAM MD4U0830160BB1ST
$19.99
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![Samsung 8GB (2x4GB) DDR3 1600MHz PC3 Desktop RAM Memory | M378B5173DB0-CK0 | picture](/store/img/g/kAEAAOSwFvRmduHw/s-l225/Samsung-8GB-2x4GB-DDR3-1600MHz-PC3-Desktop-RAM-Mem.jpg)
Samsung 8GB (2x4GB) DDR3 1600MHz PC3 Desktop RAM Memory | M378B5173DB0-CK0 |
$8.30
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![Lot of 8 Samsung 16GB 2Rx4 PC3-12800R DIMM RAM PH M393B2G70QH0-CK0 Ram Modules picture](/store/img/g/HvkAAOSwcWFmfGE5/s-l225/Lot-of-8-Samsung-16GB-2Rx4-PC3-12800R-DIMM-RAM-PH-.jpg)
Lot of 8 Samsung 16GB 2Rx4 PC3-12800R DIMM RAM PH M393B2G70QH0-CK0 Ram Modules
$100.00
![HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture](/store/img/g/OQ4AAOSwK99kxOty/s-l225/HyperX-FURY-DDR4-8GB-16GB-32GB-3200MHz-PC4-25600-D.jpg)
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$71.93