Xfce Forum

Sub domains
 

You are not logged in.

#1 2006-09-13 08:25:15

badock
Member
Registered: 2006-09-13
Posts: 5

modifying a theme (Gentle)

hello all,

i've installed the theme Gentle forx xfce4, and i can change the appearance by modifying the file ~/.themes/Gentle_2.0/xfwm4/themerc (i can withdraw the shadows etc.) but i'd also like to change the colors and the size of the edges of the windows ... and i don't manage to do it  :-x

i've modified the file ~/.themes/Gentle_2.0/gtk-2.0/gtkrc but all the things i changed have no effect on the appearance at all

maybe i don't do the right things, if so, i would appreciate if you could show me the way   ^-^

Offline

#2 2006-09-13 08:36:09

McMax
Member
Registered: 2005-10-06
Posts: 18

Re: modifying a theme (Gentle)

roll I am not sure, but i think you have to modify *.xpm files in xfce4 directory.

Offline

#3 2006-09-13 12:00:03

systemx
Member
From: ~/
Registered: 2004-06-11
Posts: 69

Re: modifying a theme (Gentle)

badock wrote:

hello all,

i've installed the theme Gentle forx xfce4, and i can change the appearance by modifying the file ~/.themes/Gentle_2.0/xfwm4/themerc (i can withdraw the shadows etc.) but i'd also like to change the colors and the size of the edges of the windows ... and i don't manage to do it  :-x

i've modified the file ~/.themes/Gentle_2.0/gtk-2.0/gtkrc but all the things i changed have no effect on the appearance at all

maybe i don't do the right things, if so, i would appreciate if you could show me the way   ^-^

it seems that xfwm4 theme wasn't made to pickup gtk2 colors.
thats why the color doesn't change when you change gtk2 themes.

in order to do what you want to do, you would have to edit the *.xpm files.

Offline

#4 2006-09-14 10:09:49

badock
Member
Registered: 2006-09-13
Posts: 5

Re: modifying a theme (Gentle)

ok i tried to modify the colors within the xpm files, but it won't change anything...
(but i can change the shape of the main bar)
plus, i noticed that the colors change when i change the theme in 'User Interface' (not 'Window Manager'),
for instance it becomes yellow with the theme : xfce-b5

so maybe i should modify the current theme (in 'User Interface', which is NOT Gentle) but where the hell is that ?

thanks, i hope you understand what i say smile

Offline

#5 2006-09-14 13:59:13

systemx
Member
From: ~/
Registered: 2004-06-11
Posts: 69

Re: modifying a theme (Gentle)

my bad, you are absolutely right. it's already set to pickup gtk2 colors.

Offline

#6 2006-09-14 16:10:33

badock
Member
Registered: 2006-09-13
Posts: 5

Re: modifying a theme (Gentle)

systemx wrote:

my bad, you are absolutely right. it's already set to pickup gtk2 colors.

err ok so ,,, what do i do now ?
i'm quite lost  :-|

Offline

#7 2006-09-14 16:17:28

TomE
Member
Registered: 2005-02-05
Posts: 132

Re: modifying a theme (Gentle)

add this to the gtkrc (~/.themes/$THEME_NAME/gtk-2.0/gtkrc)

style "window-border" = "default"
{
#avtive window color
  bg[SELECTED]  = "#8B866D"
#active window text color
  fg[SELECTED]  = "#ffffff"

#inactive window color
  bg[INSENSITIVE]  = "#F2F1E9"
#inactive text color
  fg[INSENSITIVE]  = "#5E5C4F"
}

widget "xfwm"               style "window-border"

If you have saved any changes in the gimp you will have to redownload the theme becuse the gimp fsck up the color pickup.

Offline

#8 2006-09-15 11:31:16

badock
Member
Registered: 2006-09-13
Posts: 5

Re: modifying a theme (Gentle)

ok, so i managed to change the color with you help, and by copying a gtkrc file in /usr/share/file, but i still don't manage to modify the width of the window border...

this time i think it no longer has to do with the gtk-2.0/gtkrc, but more with the xfwm4/themerc but i'm not sure...

so if you have some ideas, let me know wink

Offline

#9 2006-09-15 11:58:18

TomE
Member
Registered: 2005-02-05
Posts: 132

Re: modifying a theme (Gentle)

yes you need to change the xmp files. you will need to open them with a text editor. when you do you get something like this:

/* XPM */
static char * left_active_xpm[] = {
"1 5 1 1",
".    c #A3B8CD s active_color_1",
".",
".",
".",
".",
"."};

to make the left side wider change it to this:

/* XPM */
static char * left_active_xpm[] = {
"3 5 1 1",
".    c #A3B8CD s active_color_1",
"...",
"...",
"...",
"...",
"..."};

you will need to do this for rigt-*.xpm left-*.xpm bottom-*.xpm. If you want an better overview about xfwm theme look here

Offline

#10 2006-09-15 15:32:00

badock
Member
Registered: 2006-09-13
Posts: 5

Re: modifying a theme (Gentle)

ok thanks to all of you i've learned some interesting stuffs, and i finally obtained what i wanted smile

thx again  ;D

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 549.91 KiB (Peak: 550.75 KiB) ]