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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



2024 Full Version Office Professional Plus for 1 PC Flash USB Drive picture

2024 Full Version Office Professional Plus for 1 PC Flash USB Drive

$89.99



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



2021 Full Version Office Professional Plus for 1 PC Flash USB Drive picture

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive

$59.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick picture

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick

$218.79



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99



TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam 128GB READ DESCRIPTION BELOW picture

TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam 128GB READ DESCRIPTION BELOW

$22.00