![]() |
![]() |
![]() |
#1 |
Posts: n/a
|
Change RAM Disk icon in Workbench 3.1
Hi everyone
I've just set up Workbench 3.1 on my A1200, installed Scalos and Newicons and after a bit of tweaking I'm happy with the look - except I can't figure out how to change the icon for the RAM disk. I've tried saving the icon in ENVARC: and adding a line to my startup script to copy it over, but this doesn't show the icon in Scalos. Interestingly if you look at the Information panel for it the icon shows up. Does anyone have any ideas where I'm going wrong? Many thanks |
![]() |
#2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,185
|
I don't believe that Scalos has special handling for Ram Disk. So all I could think of is that you copy the icon too late. Make sure that the copy is finished before Scalos starts.
|
![]() |
![]() |
#3 |
Puttymoon inhabitant
|
Just in case: it must by the "disk" icon type and must be named disk.info
|
![]() |
![]() |
#4 |
Posts: n/a
|
![]()
Thanks for the help, I got it to work.
There were two issues - the icon type was wrong and the copy was happening too late. I copied the disk.info file fron one of my other drives into ENVARC and used CopyNewIcon to change it to what I wanted. Then I just moved the copy line (below for anybody googling this in the future) to above the line in the startup sequence that calls user-startup. Code:
COPY ENVARC:def_ramDISK.info RAM:disk.info |
![]() |
#5 |
Registered User
![]() Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 5,104
|
A small refinement to this could be to create a softlink to the RAM disk icon in ENVARC: instead of just copying the icon. This should have the same effect of changing the RAM disk icon, but with the added bonus of remembering any changes made to the icon in the normal way, e.g. snapshotting the disk's icon or editing its image. This is the technique used in OS4 by default, and I've used it under OS 3.9 for many years. I'm fairly confident it will work under 3.1 too... Perhaps someone else has tried it and can confirm?
Code:
MAKELINK RAM:disk.info ENVARC:def_ramDISK.info |
![]() |
![]() |
#6 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,185
|
Quote:
But there is a program on Aminet which can used in place of the copy command to achieve a similar effect: http://aminet.net/package/util/misc/snapvol |
|
![]() |
![]() |
#7 |
Banned
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,899
|
PeterK's icon.library is supposed to take care of this too.
I'm sure the ram-handler of OS 3.1.4 will also handle softlinks ![]() |
![]() |
![]() |
#8 |
BoingBagged
![]() Join Date: Aug 2007
Location: The South of nowhere
Age: 43
Posts: 2,226
|
|
![]() |
![]() |
#9 | |
Registered User
![]() Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 5,104
|
Quote:
|
|
![]() |
![]() |
#10 |
Registered User
![]() Join Date: Aug 2016
Location: SCC-NAC-dC-iNT
Posts: 797
|
Years ago, I made a special "Max Headroom" Icon for RAM Disk. Early in the Startup-Sequence I have it copied to RAM: and then it's noticed by Workbench as the Icon. Any changes I made from Workbench, position, etc, I then had to copy the RAM Disk.Info over the one on Hard Drive. After that...it's been my RAM Disk Icon for many years. I don't use Softlinks because that's not supported by older versions of OS.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OS 3.9 Ram-Disk Icon gone/changed | elowan | support.Other | 16 | 10 August 2016 13:41 |
How to change AmiCDFS icon? | Leandro Jardim | support.Apps | 6 | 17 October 2011 09:34 |
wtf? The ram disk icon does not save its position... | keropi | support.Apps | 3 | 29 November 2005 19:10 |
Change Default floppy disk icon | fc.studio | support.Apps | 1 | 07 August 2004 20:28 |
Changing default Ram Disk: icon under 3.9 | oldpx | support.Apps | 8 | 26 July 2004 21:51 |
|
|