ConEmu-Color-Themes icon indicating copy to clipboard operation
ConEmu-Color-Themes copied to clipboard

Themes installed using the script do not show in the settings

Open Taubin opened this issue 7 years ago • 12 comments

I was able to install the themes using the .\Install-ConEmuTheme.ps1 command, however they are not showing up in the settings when I try to select colors. If I attempt to import them again, it states they are already imported.

They show up in the config.xml I believe (attached as zip) but do not show in the color selection

2017-06-28 17_40_05-install-conemutheme ps1 script throws this error issue 15 joonro_conemu-col

ConEmu.zip

Taubin avatar Jun 28 '17 05:06 Taubin

Hmm yeah doesn't seem to be showing for me either...

phocks avatar Jul 01 '17 06:07 phocks

I suspect it has something to do with a wrong value for Count. Could you please let me know of the following lines of your ConEmu.xml? The value for data should equal the number of custom themes you have. If that is not the issue, then please copy & paste the Colors part so I can take a look.

      <key name="Colors" modified="2017-05-10 13:31:33" build="170402">
        <value name="Count" type="long" data="20"/>

joonro avatar Jul 01 '17 21:07 joonro

This is what I have for colors:

      <key name="Colors" modified="2015-11-24 14:49:10" build="151119">
        <key name="Palette1" modified="2015-11-24 14:49:10" build="151119">
         <value name="Name" type="string" data="Monokai" />

There are 11 instances of 'count' in my xml file, none of which look like what you've posted unfortunately.

Taubin avatar Jul 01 '17 22:07 Taubin

Okay mine looks like this (with the following line):

      <key name="Colors" modified="2017-05-10 13:31:33" build="170402">
        <value name="Count" type="long" data="20"/>
        <key name="Palette1" modified="2017-05-10 13:31:33" build="170402">

So you are obviously missing the line - could you please add the line with the appropriate values for data (e.g., number of palettes defined in the xml file) and see if that fixes your problem?

joonro avatar Jul 03 '17 00:07 joonro

This seems similar to #7 so I expect the suggested solution will work.

sigmap avatar Aug 19 '17 08:08 sigmap

Hello. A really interesting project, but I do not want to work with me. Well, after loading the .xml file, the only thing that changes is the console background. No changes to syntax coloring. I tried to edit conemu.xml in the key name = "Colors" section, but without any success. Do I do something wrong ...? ConEmu v 16.12.6.0

DaveBorn avatar Mar 01 '18 12:03 DaveBorn

@DaveBorn Hi - I think in your case the issue is you did not apply other customizations - these themes just change the colors and you have to make customizations to actually apply colors to various component of PowerShell. The first paragraph of README says:

Note that screenshots are taken with the prompt customized with posh-git and the Get-ChildItem with Get-ChildItemColor. See this blog post for my PowerShell customizations.

Links in that paragraph have a lot of information - please see those.

joonro avatar Mar 01 '18 13:03 joonro

Thank you for the tips :).

DaveBorn avatar Mar 01 '18 14:03 DaveBorn

Themes do show up for me when I do [Reload...] in Settings after importing via provided PS script.

image

Van-Dame avatar Aug 06 '18 00:08 Van-Dame

This is a pretty cool repo. I have ConEmu installed via Cmder on Windows. Loving Moe Dark...

I opted to manually edit my XML since I don't use PowerShell often and its pretty straight forward. It is a good idea to make a copy of your original ConEmu.xml file just in case something goes wrong you can always go back. This file is not just color settings - its ALL settings for ConEmu.

One caveat for me was that I actually found two separate ConEmu.xml files:

  1. The original from when I just had ConEmu installed ~/AppData/Roaming/ConEmu.xml
  2. The Cmder version C:/Program Files/Cmder/vendor/conemu-maximus5/ConEmu.xml

In my use case I needed to edit 2 to see new color schemes

Note that the path to the config file is present in the Settings UI across the top labeled Storage - this is visible in many of the screenshot in this thread.

Another caveat is that the XML - which contains all your settings - needs to be loaded again to see any new schemes. This can be done by restarting ConEmu or via the Reload... button located at the bottom of Settings. A warning pops up, but it just means that if you have made any changes without saving them or are running another XML file - the file that is being loaded will overwrite all current settings. Now in most cases this is fine and once reloaded the new theme should be present in the menu.

benjaminadk avatar Jan 25 '20 22:01 benjaminadk

Script is buggy as hell, hands down. Should be replaced with a more user-friendly solution. Aggrrhh, it’s easier to do manually.

sergeevabc avatar Apr 07 '21 16:04 sergeevabc

I don't have the ~/AppData/Roaming/ConEmu.xml file

artoria026 avatar Mar 26 '22 02:03 artoria026