Jump to content

Clover Theme Manager

Themes

  • Please log in to reply
446 replies to this topic

#1
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

*
POPULAR

Clover has many themes, some of which come included with the Clover installer but different themes, sometimes more up to date and better themes, have otherwise been listed in the Clover wiki with a download link to find the files. Not all themes can be included in the Clover installer as their many files make them large in file size and the installer would be unnecessarily bloated.
 
Because of this, it's been decided (soon) to move all themes from Clover's source repository and instead host them in a new specific theme repository at sourceforge, next to the Clover repository. This will result in a smaller Clover repository allowing for faster check out of the source and downloading of the Clover installer quicker. Clover with still have it's own very simple embedded theme so users installing without a theme will not be left in the dark.
 

 
Clover Theme Manager
 
28th July 2017 - Now at version 0.76.6 (changelog)
 
If updating from a previous version fails then please download the new version from the bottom of this post.
 
Please take note. To get themes from the new Clover theme repository will need to have git installed.
You can install git either by itself by downloading the installer from http://git-scm.com or you can install the Xcode command line developer tools by loading up Terminal and typing xcode-select --install
 
IA284FD.jpg

It started out as a simple app which displayed a list of themes in the repository and gave you the option to download and install themes to your /EFI/Clover/Themes directories.
 
It's since grown with the aim of becoming more of a manager app by reading the Clover bootlog to determine what happened last boot and offering a set of options to change the theme for next boot depending on your system.

 
On launch, the app will attempt to read your boot device and use your boot device. If this device uses an MBR partition then the app will ask for your password so it can run fdisk to match the device. If your boot volume is an EFI system partition and it's currently unmounted then the app will ask for you password to mount it.

 
What happens if a theme designer updates their theme?
The theme manager can check for updates to themes and notify you giving you the option to update your installed version.
 
I no longer want to use a theme.
You can simply remove installed themes by clicking the UnInstall button.
 
I have created a theme. How do I add it to the repository?
Theme designers can have access to add and amend their themes for anyone else to install and try out. Step by step instructions can be found by clicking the 'How to add my theme' foot link in the app.
 
What does the Clover Theme Manager app install to my system?
A support directory is used for cloning the necessary repository files for the app to function. You will find that at:
 

~/Library/Application\ Support/CloverThemeManager

All application data gets saved to:

~/Library/Preferences/org.black.CloverThemeManager.plist

App runtime files, including a log are written to:

/tmp/CloverThemeManager

 
Where’s the source code for the app?
http://sourceforge.n...erThemeManager/
 
Credits:
The app is based on the objective-c macgap (MIT license) with a couple of modifications by me. The web view presented by macgap is where I effectively run a web app which communicates back and forth with a bash script which is initially launched by macgap when it’s loaded.
 
The Clover git repo has been setup by apianti.
Thanks to apianti, dmazar, JrCs, SoThOr and Micky1979 for their help.
Thanks to alexq, asusfreak, chris1111, droplets, eMatoS, kyndder, mnfesq & oswaldini for testing.
 
The application has been in development for a few months now and while I think it's pretty stable I can only test on my systems and respond to the feedback of others so there may well be bugs and issues yet to be squashed. If you wish to try out the application then please report any feedback, both positive and negative here.
 
Note: If you are reporting any problems then please supply a description of the problem, a screenshot and attach a .zip of the /tmp/CloverThemeManager directory (available only while the app is running).
 
 
Can I download themes without using the CloverThemeManager app?

Yes, you can manually manage your own /EFI/Clover/Themes directories yourself as you may currently do.
Dmazar suggests the following command in Terminal, replacing XXXXXXXX with the name of the theme. So cd to a directory of your choice and run this...
 

git archive --remote=git://git.code.sf.net/p/cloverefiboot/themes HEAD themes/XXXXXXXX | tar -x

Download v0.76.6:
Attached File  CloverThemeManager.zip   1.68MB   1566 downloads



#2
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 821 posts
  • Gender:Male

Very nice. Way to go blackosx!



#3
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

Thanks for the feedback Onixs.

Let me know if you encounter any issues.



#4
Micky1979

Micky1979

    I realized that I am lucky

  • Retired
  • 4,864 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Good work blackosx! as always! :)

I'm going to test and report back..



#5
C.Frio

C.Frio

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,760 posts
  • Gender:Male
  • Location:Cabo frio - Brasil

hi

 

I" m getting repository error..

 

c.frio



#6
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

Good work blackosx! as always! :)

I'm going to test and report back..

Thanks micky1979.

No rush - when you have a chance.


hi

 

I" m getting repository error..

 

c.frio

Thanks for testing c.Frio

Can you please run this command in Terminal?

git ls-remote http://git.code.sf.net/p/cloverefiboot/themes

The result of this determines whether or not the script continues as if there's no current connection to the repository then there's no point in continuing.



#7
mnfesq

mnfesq

    Emenef, Esquire

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,184 posts
  • Gender:Male
  • Location:Southern California

Beautiful app!  I notice that in the menu options in the menu bar the app is referred to as MacGap.  Probably an oversight, yes?  Also, it would be nice if the app could allow you to mount the EFI partition since that's where my themes are installed.  Lots of features do not work unless I first mount that usually hidden partition. So, I mounted the EFI partition and selected it and then the app got stuck loading the partition.

 

Attached File  Untitled.png   155.97KB   25 downloads

 

It's been loading for about 10-15 minutes.  I closed the app and retried.  The same thing happened.  Not sure where to go from here.  



#8
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

Hi mnfesq

 

Thanks for the report.

Droplets reported this problem to me at projectosx. I hope to have fixed this now.

 

EDIT: v0.68 -> v0.69

- Fix bug when reading empty pref entries for last selected volume and path.

 

Please can you try v0.69 attached in the first post?

 

EDIT: 

Yes, the app is referred to as MacGap because it's built using that. TBH, I don't mind and was happy to leave it as that as it shows it's roots. However, if this may cause confusion then I could look at making the change.

 

Thanks for the suggestion for getting the app to mount the ESP. I could look at doing that if the demand is high enough for it but for now, as you have found out, any volumes with an /EFI/Clover/Themes directory needs to be mounted before launching the app.



#9
C.Frio

C.Frio

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,760 posts
  • Gender:Male
  • Location:Cabo frio - Brasil

hi..

 

may be I need the xcode...

 

"git ls-remote http://git.code.sf.net/p/cloverefiboot/themes"

 

got this

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

 

c.frio

 

EDIT: didn't see that..  " For now you will need to have Xcode developer tools installed as git is required for this to work.

- You will also need to have any volumes with your /EFI/Clover/Themes directory mounted before launching the app.
"


#10
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

 

may be I need the xcode...

 

"git ls-remote http://git.code.sf.net/p/cloverefiboot/themes"

 

got this

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

 

 

Yes. asusfreak at projectosx highlighted this.

 

 

EDIT: didn't see that..  " For now you will need to have Xcode developer tools installed as git is required for this to work.

- You will also need to have any volumes with your /EFI/Clover/Themes directory mounted before launching the app.
"

 

 

I added it after you tested. So don't worry ;)

Thanks for testing.



#11
mnfesq

mnfesq

    Emenef, Esquire

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,184 posts
  • Gender:Male
  • Location:Southern California

Hi mnfesq

 

Thanks for the report.

Droplets reported this problem to me at projectosx. I hope to have fixed this now.

 

EDIT: v0.68 -> v0.69

- Fix bug when reading empty pref entries for last selected volume and path.

 

Please can you try v0.69 attached in the first post?

 

Still having the same problem.  Once I select my EFI partition, it continues to try to load without success.  I happen to have several config.plists in my clover directory.  Might that make a difference?  Right now, I am running Yosemite after having booted with config2.plist.  Or does it just look for the themes directory?



#12
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

Can you please run the app again and once it's got to the same point, copy and post your /tmp/CloverThemeManager/CloverThemeManagerLog.txt 

Note. It will only be available while the app is running. If you quit the app then the file will be deleted.



#13
Goddessavril

Goddessavril

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Zukunft

Good job! Gonna try that.



#14
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

v0.69 -> v0.70

 

I've updated the app to v0.70 and also added a requirements notice at the top of the opening post. The app now looks to see if git is installed on your system and if not, displays a dialog box with the same instructions as I have put in the requirements notice. 

 

The script currently looks for git in the following locations:

/Applications/Xcode.app/Contents/Developer/usr/bin/git

/usr/local/git/bin/git

 

If there are other places I should check for git then please let me know.

 

If anyone without git installed tries it (C.Frio?) then please report if the script correctly catches the problem and handles it decently. 

 

Thanks



#15
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

v0.70 -> v0.71

 

Don't housekeep prefs and theme.gits for Volumes that are no longer mounted - For example, an unmounted ESP.



#16
C.Frio

C.Frio

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,760 posts
  • Gender:Male
  • Location:Cabo frio - Brasil

hi...

 

worked..got the screen,loaded the themes...seam works..didn't try all

 

cfrio



#17
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

Great. Thanks for reporting back C.Frio and no problem with not trying everything.

I'll try to fix any issues as they arise and currently have mnfesq's issue still to check. I'll find out more once he's posted his log file.



#18
mnfesq

mnfesq

    Emenef, Esquire

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,184 posts
  • Gender:Male
  • Location:Southern California

Here's my log info:

@CTM_Version0.71@
@Started Clover Theme Manager script@
@===================================@
@scriptPid=24829 | appPid=24827@
@CTM_GitOK@
@Looking for URL list.@
@Reading URL list@
@Number of repositories found: 0@
@Creating: managethemes.html@
@CTM_HTMLTemplateOK@
@===================================@
@git://git.code.sf.net/p/cloverefiboot/@
@3580ab2c16cc728e9fad679c773785e970e857e3	HEAD
3580ab2c16cc728e9fad679c773785e970e857e3	refs/heads/master@
@CTM_RepositorySuccess@
@CTM_SupportDirOK@
@Creating symbolic link to /Users/mnfesq/Library/Application Support/CloverThemeManager/themes@
@Creating symbolic link to /Users/mnfesq/Library/Application Support/CloverThemeManager/CloverThemeManagerApp/help/add_theme.html@
@CTM_SymbolicLinksOK@
@===================================@
@Checking for update to index.git@
@No updates to index.git@
@CTM_IndexOK@
@CTM_ThemeListOK@
@Inserting HTML in to managethemes.html@
@CTM_InsertHtmlOK@
@===================================@
@Getting list of mounted devices@
@Getting diskutil info for mounted devices@
@Volume EFI contains /Volumes/EFI/EFI/Clover/themes@
@CTM_ThemeDirsOK@
@disk0s1 | EFI [B3E227E1-CB91-339C-AE00-7E450FD02CA6]@
@===================================@
@Inserting dropdown HTML in to managethemes.html@
@CTM_DropDownListOK@
@===================================@
@Read user preferences file@
@    gLastSelectedPath=-@
@    gLastSelectedPathDevice=-@
@    gLastSelectedVolumeUUID=-@
@    Resetting internal theme arrays@
@    ThumbnailSize=x@
@    gUISettingViewUnInstalled=@
@    gUISettingViewThumbnails=@
@    gUISettingViewPreviews=@
@CTM_ReadPrefsOK@
@===================================@
@    Prefs shows total number of installed themes=0@
@===================================@
@Theme directory - does not exist! Setting to -@
@    Sending UI: NoPathSelected@@@
@    Sending UI: UpdateAvailThemes@@@
@    Sending UI: UnInstalledView@@@
@    Sending UI: ThumbnailView@@@
@    Sending UI: PreviewView@@@
@CTM_InitInterface@
@Clover.Theme NVRAM variable is set to YosemiteLogin@
@    Sending UI: Nvram@YosemiteLogin@@
@CTM_NvramFound@
@Complete!@
@Checking - for any theme updates.@

This was using version 0.71.



#19
Micky1979

Micky1979

    I realized that I am lucky

  • Retired
  • 4,864 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Thanks micky1979.

No rush - when you have a chance.

Tested v0.71 in Yosemite on a fresh installation, this is my log:Attached File  CloverThemeManagerLog.txt.zip   1.67KB   12 downloads

All seems ok, but I can suggest to find ESP mount points even if they are named differently from 'EFI'... like /Volumes/ESP?

 

Good work :)



#20
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,771 posts
  • Gender:Male
  • Location:UK

@mnfesq - Thanks for the log file. I didn't get a chance to look at anything last night but I will have a look today.

@mickey1979 - Thanks for your testing and log file. I'll look in to adding support for mounting and working with /EFI/Clover/Theme dirs on ESP's.







Also tagged with one or more of these keywords: Themes

  Topic Stats Last Post Info

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy