-
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
![Lenovo ThinkPad Laptop PC Computer 15.6](/store/img/g/DLkAAOSwMapmfYli/s-l225/Lenovo-ThinkPad-Laptop-PC-Computer-15-6-Core-i5-8G.jpg)
Lenovo ThinkPad Laptop PC Computer 15.6" Core i5 8GB RAM 256GB SSD Windows 11
$188.57
![Lenovo ThinkBook 14 Gen 6 AMD Laptop, 14](/store/img/g/wU4AAOSwmdZmQCJk/s-l225/Lenovo-ThinkBook-14-Gen-6-AMD-Laptop-14-IPS-60Hz-R.jpg)
Lenovo ThinkBook 14 Gen 6 AMD Laptop, 14" IPS 60Hz, Ryzen 5 7530U, 8GB, 256GB
$569.94
![Lenovo ThinkPad W550S - 1TB SSD - Intel Core i7-5500U - 8GB RAM - WIN 10 PRO picture](/store/img/g/Sd0AAOSwkA1mH-Xc/s-l225/Lenovo-ThinkPad-W550S-1TB-SSD-Intel-Core-i7-5500U-.jpg)
Lenovo ThinkPad W550S - 1TB SSD - Intel Core i7-5500U - 8GB RAM - WIN 10 PRO
$185.00
![Lenovo Ideapad 1 14](/store/img/g/l2oAAOSw3UplMDZC/s-l225/Lenovo-Ideapad-1-14-Laptop-Celeron-N4020-with-4GB-.jpg)
Lenovo Ideapad 1 14" Laptop - Celeron N4020 with 4GB Memory - Intel UHD Graph...
$149.99
![Lenovo ThinkPad Laptop PC 15](/store/img/g/ZC4AAOSw7mJmhN6w/s-l225/Lenovo-ThinkPad-Laptop-PC-15-FHD-Core-i5-16GB-RAM-.jpg)
Lenovo ThinkPad Laptop PC 15" FHD Core i5 16GB RAM 256GB SSD Windows 10 Pro HDMI
$239.99
![Lenovo ThinkPad T540P 15.6](/store/img/g/OVgAAOSwMgBmfcp-/s-l225/Lenovo-ThinkPad-T540P-15-6-FHD-Laptop-PC-Intel-i5-.jpg)
Lenovo ThinkPad T540P 15.6" FHD Laptop PC Intel i5 8GB Ram 256GB SSD Fingerprint
$118.00
![Lenovo - Flex 5i Chromebook Plus Laptop with Google AI - 14](/store/img/g/ULUAAOSwgkBlMDnS/s-l225/Lenovo-Flex-5i-Chromebook-Plus-Laptop-with-Google-.jpg)
Lenovo - Flex 5i Chromebook Plus Laptop with Google AI - 14" 2K Touch - Intel...
$349.00
![Lenovo Thinkpad X390 Yoga 13.3](/store/img/g/INoAAOSw6G9mhE7R/s-l225/Lenovo-Thinkpad-X390-Yoga-13-3-2in1-TOUCH-i5-8365U.jpg)
Lenovo Thinkpad X390 Yoga 13.3" 2in1 TOUCH i5-8365U 256GB SSD 8GB Win 10 Laptop
$199.99
![15.6](/store/img/g/Hb4AAOSwWahmfbAj/s-l225/15-6-Lenovo-ThinkPad-Laptop-PC-Intel-i5-16GB-RAM-5.jpg)
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 11 Webcam
$216.59
![15.6](/store/img/g/aFMAAOSwS4dmT5XL/s-l225/15-6-Lenovo-ThinkPad-Laptop-PC-Intel-i5-16GB-RAM-5.jpg)
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam
$229.99