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

Text color not honored upon restart #97

Closed
Piscean opened this issue Dec 24, 2013 · 5 comments
Closed

Text color not honored upon restart #97

Piscean opened this issue Dec 24, 2013 · 5 comments

Comments

@Piscean
Copy link

Piscean commented Dec 24, 2013

Under Features/Colors, I've changed the value for Text to # 3, which is a greenish blue, and the value of Back to # 0, which is black. The screen updates to greenish blue text on black. Save settings. Exit. Restart cmder and the text is now white on black. The value for Back is being honored, but the value for Text is not.

@samvasko
Copy link
Contributor

I can't replicate that. please test it again in VM/Other machine if you can

@Piscean
Copy link
Author

Piscean commented Dec 24, 2013

Yep, repros on a clean machine as well.

I have a Windows 8.1 machine I just setup last Monday. I followed these
steps:

  1. Expand cmder_mini.zip to c:\utils\cmder
  2. In c:\utils\cmder, run cmder.bat
    --> That starts the Cmder window with white text, green "C:\utils\CMDER"
    and a grey background
  3. Win + Alt+ P to bring up settings
  4. Change Features/Colors Text to lalt + arrow left/right not working as a macro hotkey #3. Back to #0.
  5. Click Save settings
  6. Exit Cmder
  7. Restart cmder.bat
    --> Text is white, background is black.

The initial repro came from a Windows 7 machine.

Eric

Samuel Vasko mailto:notifications@github.com
Tuesday, December 24, 2013 11:29 AM

I can't replicate that. please test it again in VM/Other machine if
you can


Reply to this email directly or view it on GitHub
#97 (comment).

@samvasko
Copy link
Contributor

I just found out:
This is related to this prompt setting line

I have tried multiple things but no luck so far. If you want to set the set the color your best bet would be to modify the init.bat and/or set the PROMPT enviroment variable in computer settings.

@Jackbennett
Copy link
Contributor

Just tested @Piscean stepps from the current dev channel clone and build. Works as expected and the text color stays at # 3

@losandes
Copy link

losandes commented Feb 1, 2016

There are two reasons that I am aware of that can cause this issue:

  1. Your user account doesn't have permissions to the %ConEmuBaseDir%\config\ConEmu.xml file.
    • For instance, if you install cmder with chocolatey (choco install -y cmder), it will be installed into C:\tools\cmder. Editing any file in that directory will require admin privileges.
  2. You can apply some settings without saving them. Make sure you click Save Settings in the bottom right corner after making your changes.

To check if you have permissions to save your settings, open the Settings dialog. Change the font size or something. If Save Settings is still disabled, then you don't have access to save the ConEmu.xml file.

There are multiple ways to fix this. The simplest is just to export or copy the ConEmu.xml file to your desktop. Then copy it back to %ConEmuBaseDir%\config\ConEmu.xml. You will be prompted to use admin privileges when writing the file. After that, your user should be able to save settings.

I opened #823 and #824 to make this more obvious to the user

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

4 participants