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-

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$56.99
SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99
128TB External SSD Solid State Drive Hard Drive Disk PC Phones Mac Games Videos
$97.60
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00
SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$37.99
HP 240GB Enterprise 5100 PRO 2.5" SATA SSD Solid State Drive MTFDDAK240TCB
$24.99
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99
KingSpec SSD 2.5" SATA3 Internal Solid State Drive for PC,Laptop,Mac
$60.00
Samsung 850 PRO 512GB 2.5" Sata SSD Drive MZ-7KE512 MZ7KE512 Health Above 90
$52.99