Welcome, Guest. Please login or register.

Author Topic: What to do when device and file type deficon conflict?  (Read 1703 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
What to do when device and file type deficon conflict?
« on: April 25, 2010, 09:24:34 AM »
Using 3.9BB2 I have a def_zip icon for device ZIP:, a SCSI Zip drive, and a deficons file type definition for zip files.  The def_zip icon shows as expected for the Zip drive, but when the Workbench comes across a .zip file it shows the def_zip (device) icon.  Is it possible to have deficons for both?
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: What to do when device and file type deficon conflict?
« Reply #1 on: April 25, 2010, 12:39:05 PM »
You could just disable deficons. You'd be amazed at just how much faster your system becomes ;-)

Failing that, you should probably use your deficon prefs and edit the entry for zip under archive and give it a different name, like "ziparchive" or something. Then rename the corresponding deficon in envarc:sys/ to def_ziparchive.info.
int p; // A
 

Offline kolla

Re: What to do when device and file type deficon conflict?
« Reply #2 on: April 25, 2010, 12:39:39 PM »
You configure this in DefIcons prefs, you can call the zip file type something else for example. Back in the days I also think using _disk.info for devices worked, that is zip_disk.info for zip device.
« Last Edit: April 25, 2010, 12:42:23 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: What to do when device and file type deficon conflict?
« Reply #3 on: April 25, 2010, 12:40:57 PM »
What are the actual icon types as seen in IconEdit?

In the DefIcons that came with NewIcons, disks and drives should be of type Disk, but DefIcons can use drawers for them too, iirc. A zip file should probably be of type Project, and you ought to be able to set that in IconEdit. Give it a go, and don't forget to RTFM for DefIcons.
:)
 

Offline LoadWBTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: What to do when device and file type deficon conflict?
« Reply #4 on: April 25, 2010, 05:47:38 PM »
All good suggestions.  I will also try to find the docs for DefIcons as it installed with 3.5 and 3.9.  Thanks!