how can I remove the drive icons from the desktop whenever a new drive is installed onto the computer?
Those are controlled by the Puppy Event Manager ->Rox Icons tab
But you really should keep them showing and not try to remove them.
They are there for a good reason, after some time of using Puppy Linux, you will be happy they are there.
In Puppy Linux (Linux in general) to access what is on a drive partition.
It has to be mounted.
There is no auto- mount, when a drive is plugged in or not being used.
The only partition that mounts on bootup, is the one that has Bionicpup32 installed on it or the save is on. (usually the same partition)
No other drive partitions are mounted.
To make it easy to mount and UN-mount drive partitions.
The desktop has one drive icon for each of the partitions on all the drives the computer has.
To mount the partition you left click on the drive icon for it.
Rox file manager will open showing contents of that partition.
Close Rox and the partition stays mounted.
To UN-mount there will be a small mount symbol on top right of the icon. Left click on that symbol and it UN-mounts.
Only other way to mount and UN-mount is to use the Pmount program.
Which requires starting the program, making selection for the partition you want to affect, etc......
Using the drive icons on the desktop is much easier.
Hover the mouse cursor over a drive icon and info about it will display.
Also, right click on a desktop drive icon and a selection menu will pop up, with selections you can choose, for that drive partition.
Anytime you plug a drive into the computer (USB drive) and mount it.
Before unplugging it always UN-mount it first.
Easy to do with the desktop drive icon for it.
Same for a CD/DVD drive.
Use it's desktop drive icon to mount, UN-mount, and eject disk.
The desktop drive icons are a feature of Puppy Linux!
.
.