-
Notifications
You must be signed in to change notification settings - Fork 292
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
Application-colored prompt #670
Comments
It should work just fine in Terminix as Terminix uses the same back-end as gnome-terminal. How is this feature configured? |
I have no idea, I just use it. :/ |
What theme are you using, does it make any difference if you use Adwaita? Also maybe try a different Terminix text theme as well. |
Ok, I found out that this is due to the solarized color scheme, sorry! But do you have an idea how I can modify it to adapt this hints? Foreground and background colours are set in this theme, while these are not settable(?) in all other themes. |
There is a check box in the profiles color page labelled "Use system colors" or something similar. If you uncheck it the foreground and background colors will be editable. |
Some themes have this checked, some don't – and all of them adapt these hints. Checking it with solarized sadly doesn't affect the prompt colour. |
Both the green ( |
If you want to update the solarized color schemes they are simple JSON files under /usr/share/terminix/schemes, feel free to submit a PR. I did those files a long time ago and I may not have gotten the colors 100% correct. |
@gnunn1 What do you think about adding some screenshots of all the supported color schemes to the website? |
@bil-elmoussaoui It would look nice but we'd need to be careful that it doesn't come across as "these are the only themes that can be used". I did a themes page on the web site at https://gnunn1.github.io/terminix-web/manual/themes/ that could be enhanced with screenshots. |
I was thinking of a better idea :p we show all the themes possible in terminix-web, once you mouse over the screenshot there's an apply button that will open terminx://jsonpathoftheme and terminix will use xdg-mime in order to get the json file and apply the theme to the user? :P themes can be stored on local directory in order to avoid asking user for root permissions. |
I have the feeling that the Solarized colors are just wrongly ordered. On the left side there are the darker colors and right are the brighter ones – but in Solarized they seem disordered (maybe it's because of the brightness mathematics of Solarized, but I don't really understand console coloring). Could it be that they just need to be reordered? If you compare the colors of the Julia logo dots, you see that the colors of Solarized are different from every other theme. Maybe there's a corrected version out now, if your theme implementation is old? Julia needs to target the other „green“ or „orange“ color for working right. It targets the brighter version, so maybe the background colors need to be set to the darker colors, whereas the real colors need to be set to the bright ones… if this couses no issues in programs which target the darker colors…? // Terminix is missing on the GitHub page of Solarized! :p |
It doesn't look like it is wrong, that's just the way the colors are defined for the Solarized theme. It is exactly the same in Gnome terminal. And the theme is directly taken from https://github.com/altercation/solarized/blob/master/xresources/solarized, where it is defined with the same color ordering, so this can be considered official. An interesting fact is that the colors on the official solarized theme linked above are slightly off. Maybe they tweaked the colors and this change was never updated in Gnome Terminal (from which the theme was taken for Terminix). For the fun I updated the dark theme locally to use the latest official colors, but I couldn't see a difference even when comparing side by side. If there is interest in having the latest official colors used I can also update the light theme and provide a pull request, but it is hardly worth the effort IMHO. General rule: If a color theme is not to your liking use another one or adapt the colors ;) |
Well, there certainly is something wrong, as colors named green and orange are obviously gray. But I don't know how to use them. Should I open a bug report at Solarized? // As far as I can see, the repo is totally dead. :/ |
If you want to know why colors are defined as they are here you definitely would need to ask upstream on Solarized, that's something that cannot be answered here. It probably comes down to the fact that the Solarized color palette does not provide dark and light variants of the defined accent colors. An alternative to using gray for the light variants would probably have been to just reuse the exactly same color (as it is for example done in the Material or Monokai theme). But it is pointless to discuss this here. Of course Terminix could ship with a changed theme definition, but I wouldn't call it Solarized than. |
There is some discussion about this and an answer on altercation/solarized#8 (comment) |
Hi and thanks for this wonderful terminal!
If I open Julia in Gnome-Terminal, my prompt gets colored green, if I type
?
it gets yellow and if I type;
it gets red. Unfortunately this is not possible in Terminix. Would this be possible to implement? Would be really great! Thanks anyway!The text was updated successfully, but these errors were encountered: