Results 1 to 2 of 2

Thread: How do I add my own program/icon to desktop?

  1. #1

    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.

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    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
  •  


Cisco SG300-52-Port Gigabit Managed Rack Mountable Network Switch picture

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

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

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

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

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

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

Cisco SG300-52 52 Port Gigabit Managed Network Switch w/ Rack Ears

$34.99



NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch picture

NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch

$22.99



Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS picture

Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS

$59.99



ATEN CS84U Network Switch picture

ATEN CS84U Network Switch

$70.00