-
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
![Cisco SG300-52-Port Gigabit Managed Rack Mountable Network Switch picture](/store/img/g/sOIAAOSwtV1mUVhk/s-l225/Cisco-SG300-52-Port-Gigabit-Managed-Rack-Mountable.jpg)
Cisco SG300-52-Port Gigabit Managed Rack Mountable Network Switch
$44.95
![ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301 picture](/store/img/g/J0AAAOSwSiVlu-xI/s-l225/ARUBA-J9772A-2530-48G-PoE-48-PORT-ETHERNET-SWITCH-.jpg)
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$140.23
![Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture](/store/img/g/kjQAAOSwNkhj0o7Y/s-l225/Fortinet-FortiSwitch-FS-124D-POE-24-Port-Gigabit-E.jpg)
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
![HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201 picture](/store/img/g/RNgAAOSwrTtlQZet/s-l225/HPE-ARUBA-2530-24G-J9773A-PoE-24-PORT-GIGABIT-ETHE.jpg)
HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201
$93.24
![Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports picture](/store/img/g/iCwAAOSwVX9mcdMS/s-l225/Netgear-ProSafe-FS726T-24-Port-10-100-Smart-Switch.jpg)
Netgear ProSafe FS726T 24 Port 10/100 Smart Switch w/2 Gigabit Ports
$19.99
![NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture](/store/img/g/GtAAAOSw441l3Jx1/s-l225/NETGEAR-GS108-ProSafe-8-Port-GbE-Unmanaged-Switch-.jpg)
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
![Cisco SG300-52 52 Port Gigabit Managed Network Switch w/ Rack Ears picture](/store/img/g/OJUAAOSwkKdmdKKv/s-l225/Cisco-SG300-52-52-Port-Gigabit-Managed-Network-Swi.jpg)
Cisco SG300-52 52 Port Gigabit Managed Network Switch w/ Rack Ears
$34.99
![NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch picture](/store/img/g/d0AAAOSwNv9mRbnq/s-l225/NETGEAR-GS305300PAS-5-Port-Gigabit-Ethernet-Unmana.jpg)
NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch
$22.99
![Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS picture](/store/img/g/hLYAAOSwc9xmdEiW/s-l225/Netgear-Prosafe-48-Port-GbE-4-Port-SFP-Managed-Net.jpg)
Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS
$59.99
![ATEN CS84U Network Switch picture](/store/img/g/cMkAAOSwl9dmdc4~/s-l225/ATEN-CS84U-Network-Switch.jpg)
ATEN CS84U Network Switch
$70.00