joonro / ConEmu-Color-Themes

Manually ported color themes for ConEmu
787 stars 128 forks source link

Themes installed using the script do not show in the settings #16

Open Taubin opened 7 years ago

Taubin commented 7 years ago

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

phocks commented 7 years ago

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

joonro commented 7 years ago

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"/>
Taubin commented 7 years ago

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.

joonro commented 7 years ago

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?

sigmap commented 7 years ago

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

DaveBorn commented 6 years ago

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

joonro commented 6 years ago

@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.

DaveBorn commented 6 years ago

Thank you for the tips :).

Van-Dame commented 6 years ago

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

image

benjaminadk commented 4 years ago

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.

sergeevabc commented 3 years ago

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

artoria026 commented 2 years ago

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