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
  •  


Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$6.40



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.00



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$10.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95