I have a strange problem with the deficons.. After installing the july update the system doesn't recognize the lha format and instead of giving to me the lha icon and launching Unarc when i doubleclick on it, i have an error message as it is an unknow format..
I also have a problem with the usb icon, now when i insert a usb pendrive instead of my usb icon i have the floppy disk icon..
Is a known problem or this just happens only to me ?
Is a known problem or this just happens only to me ?
It is a known problem. I don't understand the in's and out's of it, but you have to set the full path name of unarc as the default tool in the def_icon. Don't forget to do it for all your archive icons, zip, lha, etc..., Oh!, and don't forget to re-boot.
maybe the USB name device USB0: or USBC: has changed!!! if so, try to rename yor usb disk info to what now is the USB device name (USBC USB0 ...) and try (after reboot)
maybe the USB name device USB0: or USBC: has changed!!! if so, try to rename yor usb disk info to what now is the USB device name (USBC USB0 ...) and try (after reboot)
BYE
I had to duplicate my def_USB icons and renamed them to def_USB0C, def_USB1C, def_USB2C, and def_USB3C. I believe the "C" stands for Crossdos.
Perhaps something can be added to the NSD specs to query media type, and then WB can use def_<media>disk.info if it exists (after trying def_<device>.info ad before falling back to def_disk.info)
You are aware of the fact that its still possible to store a Disk.info file on a disk so we dont really need a foolproof default disk icon mechanism for DefIcons?
Maybe a placeholder for a unit number in the default icon name would make sense, something like def_DF%ld def_FD%ld def_PC%ld def_USB%ld def_USB%ldC etc. Or a $ sign instead of %ld.
Don't forget to do it for all your archive icons, zip, lha, etc..., Oh!, and don't forget to re-boot.
Tsk, tsk: what a windowish attitude No need to reboot. Just wipe the relevant def_wahtever.info from env:sys, if you modified the deficons prefs, quit and start them and here you go (refresh the directoryt view).
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
DefIcons doesn't use the device name, but it does use the file system if there is nothing else. For example for a SFS\0 partition with no disk.info and no def_dhx.info it tries to use def_SFS0.info. IIRC def_FAT2.info should be used for CrossDOSFileSystem, but you can check with Snoopy. Since for CrossDOS floppies (PC0:) DOSType MSD\0 is used instead you can even use different icons for FAT floppies and FAT HDs connected with USB that way (if usbmasstorage does use DOSType FAT2, but even if not it's probably using MSH\0 for HDs, not MSD\0).
After installing the july update the system doesn't recognize the lha format and instead of giving to me the lha icon and launching Unarc when i doubleclick on it, i have an error message as it is an unknow format..
No idea. When DefIcons is present in WBStartup and the def_lharc.info file is in ENVARC:Sys/ and it doesnt work, maybe you broke ENVARC:Sys/deficons.prefs, make a backup of it and reinstall it from the OS4Final CD to check that. The July update should have nothing to do with this...