Page 1 of 1
.Diricon/icon display mismatch
Posted: Thu Dec 23, 2021 4:31 am
by JASpup
system is the bottom folder and highlighted desktop launcher. The icon is the moblin-stark wrench.
The top folder contains the system folder.
The .Diricon in the system directory is the knight.
Should the diplayed icon be the .Diricon in that directory?
Re: .Diricon/icon display mismatch
Posted: Thu Dec 23, 2021 6:53 am
by williams2
If a dir has a file in it that is named .DirIcon
and the .DirIcon file is displayable as an icon
and you view a rox window showing the location of that dir
then the icon of that dir will be the picture in .DirIcon
If you right click a dir and select set icon
and drag an icon picture to the set icon
box
then rox will copy the icon picture file to the dir and name it .DirIcon
If there is already a .DirIcon file in the dir, rox will overwrite it with the new icon file.
If there is already a symlink named .DirIcon in the dir
then rox will overwrite the icon file that the symlink is pointing to.
For example, the attached picture shows dir aa and dir bb in /tmp/
A file go48.png was copied to aa and symlinked to .DirIcon
Empty dir bb was right clicked and Set Icon
was clicked.
In the attached picture, the left window is /tmp/
- icon.jpg (107.8 KiB) Viewed 228 times
Re: .Diricon/icon display mismatch
Posted: Thu Dec 23, 2021 9:00 am
by JASpup
williams2 wrote: ↑Thu Dec 23, 2021 6:53 am
For example, the attached picture shows dir aa and dir bb in /tmp/
A file go48.png was copied to aa and symlinked to .DirIcon
Empty dir bb was right clicked and Set Icon
was clicked.
I'm familiar and setting icons daily with Set Icon... The copy and symlink techniques are new to me.
Does my initial post example make sense? How would a folder set and displaying as a wrench have a knight .DirIcon?
Re: .Diricon/icon display mismatch
Posted: Thu Dec 23, 2021 10:55 pm
by williams2
How would a folder set and displaying as a wrench have a knight .DirIcon?
If you want RoxFiler to show your own icon when it shows particular folder
you can copy the icon file to that dir.
Or you can set the icon for that particular dir
by right clicking the dir and selecting set Icon in the menu.
The will create or overwrite the file named .DirIcon
If .DirIcon is a symlink to a icon picture file,
then rox will overwrite the target of the symlink, which you might or might not want.
Basically, if you click Set Icon on a dir,
rox will copy your picture to the dir and name the file .DirIcon
in your case, in a rox window that is showing your system
dir
you can right click the dir, select Set Icon
and drag your Knight.jpg to the drop an icon here
window,
and rox will copy the Knight.jpg file to the dir named system.
and rox will show your icon for the dir, instead of the default icon.
Re: .Diricon/icon display mismatch
Posted: Fri Dec 24, 2021 6:51 am
by JASpup
When I play around copying icons instead of using Set Icon... it will probably become more clear.
Re: .Diricon/icon display mismatch
Posted: Sun Dec 26, 2021 7:59 am
by JASpup
@williams2 is it possible to use the Roxfiler Set Icon... command cli?