-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

ASUS M4A88TD-V EVO/USB3 ATX Socket AM3 AMD DDR3 4DIMM USB3 DVI VGA Working
$38.50

MSI MAG B760 TOMAHAWK WIFI Intel LGA1700 ATX DDR5 WiFi 6E 2.5G
$125.00

ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX
$59.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASUS H110I-PLUS Motherboard LGA1151 w/ I5-7400 CPU, 8GB, Heatsink & I/O Shield
$60.00

ASRock B550M Phantom Gaming 4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$81.99

ASUS Motherboard PRIME B250M-C Intel G4560+ LGA 1151 DDR4 mATX + Fan +I/O Shield
$49.95

Gigabyte B365M AORUS ELITE Motherboard Intel B365 Micro ATX LGA 1151 DDR4 DIMM
$84.99

GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7
$69.59