Right click on the desktop, behavior, device icons and uncheck the show device icons box.
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
Right click on the desktop, behavior, device icons and uncheck the show device icons box.
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:
I wouldn't remove the file completely, this may cause an error in whatever script calls it.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
You will of course have to delete the icons from the desktop. The above will keep them from being recreated.
[/code]
@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=0I am not a programmer or shell scripter at all.
nice week to both of you
Mat
Intel Xeon E5-2697 v4 2.3GHz 18-Core Processor CPU LGA2011 SR2JV
$49.99
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...
$533.99
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
$69.99
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
$29.99
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
$533.11
Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU
$28.99