Results 1 to 2 of 2

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

Hybrid View

  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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE

$199.99



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$34.99



HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD picture

HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD

$84.99



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%) picture

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)

$45.00



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Western Digital Red WD60EFRX-68MYMN1 6 TB,Internal,5400 RPM,3.5 inch Hard Drive picture

Western Digital Red WD60EFRX-68MYMN1 6 TB,Internal,5400 RPM,3.5 inch Hard Drive

$179.99