Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Taubin opened this issue Jun 28, 2017 · 12 comments
Open

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

Taubin opened this issue Jun 28, 2017 · 12 comments

Comments

@Taubin
Copy link

Taubin commented Jun 28, 2017

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
Copy link

phocks commented Jul 1, 2017

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

@joonro
Copy link
Owner

joonro commented Jul 1, 2017

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
Copy link
Author

Taubin commented Jul 1, 2017

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
Copy link
Owner

joonro commented Jul 3, 2017

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
Copy link

sigmap commented Aug 19, 2017

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

@DaveBorn
Copy link

DaveBorn commented Mar 1, 2018

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
Copy link
Owner

joonro commented Mar 1, 2018

@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
Copy link

DaveBorn commented Mar 1, 2018

Thank you for the tips :).

@Van-Dame
Copy link

Van-Dame commented Aug 6, 2018

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

image

@benjaminadk
Copy link

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
Copy link

sergeevabc commented Apr 7, 2021

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

@artoria026
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants