can you show how it looks?
Thank you for that, but it doesn’t help if you are not familiar with those terms.
- Clone Haiku sources (with version you are running)
I don’t even know what “clone” exactly mean. Probably put a code inside the terminal. But which code and in which terminal? Inside the Hiku i would like to modify or on an other system?
Same with all the further parts. No idea what to do exactly. Exept the “Icon O matic” app which is preinstalled. But what size has the icon to have? If there is already a .jpg I would like to use…
So many questions…
When he says “clone” he means downloading the source code, as that can be done with git clone
, you can find some useful information on how to download Haiku’s source code at: Get the Haiku Source Code / Pushing Patches to Haiku 101 | Haiku Project
(the first few paragraphs should be enough)
Once you’ve downloaded the source, you should open the file “src/apps/deskbar/icons.rdef” (that’s in the source) with any text editor and replace resource(R_LeafLogoBitmap)
's content (The lines with $) with ones from a rdef you generate.
If you have a jpeg I would actually advise using WonderBrush for this, open the image, then do “Export As… > RDef Source Code”, for 2 reasons:
- Icon-O-Matic’s export is only good for vector images, you’ll get an empty rdef with it if you use a jpeg
- Even if it worked, Icon-O-Matic would save it as a square image
Oh, and if you use a jpeg (or any other raster image) you’ll also have to replace the vector_icon
line just after resource(R_LeafLogoBitmap)
with… I think large_icon array
or else… who knows, probably trying to load a bitmap as a vector could have some nightmare-inducing results… or maybe it would just crash?
As for point 3, I assume you’d have to run Jam Deskbar
in the Terminal from the source code’s root (the base folder)
As for the rest, I’m not familiar with the procedures listed in point 6, somebody else would need to explain that
You can do all this inside Haiku itself, point 2 and 4 through 6 are only doable inside Haiku anyway afaik.
I guess the whole process is “easy”, but I think having an option to dynamically change the Deskbar icon under “Appearance > Look and feel” would be neat. (eventually anyway, not really a priority)
Dang. Shame it’s not configurable.
I am afraid that without context it will indeed not make much sense, but this is as straightforward as can be for a step by step, the rest is stuff you will have to figure out yourself. I would start here: Get the Haiku Source Code / Pushing Patches to Haiku 101 | Haiku Project
If you get stuck feel free to ask again, but there is a limit on how specific i can male instructions as i can’t know how much people do or do not know : )
I’m not happy with how it looks yet but here is how it looks with a changed icon. I also have an older screenshot with the Haiku logo but can’t find it.
Looks like those cats are wondering where has gone the blue leaf.
I thought cats couldn’t stand microgravity.
Cats can see in the dark !
Since cat jokes keep being made I assume it’s a good 'pape, so here’s the wallpaper:
uncompressed: https://files.catbox.moe/q1ya90.png
Also this is the icon I used to replace the leaf (made the borders slightly thicker compared to the screenshot):
resource(R_LeafLogoBitmap) vector_icon {
$“6E63696602050005FF02060FEEFFBF3F40B543BC38BE23BC38B87EBA73BAE9B6”
$“0BBA1ABA73C15EB529BEF2BA73C15EB529C22CBA73C22CB529C22CBEDCC565B7”
$“CDC703BEDCC67ABEDCC8A0BEDCC78DBF74C8A0C0A1C8A0C00BC8A0C0A1C78DC0”
$“A1C565C0A1C67AC7AFC703CA56C22CCA56C22CC509C22CC509C15EC509C15ECA”
$“56BEF2C972BA1AC344BE23C509BAE9C344B87E40B54340B54340B54340B54340”
$“B54340B543060FEEFFBF3F40B543BC38BE23BC38B87EBA73BAE9B60BBA1ABA73”
$“C15EB529BEF2BA73C15EB529C22CBA73C22CB529C22CBEDCC565B7CDC703BEDC”
$“C67ABEDCC8A0BEDCC78DBF74C8A0C0A1C8A0C00BC8A0C0A1C78DC0A1C565C0A1”
$“C67AC7AFC703CA56C22CCA56C22CC509C22CC509C15EC509C15ECA56BEF2C972”
$“BA1AC344BE23C509BAE9C344B87E40B54340B54340B54340B54340B54340B543”
$“020A0001001001178500040A01010100”
};
nice wall paper but then i do prefer the original leaf :3