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
  •  


Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99



Cisco C3KX-NM-10G 4-Port SFP  10G Expansion Module 3750-X / 3560-X Switch picture

Cisco C3KX-NM-10G 4-Port SFP 10G Expansion Module 3750-X / 3560-X Switch

$50.00



Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver picture

Dell EMC FTLF8532P4BNV-E5 019-078-057 32G SFP28 Fiber Channel 850nm Transceiver

$57.00



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture

Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver

$9.00



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00