Welcome, Guest. Please login or register.

Author Topic: How to change CD icon?  (Read 3755 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: How to change CD icon?
« on: January 21, 2009, 07:27:41 AM »
Have a look in SYS:Prefs/Env-Archive/sys. There should be a load of icons in there. The file you need to change will be called something like def_CD0.info, where CD0 is the name of your CD drive's device. I can't remember now but you may not actually be able to see it from Workbench as icons of type "disk" don't show up. If you do a "dir" from the shell on that directory then the file should be there. Just copy a different icon over the top of it and then it should function as the CD icon. You will need to reboot for it to take effect.

IIRC, this file will be overridden by volumes which have their own disk.info (on the CD).

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: How to change CD icon?
« Reply #1 on: January 22, 2009, 08:26:18 AM »
Quote
KatManDEW wrote:
Deficons sounds familiar, but I can't find any file like it on my Amiga. I tried the files in SYS:Prefs/Env-Archive/sys to no avail. I have a copy of the icon file in there called def_CD.icon and def_CD-ROM.icon and def_CD0.icon, but I still have a floppy disk icon for my CD drive. :-?

The fact that you have those def_#?.info files in envarc:sys suggests that you have Deficons installed. The problem is probably that none of the icons match the device name of your CD drive. As I said above, the deficon must match this otherwise it won't be applied. Have a look in sys:devs/dosdrivers and you should see an icon which represents your CD drive. If you can't recognise it, post a list of the contents of the directory. Once you have identified it, copy the icon you want to use in to sys:prefs/env-archive/sys. So, if the mountlist in sys:devs/dosdrivers was called "CD1" then the icon in sys:prefs/env-archive/sys would be called "def_CD1.info"

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: How to change CD icon?
« Reply #2 on: January 22, 2009, 08:28:19 AM »
Quote
QuikSanz wrote:
As I recall they are hidden and you need to right click and chose "show all".

I don't think that will reveal disk icons. They are never displayed unless they are actually being applied to the volume icon of a disk. In all other cases, the only way to see them is to look in the shell (using the "dir" command).

The fact that the OP can see some def_CD#?.info files in envarc:sys just means that they aren't set to disk type icons. I can't remember whether that matters to deficons now.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: How to change CD icon?
« Reply #3 on: January 22, 2009, 12:50:17 PM »
Is the file in sys:prefs/envarc/sys definitely called def_cd0.icon? Because it should be def_cd0.info. If it has the correct name but still isn't being applied, then either deficons isn't running, or there's something wrong with the icon.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: How to change CD icon?
« Reply #4 on: January 22, 2009, 06:50:40 PM »
Quote
KatManDEW wrote:
I'm almost positive I used .info, because all the other files in that drawer were .info, but I'll check when I get home this evening.

Try doing a directory listing from the shell rather than opening the drawer through Workbench. If you're using OS3.0 or 3.1 then you need to make sure you've got deficons running, since it's that which applies the icon. Without it, the icon will sit unused. To check, open a shell and type:

ed s:startup-sequence

and then just scan down the file to check for a deficons entry.

Quote
KatManDEW wrote:
This may all be a mute point

Maybe, but more likely it will be a moot point :-P

Quote
KatManDEW wrote:
once i receive OS 3.9 and install it. It might arrive today.

OS3.9 has deficons built-in. So all you need to do is change the icon to whatever you want it to be and it should change (after a reboot).

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10