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

Can't make new theme, error in terminal #49

Open
hahlic opened this issue Nov 22, 2018 · 8 comments
Open

Can't make new theme, error in terminal #49

hahlic opened this issue Nov 22, 2018 · 8 comments

Comments

@hahlic
Copy link

hahlic commented Nov 22, 2018

I followed your instructions in "redme.md" but have error witch say.
command
yoss@gray:~$ ~/cinnamox-gtk-theme/change_color.sh ~/cinnamox-gtk-theme/colors/Yoss-theme
respond
/home/yoss/cinnamox-gtk-theme/change_color.sh: line 117: /home/yoss/cinnamox-gtk-theme/colors/Yoss-theme: No such file or directory
I have Yoss-theme in color folder
What is wrong with that. Thanks for your responde.

@smurphos smurphos transferred this issue from smurphos/cinnamox_themes Nov 22, 2018
@smurphos
Copy link
Owner

Hi, can you report back output of ls ~/ and ls ~/cinnamox-gtk-theme

@hahlic
Copy link
Author

hahlic commented Nov 22, 2018 via email

@smurphos
Copy link
Owner

And ls ~/cinnamox-gtk-theme/colors

I can't reproduce this so can only guess your theme template is named something different from Yoss-theme - maybe yoss-theme?

@hahlic
Copy link
Author

hahlic commented Nov 24, 2018 via email

@hahlic
Copy link
Author

hahlic commented Nov 25, 2018

After two day of working on my theme, I can't find a way to make different color for title bar. There is small differences between front and back program windows title bar colors.
As I know it should be in metacity1/metacity-theme-2.xml
<!-- ::: CONSTANTS ::: --> <constant name="C_titlebar_focused" value="#FF4243" /> <constant name="C_titlebar_unfocused" value="#A09C9C" /> <constant name="C_border_focused" value="#2AA5A5" /> <constant name="C_border_unfocused" value="#000000" />
But that doesn't change nothing.
Any suggestions?

@smurphos
Copy link
Owner

smurphos commented Dec 9, 2018

If you are using Cinnamon it's metacity-theme-3.xml that you need to edit manually - metacity-theme-2.xml is so the themes will work in the Mate desktop environment.

Also some apps use a header bar rather than a title bar - that's done in the GTK3 css.

As written the metacity themes are supposed to use colors derived from the GTK3 theme.

@hahlic
Copy link
Author

hahlic commented Dec 9, 2018

OK I understand that, but in metacity-theme-3.xml it points for changing colors to GTK.

<constant name="C_titlebar_active_start" value="shade/gtk:custom(theme_selected_bg_color,gtk:bg[SELECTED])/1.25" />
<constant name="C_titlebar_active_end" value="shade/gtk:custom(theme_selected_bg_color,gtk:bg[SELECTED])/0.85" />
<constant name="C_titlebar_inactive_start" value="shade/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/1.1" />
<constant name="C_titlebar_inactive_end" value="shade/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/0.9" />`

Can you point where in gtk (2 or3) or I am completely wrong.

@smurphos
Copy link
Owner

smurphos commented Apr 9, 2019

@hahlic apologies for the very delayed response.

You are looking in the right place - you can just replace the gtk references with hard coded colors in the snippet you posted above.

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

2 participants