The script /usr/bin/mkdesktophdicons is what creates them. Either remove the script or edit /etc/X11/Xsession.d/45xsession and remove the line that calls that script.
I want to remove the HD, floppy and CD icons from the desktop of a remaster. I got rid of the INDEX page loading but I am not finding how to get rid of the icon loading. Suggestions?
Richard-
PS...thanks for the help so far...I REALLY AM getting this down....(I think?).
The script /usr/bin/mkdesktophdicons is what creates them. Either remove the script or edit /etc/X11/Xsession.d/45xsession and remove the line that calls that script.
Thanks...I'm doing it now....Richard-
OK...finished...REMed out all the MKDESKTOPICONS in /etc/X11/Xsession.d/45xsession and work perfectly...Oh, I did have to remove the Icons that were left over on the desktop but once gone they did not reappear....Thanks again!
Richard-
REM? lolOriginally Posted by richardljohnson
Longtime DOS user?
In Linux we say 'comment'Glad you got it working.
OK..is it dir or ls...or mem or free...I'M SO CONFUSED!!!!!!!!!
Yes, sorry, some old habbits die hard....BUT I'M TRYING!!!!!!
Richard-
I'm trying to disable the mkdesktophdicons script too, running a hd-installed knoppix 3.6 version. however I cannot find this 45xsession file, and in none of the files in the Xsession.d directory the mkdesktophdicons script is being called. Any suggestions?Originally Posted by mzilikazi
I 'lessed' myself through a bunch of scripts (hmm.. probably 'lessed' is not proper linux-speak - correct me when I'm wrong) and found that the script is being called in the /etc/init.d/knoppix-hd-autoconfig script. Is it 'save' and 'clean' to comment it out there?
45xsession is deleted during the installation processOriginally Posted by dertien
I 'lessed' myself through a bunch of scripts (hmm.. probably 'lessed' is not proper linux-speak - correct me when I'm wrong) and found that the script is being called in the /etc/init.d/knoppix-hd-autoconfig script. Is it 'save' and 'clean' to comment it out there?is the script. Is it safe to remove? Well I don't use it.Code:/usr/bin/mkdesktophdicons![]()
Here is a transcript from some note I made....
To remove ICONS from desktop
a.{root@tty1} editor /etc/X11/Xsession.d/45xsession
b.rem (#) out mkdesktopicons where ever it is in this file (I foundstarting around line 374-576 this can also be edited in the GUI of ROOT or SYSTEM. NOTE: /usr/bin/mkdesktopicons is the code that does this. It may also be possible to remove this but I found it easier to just REM out the call for this.
c.REMEMBER: You must also login as user and physically remove the icons which have already been created. Then log out then log back in to check to make sure icons do not show back up.
ALSO...
Go into /usr/bin/mkdesktopicons and change it to oldmkdesktopicons
Remove the floppy desk icons from the /etc/skelDesktop
Hope this helps...
Richard-

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3β Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99
Lenovo ThinkPad E14 Gen 3 Laptop 14β FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99
Lenovo Thinkpad X1 Yoga Gen 6 14" 16GB, Storm Gray
$356.80
Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36
Lenovo ThinkPad E14 Gen 2 Laptop 14β HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo ThinkPad T14 G2 14-Inch AMD Ryzen R5 5650U 16GB, 512GB SSD Win 11 Pro
$398.99
Lenovo - IdeaPad Slim 3i 15.6" Full HD Laptop - Intel Processor N355 2025- 8G...
$349.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo Thinkbook 15 G2, i5 1135G7, 256GB, 8GB, 20VE003GUS no OS, Iris Xe, 15.6"
$200.00