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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



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



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$49.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$254.97