Results 1 to 4 of 4

Thread: How to remove device icons on Desktop?

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    7

    How to remove device icons on Desktop?

    Hi,

    I installed Knoppix v3.7 on my harddrive. Whenever I boot the system it creates icons for hda1, hda2, cdrom on my desktop. Where can I deactivate this? I had a look in /etc/fstab but couldnt figure it out!

    Thanks for reply ... Mat

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Right click on the desktop, behavior, device icons and uncheck the show device icons box.

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    The icons are created by /usr/bin/mkdesktophdicons. You can just disable this file by adding the line 'exit 0' as the first active line of the file:

    Code:
     
    #!/bin/bash 
    # (C) Klaus Knopper Nov 2002 
    # Recreate desktop icons for CD-Roms and harddisks in KDE and GNOME 
    # This script must be run as the logged in user. 
    
    # modified by CrashedAgain to do nothing 
    exit 0 
    
    # you can delete the rest of the file
    I wouldn't remove the file completely, this may cause an error in whatever script calls it.

    You will of course have to delete the icons from the desktop. The above will keep them from being recreated.

    [/code]

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    7
    @rusty

    Thanks, but the devices in this panel were disabled already. Still some other file created them.

    @CrashedAgain

    Thank you very much, that solved my issue. I looked for this file all over /etc never figured to look in a different location. Now it works fine! Also learned that I can stop executing a file by setting exit=0 I am not a programmer or shell scripter at all.

    nice week to both of you

    Mat

Similar Threads

  1. How do I remove the panel icons???
    By oganika in forum Customising & Remastering
    Replies: 3
    Last Post: 05-27-2005, 10:45 AM
  2. how do i get rid of the device icons on my desktop?
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 04-06-2005, 09:42 PM
  3. Remove drive icons on desktop
    By GuyLeDouche in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 04-06-2005, 09:42 PM
  4. I can't remove device ikons on my desktop...
    By slater77 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-26-2005, 05:29 AM
  5. small problem with device icons
    By darka in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 07-04-2004, 10:03 AM

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-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV picture

Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV

$49.99



Dell Intel® Xeon® Processor E5-2698 v4 Lightly Used picture

Dell Intel® Xeon® Processor E5-2698 v4 Lightly Used

$64.00



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$533.99



AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed  picture

AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed

$309.99



10th GEN INTEL Core i5-10400F 2.9GHz Socket-1200 Desktop CPU SRH3D Processor picture

10th GEN INTEL Core i5-10400F 2.9GHz Socket-1200 Desktop CPU SRH3D Processor

$69.99



Intel Core i5 Gen 10 I5-10505 3.20 GHz Comet Lake SRH38 FCLGA1200 Processor Used picture

Intel Core i5 Gen 10 I5-10505 3.20 GHz Comet Lake SRH38 FCLGA1200 Processor Used

$60.84



Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor picture

Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor

$29.99



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$305.99



Intel Pentium 4 Extreme Edition 3.73 GHz SL7Z4 LGA775 Processor Prescott picture

Intel Pentium 4 Extreme Edition 3.73 GHz SL7Z4 LGA775 Processor Prescott

$533.11



Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU picture

Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU

$28.99