Jump to content

Clover Themes


Slice
1,844 posts in this topic

Recommended Posts

Hi, I'm new of this world and my question could sound really stupid: someone can tell me how to change the icons of the custom entries I made? I tried to enter the path in 'image' in clover configurator 'gui' (just copied from image info in the theme folder to be sure) but nothing change. Thanks for your time, congrats for the site!

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

I've modified OSS theme to accommodate hidpi screen. It works great on my 1920x1080 screen. I haven't tested on higher resolution but should be ok. Lower resolution screen still can use OSS v1.x which has smaller icons.

 

Just a quick note, I found icon files (*.icns) should not have colorsync profile, otherwise it won't work with Clover boot loader. So I have to remove the profile via photoshop. However, photoshop does not recognize *.icns file. Then I convert *.icns to png, remove the profile, and change png extension back to icns (yes it works). If there is better solution, please tell me. I spend a lot of time on the profile removal.....=[

 

Download (v2.0): attachicon.gifOSS.zip

 

Preview:

attachicon.gifscreenshot.png

Hi, lisai i'm using your theme on a UHD display i've changed some icons, but the font is a bit small

@all how can we change the font size?

post-448675-0-27837500-1447697919_thumb.png

Link to comment
Share on other sites

Hi, I'm new of this world and my question could sound really stupid: someone can tell me how to change the icons of the custom entries I made? I tried to enter the path in 'image' in clover configurator 'gui' (just copied from image info in the theme folder to be sure) but nothing change. Thanks for your time, congrats for the site!

I’ve not used images in custom entries but looking at the wiki page for custom entries, I see you can set the main volume icon image and associated badge image in your config.list using either a path to the image on disk or with image data in either hex or base64.

 

- For an image on disk you use the <key>Image</key> entry for the main icon or the <key>DriveImage</key> entry for the badge.

- For image data you use the <key>ImageData</key> entry for the main icon or the <key>DriveImageData</key> entry for the badge.

 

Now, the wiki describes the path as:

Path to a custom image file. Search path is root directory of entry volume, theme directory, clover directory, clover volume root directory, and finally os icon names.

 

So I understand that as you just need the image name and extension. Clover will then search in four directories to find it. You can see this for example here in the source code.

 

As an example of using a file from disk you could place a PNG file named myIcon.png in Clover’s Dir (SelfRootDir) which would be /EFI/CLOVER and Clover will find it.

 

<key>Entries</key>
<array>
  <dict>
    ...
    <key>Image</key>
    <string>myIcon.png</string>
    ...
  </dict>
  ...
</array>
 

Or for image data you could use hex:

 
<key>Entries</key>
<array>
  <dict>
    ...
    <key> ImageData </key>
    <string>89504E470D0A1A0A0000000D49484452000000400000004008030000009DB781EC0000000467414D410000B18F0BFC6105000000017352474200AECE1CE90000004B504C5445060606F9F9F94B4B4BFFFFFFFFFFFF101010C7C7C7F2F2F2FFFFFF000000F4F4F46969698D8D8DF9F9F9E4E4E4F3F3F3FFFFFFBFBFBFF5F5F5FFFFFFFFFFFFFFFFFFF9F9F90D0D0DFFFFFF2F8201A90000001974524E534DDC5F59D64FA6E4D900E26A7CB3CDE396A1E12261BFDE4E6AACA1EDAD000000A74944415458C3EDD7490E84300C44516786CC33DCFFA41DD42720DE217F29CBBCB50BCE55EB794879BC48CA917B7BFEC27A22CC9ACCCB529D41FC819BD9583C57F022C57D8996DD0F2098D10E3672DA3071420B565FB0D5A56D68D06774B0998BB343AE05B62B35C3487E1FF06980347C1FE0462E40ED036A01870144E620800002082080000208208080AF02E8631B7DEEA307077AF2A047177AF6A187277EFAE2C7376EFEFF00E2DC14493AEADC610000000049454E44AE426082</string>
    ...
  </dict>
  ...
</array>
 

I think those examples are correct, but as I said, I've not used it :P

 

Going back to what you say with regards to entering the path in Clover Configurator, check the resulting config.plist and see what Clover Configurator sets compared to what I’ve shown here.

 

 

@all how can we change the font size?

All you can do is use a different (larger) font.

You can create fonts by using a script combined with ImageMagick. See http://www.insanelymac.com/forum/topic/306356-create-font-files-for-bootloader-guis/

 

Creating type 2 fonts (required for Clover) with the script, generates a file with a name like:

type2_Bank Gothic_32pt_Cell_41x37_l0.png

 

The 41x37 is the pixel size of the character cells.

 

If you decide to use a font then you can add it in the root of the theme directory and then change the <key>Font</key> entry in the theme.plist. To use the example above I would enter the font name and use the character width from the file name, in this case 41. (Slice may say this needs to be an even number - can't remember right now).

 

		<key>Font</key>
		<dict>
			<key>CharWidth</key>
			<integer>41</integer>
			<key>Path</key>
			<string>type2_Bank Gothic_32pt_Cell_41x37_l0.png</string>
			<key>Type</key>
			<string>Load</string>
		</dict>

 

Hi guys, this is a little theme i'm using that matches the "black mode" it's simple and it miss some icons

:P but I wanted to share it here, maybe someone will like it. :)Nice one JahStories. Thanks for sharing :D

Do you want me to add this to the Clover Theme Repo?

  • Like 2
Link to comment
Share on other sites

All you can do is use a different (larger) font.

You can create fonts by using a script combined with ImageMagick. See http://www.insanelymac.com/forum/topic/306356-create-font-files-for-bootloader-guis/

 

Creating type 2 fonts (required for Clover) with the script, generates a file with a name like:

type2_Bank Gothic_32pt_Cell_41x37_l0.png

 

The 41x37 is the pixel size of the character cells.

 

If you decide to use a font then you can add it in the root of the theme directory and then change the <key>Font</key> entry in the theme.plist. To use the example above I would enter the font name and use the character width from the file name, in this case 41. (Slice may say this needs to be an even number - can't remember right now).

 

		<key>Font</key>
		<dict>
			<key>CharWidth</key>
			<integer>41</integer>
			<key>Path</key>
			<string>type2_Bank Gothic_32pt_Cell_41x37_l0.png</string>
			<key>Type</key>
			<string>Load</string>
		</dict>

Pretty cool blackosx it works, thank you

And how i make the function icons bigger?, i've increased there size and selection image but it seems that there is not enough space

Link to comment
Share on other sites

And how i make the function icons bigger?, i've increased there size and selection image but it seems that there is not enough space

I'm not sure as I've never tried to change the size of the function (tool) icons.

Maybe you cannot, without some changes to the code.

I'll test when i get time.

Link to comment
Share on other sites

Yep. The value is hard coded, and a quick simple fix could be to change:

 
Clover/rEFIt_UEFI/refit/menu.c line #117 from

#define ROW1_TILESIZE (64)
to
#define ROW1_TILESIZE (128)
For an experiment, I made the change above and then booted Clover using my BGM256 theme

post-331032-0-92591300-1448318231_thumb.jpg
 
Then a quick dirty blow up of the size of the function icons to 112x112px, and the selection_small.png to 128x128px, I see this:
post-331032-0-79172400-1448318282_thumb.jpg
 
It may need work to implement properly but it's something for you to play with.
Link to comment
Share on other sites

Hey this is a great theme!! I want to use it but for some odd reason when I apply it, it makes me lose my bluetooth functionality (hence no mouse or keyboard).  When I go into the System Preferences, the icon/option for bluetooth is gone as well.  Any ideas? Or anyone else with this issue?

 

EDIT: the culprit turned out to be my DSDT!  Great job on this theme!

That's so awesome. The effect is so cool.


Hey,finally I make the el capitan clover theme with the progressing bar animation.Hope you guys love it.

309iuis.jpg

 

 

attachicon.gifEl Capitan.zip

Link to comment
Share on other sites

Yep. The value is hard coded, and a quick simple fix could be to change:

 

Clover/rEFIt_UEFI/refit/menu.c line #117 from

 

#define ROW1_TILESIZE (64)
to

 

#define ROW1_TILESIZE (128)
For an experiment, I made the change above and then booted Clover using my BGM256 theme

 

attachicon.gifbefore.jpg

 

 

Then a quick dirty blow up of the size of the function icons to 112x112px, and the selection_small.png to 128x128px, I see this:

attachicon.gifafter.jpg

 

It may need work to implement properly but it's something for you to play with.

 

Yes it works, but we need more adaptions like tile spaces, also the about screen is not centered, i will make some tests

 

edit:

Added some code now i can change the size thru plist

nearly finished

post-448675-0-61769600-1448662318_thumb.png

 

Until now i'm happy with this UHD/4K theme

post-448675-0-98917000-1452179942_thumb.png

Link to comment
Share on other sites

  • 2 months later...

Yeah - The embedded theme is small and was designed to give the user something to see rather than a blue screen while using a tiny data set for inclusion in the binary.

If you want a larger theme then the only choice you have with current Clover is to use one with 256px device icons.

Link to comment
Share on other sites

Thinking about it again, the bootlog may not show me anything to help with this issue but it's worth checking anyhow.

 
From Clover's GUI
 
You can press F2. But you must have a FAT32 volume available with existing /EFI/CLOVER/Misc directory, the bootlog will be written to there. So a FAT32 USB or an EFI System Partition.
 
From OS X:
 
Once booted in to OS X, the Clover bootlog will be stored in the I/O Registry.
You can extract the hex data manually by loading up Terminal and entering the following command:
ioreg -lw0 -pIODeviceTree | grep boot-log > ~/Desktop/bootlog
Or there's a small program called bdmesg which can do this for you. It's normally installed for you by the bootloader installer and IIRC lives in /usr/local/bin. If you have it installed then you just need to load up Terminal and type:
bdmesg > ~/Desktop/bootlog.txt
 
 
  • Like 1
Link to comment
Share on other sites

 

Thinking about it again, the bootlog may not show me anything to help with this issue but it's worth checking anyhow.

 
From Clover's GUI
 
You can press F2. But you must have a FAT32 volume available with existing /EFI/CLOVER/Misc directory, the bootlog will be written to there. So a FAT32 USB or an EFI System Partition.
 
From OS X:
 
Once booted in to OS X, the Clover bootlog will be stored in the I/O Registry.
You can extract the hex data manually by loading up Terminal and entering the following command:
ioreg -lw0 -pIODeviceTree | grep boot-log > ~/Desktop/bootlog
Or there's a small program called bdmesg which can do this for you. It's normally installed for you by the bootloader installer and IIRC lives in /usr/local/bin. If you have it installed then you just need to load up Terminal and type:
bdmesg > ~/Desktop/bootlog.txt

 

 

 

https://www.dropbox.com/s/x3cyqbvyr4phq0a/themes%20%2B%20bootleg%20pronk.zip?dl=0here ya go

Link to comment
Share on other sites

Hey fellow users of Clover. I come bearing a theme, in hopes that you like it.

I call it Galaxy Boot Camp! Tell me if you like, and please, could it go to the Clover theme repo? I'd like to see  people using it hehehehe

 

post-1517295-0-63076800-1455617877_thumb.png

 

post-1517295-0-55045400-1455617905_thumb.png

 

If there are any suggestions I'd be happy to fulfill them, if they are good. :D 

Stay awesome bros! Feel more than free of sharing and distributing this theme

 

GalaxyCamp.zip

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...