smurphos / cinnamox-gtk-theme

cinnamox-gtk-theme is used to build the Cinnamox GTK and Metacity themes. It is a fork of oomox-gtk-theme, which in turn is a fork of numix-gtk-theme.
GNU General Public License v3.0
15 stars 4 forks source link

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

Open hahlic opened 5 years ago

hahlic commented 5 years ago

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 commented 5 years ago

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

hahlic commented 5 years ago

On Thu, 22 Nov 2018 11:42:29 -0800 Steve M notifications@github.com wrote:

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

Here it is

yoss@gray:~$ ls ~/ 'Cinnamon favorites menu edit.txt' "PlayOnLinux's virtual drives" cinnamox-gtk-theme Programs Desktop Public Documents Release.key Downloads sus_HD Mail Templates Music Videos Navigacija vivaldi News yoss_100.png PDF yoss.png Pictures yoss_round.png yoss@gray:~$ ls ~/cinnamox-gtk-theme change_color.sh colors LICENSE Makefile screenshots src cinnamox_specific CREDITS maintenance_scripts README.md scripts

-- hahlic hahlic@gmail.com

smurphos commented 5 years ago

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 commented 5 years ago

On Sat, 24 Nov 2018 01:09:39 -0800 Steve M notifications@github.com wrote:

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?

NO I checked that before posting,it will be to lame :) I am puzzled, look output when I do same command just with template theme.

yoss@gray:~$ ~/cinnamox-gtk-theme/change_color.sh ~/cinnamox-gtk-theme/colors/theme_template rm: cannot remove '/home/yoss/.themes/cinnamox-theme_template': No such file or directory building theme at /home/yoss/.themes/cinnamox-theme_template rm -rf "gtk-3.0/dist"

And then it create theme in .theme directory. So now it works and I made first my theme with your huge support. Thank's man you are doing nice job. -- hahlic hahlic@gmail.com

hahlic commented 5 years ago

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 `

` But that doesn't change nothing. Any suggestions?

smurphos commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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