Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
134 user(s) are online (105 user(s) are browsing Forums)

Members: 0
Guests: 134

more...

Headlines

 
  Register To Post  

how to save the Ram Disk icon position once for all
Just popping in
Just popping in


See User information
everything is in the title...
I've tried several apps from aminet but none really work here (OS 4.1/Pegasos2) and i'm tired of having my Ram Disk icon not staying where i want it to stay : )

any idea ?

Sam440EP - AmigaOS 4.1 up6
Powerbook G4 - MorphOS 3.2
Macmini G4 - MorphOS 3.2
Go to top
Re: how to save the Ram Disk icon position once for all
Just popping in
Just popping in


See User information
@SoundSquare

I -THINK- what you need to do is snapshot thr RamDisk icon where you want it, then copy the .info file over the default icon file. The name is something like RAM_def.info and it's somewhere in the Prefs directory.

Sorry I can't be more specific but I'm not at my A1 right now.

Go to top
Re: how to save the Ram Disk icon position once for all
Home away from home
Home away from home


See User information
@SoundSquare

1. Position your RAM disk whereever you want
2. Snapshot it
3. do the following command in shell
copy RAM:Disk.info to ENVARC:sys/RAM_Solid.info
4. Put the following line at the bottom of user-startup
Makelink RAM:Disk.info ENVARC:SYS/RAM_Solid.info SOFT
5. Reboot

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@SoundSquare

1. Scrap any and all apps or other "smart" solutions you are using, and remove anything you might have put into your Startup-Sequence or User-Startup regarding the RAM Disk icon.

2. Get the RAM Disk icon to contain the image you want, make sure it opens the size and position of window you want, and position it at the spot you want. Then snapshot it.

3. In a Shell, type "copy RAM:Disk.info to ENVARC:Sys/def_RAM.info clone".

4. Reboot.

5. Never worry again, at least as long as you avoid creating a real RAM:Disk.info.

(6. In case I got some detail of this wrong - it's all from memory - blame me, and yell at me, and I'll try to fix it ).

Best regards,

Niels

Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@Raziel

Quote:

Raziel wrote:
@SoundSquare

1. Position your RAM disk whereever you want
2. Snapshot it
3. do the following command in shell
copy RAM:Disk.info to ENVARC:sys/RAM_Solid.info
4. Put the following line at the bottom of user-startup
Makelink RAM:Disk.info ENVARC:SYS/RAM_Solid.info SOFT
5. Reboot


No need for a specially named icon and for linking it explicitly. Just save it as def_RAM.info instead, and it will be used as default icon for RAM: automatically.

Best regards,

Niels

Go to top
Re: how to save the Ram Disk icon position once for all
Just popping in
Just popping in


See User information
@nbache -first post

That's what I do, simple and works like a charm

Go to top
Re: how to save the Ram Disk icon position once for all
Not too shy to talk
Not too shy to talk


See User information
The ultimate solution is to add the following line to s:user-startup:

makelink RAM:Disk.info ENVARC:Sys/def_RAM.info soft

This makes the Ram Disk icon "snapshottable" like any other disk icon. You can move it around, snapshot it and it keeps its position without the need to copy something forth and back.

Bye,
Thomas

Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@thomas

Thanks for this info, very usefull and comfortable

Go to top
Re: how to save the Ram Disk icon position once for all
Just popping in
Just popping in


See User information
@thomas

Hi Thomas,

Does your solution bring any potential problems?
If not, I would suggest it to being added to
the OS4.x user-startup, if it's such an easy fix.

Thanks.

Go to top
Re: how to save the Ram Disk icon position once for all
Not too shy to talk
Not too shy to talk


See User information
@Kotler

I don't know of any risk. This method works since OS 3.9. I don't see a reason why they didn't make it standard long ago.

Bye,
Thomas

Go to top
Re: how to save the Ram Disk icon position once for all
Not too shy to talk
Not too shy to talk


See User information
@thomas

I've been using the soft link method for a while now. What I would like to do is auto delete the underlined "disk.info" file in ram after bootup. I was able to do this with the default info file, but not with the soft link file. I can delete it manually after bootup, I just like ram to be clean, that info file bugs me.

I tried adding a delete line at the end of the startup-sequence, but it's ignored

Look, only one leg, count em, one!
X1000/PA6T@1800MHz/2Gb/Radeon 4850

Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@thomas

Quote:

thomas wrote:
@Kotler

I don't know of any risk. This method works since OS 3.9. I don't see a reason why they didn't make it standard long ago.


Because in OS4, the standard moved in the other direction, i.e. to expand on the usage of default icons. Any device can now have a "def_<devicename>.info" in ENVARC:Sys/, which will be used for creating a "pseudo" icon for that device if it doesn't have its own Disk.info file. (I think it works with volume names as well, but I'm not 100% sure ATM, and too much on the way to bed to check ).

You can still do what you suggest, of course, but it depends on whether you want or don't want to have a "real", snapshottable .info file in RAM:, which has the side-effect of snapshotting also your original icon on the HD. (Edit: Or doesn't that apply with a soft link? Again, on the way to bed ...)


Best regards,

Niels

Go to top
Re: how to save the Ram Disk icon position once for all
Just popping in
Just popping in


See User information
thanks to all of you, i'll try that tonight !

Sam440EP - AmigaOS 4.1 up6
Powerbook G4 - MorphOS 3.2
Macmini G4 - MorphOS 3.2
Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@nbache

6. In case I got some detail of this wrong - it's all from memory - blame me, and yell at me, and I'll try to fix it ).

It won't work because the bug is in 'snapshot'. It won't write in the new X,Y position of the icon.

Go to top
Re: how to save the Ram Disk icon position once for all
Just can't stay away
Just can't stay away


See User information
@Snuffy

If you use snapshot on a file which displays a default icon (i.e. one which doesn't have a real .info file accompanying it), the snapshot should create the .info file, so you no longer use a default icon. The same (almost) goes for a volume icon, here it will create the Disk.info file. Doesn't that work for you?

Or am I misunderstanding you?

Best regards,

Niels

Go to top
Re: how to save the Ram Disk icon position once for all
Illusionist
Illusionist


See User information

Martin "Mason" Merz
www.masonicons.de

I've seen things you people wouldn't believe . . .
Go to top
Re: how to save the Ram Disk icon position once for all
Home away from home
Home away from home


See User information
@Raziel
The soft link idea is very cool! I have been using a plain copy, which of course cannot be snapshotted permanently.

Author of the PortablE programming language.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project