-
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
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$38.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC
$19.95
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$21.33
CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)
$79.95
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$14.85
HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$129.95
A-Tech 64GB Kit 2x 32GB PC4-25600 Laptop SODIMM DDR4 3200 MHz 260-Pin Memory RAM
$123.99