Welcome, Guest. Please login or register.

Author Topic: DefIcons  (Read 3599 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
DefIcons
« on: July 27, 2010, 03:12:15 PM »
After another thread I came to know about DefIcons. However I cannot find from where to download it. I tried searching in Aminet but did not find it. I was told to install NewIcons since this should have it. I did so. However although I could find a file (under C in the installation package) named DefIcons, after the installation I could not find Prefs/DefIcons.

Does anyone know how I can get this?
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: DefIcons
« Reply #1 on: July 27, 2010, 03:45:02 PM »
 

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
Re: DefIcons
« Reply #2 on: July 27, 2010, 03:49:34 PM »
Quote from: mongo;572295
http://aminet.net/package/util/wb/NewIcons46


I did download that and installed it. However after installation I still cannot see any program DefIcons in SYS:Prefs!
 

Offline Thomas

Re: DefIcons
« Reply #3 on: July 27, 2010, 06:22:11 PM »
Prefs/DefIcons was introduced with OS 3.5, it does not exist for 3.1 and below. You probably have to live with the default settings (which are already rather powerful).

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
Re: DefIcons
« Reply #4 on: July 27, 2010, 10:07:57 PM »
Quote from: Thomas;572308
Prefs/DefIcons was introduced with OS 3.5, it does not exist for 3.1 and below. You probably have to live with the default settings (which are already rather powerful).


Thanks for the reply. Things are more clear now. What do you mean by default settings? What I was aiming for is being able to load all files that for example finish with .jpg (or are of type jpeg) with the same program and having the same icon.

At the moment the only way how I can do this is manually. (I could even write a script but that is outside the point). Is there a way how the system could do this automatically.
 

Offline Thomas

Re: DefIcons
« Reply #5 on: July 27, 2010, 10:49:17 PM »
The deficons program reads its settings from the deficons.prefs file which is stored in envarc:. The deficons preferences editor does nothing else but to edit the deficons.prefs file. As already said the preferences editor only exists for OS 3.5 and above. But the default deficons.prefs file which comes with the newicons package already contains most needed file types.

Therefore all you need to do is to copy deficons to c, deficons.prefs to envarc and add a line to s:user-startup which runs deficons. Then you can create an icon file called def_jpg.info with your desired default tool. The icon file needs to be stored in envarc:sys so that deficons can find it.

Now whenever you select show all files from the Workbench menu, all jpg files should be displayed with your def_jpg.info icon with your default tool. And I am sure that deficons does not rely on the .jpg extension, but also shows the jpeg icons for files which are not called .jpg.

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
Re: DefIcons
« Reply #6 on: July 28, 2010, 08:35:48 AM »
Thanks Thomas for your help :) I'll try to manage and do it in that way.