Results 1 to 4 of 4

Thread: how to create an icon on desktop

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    6

    how to create an icon on desktop

    hi friends,

    what should i do if i wish to create a shortcut icon of an application(executable o desktop).suppose i have an executable education package in /usr/bin directory and i want to create its icon on desktop so that a lay man has not to move across directories for its execution.

    do reply if u have any suggestions.

  2. #2
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    Are you talking about KDE?
    Right click on desktop->Create New->File->Link to application.

    Hope this help

  3. #3
    Junior Member
    Join Date
    Jun 2006
    Posts
    4

    Look in the /etc/X11/Xsession.d/45xsession file

    If you search in vim with /index you will find part of the script makes the link in the Autostart directory on the desktop.
    So if your remastering copying this part of the script and editing slightly you can create a link to the executable in the bin directory show up on the desktop after booting. One problem with this is, you can edit the script, and test it, if there is no file no error will be thrown. And you can't add files to the cdrom directory. You need to be careful with the scripting put the file where it needs to be in the remaster source directory and create the iso. Qemu then will be good to test with before a burn.

  4. #4
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    Quote Originally Posted by maxIT
    Are you talking about KDE?
    Right click on desktop->Create New->File->Link to application.

    Hope this help
    Actually on my first answer I didn't care so much about this specific room 'customising and remastering'!
    Stayng much more on topic I think it sould be consider that icons are text files, here is my '$HOME/Ddesktop/Floppy':
    Code:
    [Desktop Action Format]
    Exec=kfloppy %v
    Name=Format
    
    [Desktop Entry]
    Actions=Format
    Dev=/dev/fd0
    Encoding=UTF-8
    Icon=3floppy_mount
    MountPoint=/floppy
    ReadOnly=false
    Type=FSDevice
    UnmountIcon=3floppy_unmount
    X-KDE-Priority=TopLevel
    So I thiink that this file has to be copied in '/etc/skel/Desktop'

    Hope this can help more!

Similar Threads

  1. Sudden Desktop Icon Problem
    By Levi32 in forum General Support
    Replies: 0
    Last Post: 12-07-2006, 11:39 PM
  2. Internal HD Not Visible as Icon on Knoppix Desktop
    By KnoppyKate in forum Hardware & Booting
    Replies: 5
    Last Post: 03-29-2005, 05:56 AM
  3. My Knoppix Desktop is missing that key icon
    By dj_clawson in forum General Support
    Replies: 2
    Last Post: 03-17-2005, 06:25 AM
  4. Desktop Icon LinuxTag
    By rabinhood in forum Customising & Remastering
    Replies: 1
    Last Post: 07-16-2004, 05:14 PM
  5. How to remove the selflinux icon on desktop?
    By bongski55 in forum Customising & Remastering
    Replies: 2
    Last Post: 06-24-2003, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$450.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



HP Z840 44 Core Workstation 2x Xeon E5-2699 v4 - No RAM/ GPU/ HDD/ OS picture

HP Z840 44 Core Workstation 2x Xeon E5-2699 v4 - No RAM/ GPU/ HDD/ OS

$594.97



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Intel Xeon E5-2697 v4 2.3GHz 45MB 9.6GT/s SR2JV 18 Core LGA2011-3 B Grade CPU picture

Intel Xeon E5-2697 v4 2.3GHz 45MB 9.6GT/s SR2JV 18 Core LGA2011-3 B Grade CPU

$26.95