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-

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
MSI PRO Z790-P WIFI DDR4 LGA 1700 Intel Z790 SATA 6Gb/s DDR4 ATX Motherboard
$163.49
ASUS PRIME Z490-P LGA 1200 Intel Z490 SATA 6Gb/s ATX Intel Motherboard NEW
$121.45
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49
ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99
Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99
ASUS B85M-G/B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI for Inter 4thCPU
$45.00