Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Remove drive icons on desktop

  1. #11
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Hm.
    I don't know what will work and what will not work.
    I wouldn't recommend deletion, but perhaps you find a hint where the desktop-logos are created, and - after making a backup of course - comment that section out.

  2. #12
    Junior Member registered user
    Join Date
    Jul 2004
    Location
    Berlin
    Posts
    10
    Quote Originally Posted by GuyLeDouche
    I did install the Knoppix way. Can I just get rid of that file/edit it?
    Yes you could edit it. The file (knoppix-autoconfig or whatever the name was) is very well documented (in the file!). Just search for the word "icons" and you will find it.

    The comment it out by putting a # at the start of the lines which are responsible for creating the icons.

    If you need further help, please ask.

    PS: And don't forget to make a backup (= a copy) of the file you edit!!

  3. #13
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    19
    Thank you all very much. For the record, the file was called /etc/init.d/knoppix-hd-autoconfig. There was a function called update_desktop_hdicons(). In it, there was an if statement that said if the user was root to make the icons. I had to comment out the whole if statement. It looked something like this:
    Code:
    if [ "$user" != "root ]; then
    su "$user" -c mkdesktophdicons
    fi
    I just commented that out with "#". And shabam it's fixed. Thanks again all.[/code]

  4. #14
    Junior Member registered user
    Join Date
    Jul 2004
    Location
    Berlin
    Posts
    10
    Quote Originally Posted by GuyLeDouche
    ... there was an if statement that said if the user was root to make the icons.
    Code:
    if [ "$user" != "root ]; then
    su "$user" -c mkdesktophdicons
    fi
    Only for the sake of completeness:
    = means is
    != means not is or is not. Because ! is the Symbol for not

    So the if statement means: If the User is NOT root, then...

    Ok, that was it.

  5. #15
    Junior Member
    Join Date
    Mar 2005
    Posts
    9

    This is what I did

    you can try this....type:
    chmod /usr/bin/mkdesktophdicons -x

    worked for me....it just sets the file that re-creates the icons as not being executable

    Cheers

  6. #16

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Removing Desktop Drive Icons / Saving Changes
    By marilbil in forum General Support
    Replies: 1
    Last Post: 08-24-2005, 03:40 AM
  2. How do I remove the panel icons???
    By oganika in forum Customising & Remastering
    Replies: 3
    Last Post: 05-27-2005, 10:45 AM
  3. desktop full of hard drive icons
    By Lion in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-13-2005, 10:45 PM
  4. How to remove device icons on Desktop?
    By matbehns in forum General Support
    Replies: 3
    Last Post: 02-10-2005, 11:20 AM
  5. Desktop drive icons
    By Tortoise in forum Ideas
    Replies: 3
    Last Post: 08-01-2003, 01:33 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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro

$115.00



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture

Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5

$46.00



INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6 picture

INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6

$99.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98