Then I repackaged the software and installed it, and voila, the icon appeared on the Deskbar (check here). hpkg got the executable file and added the icon with resattr, though I didn’t check the attributes before and after to certify that the original attributes stay the same but the icon one. I used version 3.2.2 which has a default Haiku application icon, the 3 cubes. Then again, I did the same test on Godot software for Haiku. I can’t change the icons of the /boot/home/config, /boot/home/Desktop, /boot/home, nor any disk… On the other hand, this seems to work with files and folders, all but those that are readonly in the Haiku OS. It can be automated as I did with the Python script. rsrc that I use to change the icon of each folder that I create within the project folder.Īs I don’t know yet so much about Haiku, I just thought that this could be a way to easily modify the outline of an icon, from black to whatever color. rdef file and substitute it with another color, its hex code randomly picked from a range that does not use white nor black nor some colors close to those two from the hex range. The solid color used had nothing to do with the other colors involved in the icon, therefore I can fetch its hex code “easily” from the. In order to achieve this behaviour, instead of using gradients for the folder icon, I used a solid color as a base, and added a layer on top with a black to transparent gradient. On the right, the Python script that changes the color of the folder. I found a way to circumvent this for the Gamejectder program, in order to set project folder’s color randomly each time a new project is created by doing this: hvif does not seem to be so straightforward as the file looses all ids from paths, shapes and styles, thus making it hard to change anything inside the. rdef file format for preparing executables prior to packaging, I’m on it. I know I still need more knowledge on the. rdef file, the result seems to be the same (correct me if I’m wrong on this) wether I use addattr or resattr. rsrc not to work (rc iconfile.rdef throws an error that the rdef file is not “clean”). This has to be modified manually as Icon-O-Matic adds other stuff there in the line that makes the conversion to. rdef file used as source for the icon attribute only has the “resource vector_icon” line. Then added the personalized icon by both methods, addattr and resattr: I created two folders, and listed their attributes to compare. While it seems that the right way to add an icon as attribute to a file with the addattr command, I did a test: I didn’t know plenty of these when I first made the LibreOffice icon, if so, it would be better. The point of this Icon theme is to get more and better knowledge of some desing stuff.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |