Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-10-01 23:26:58

mrpringle
Member
Registered: 2009-10-01
Posts: 2

Modifying theme so corner click closes window?

Hi,
I've installed the xfwm4 theme from the theme pack located here: http://sixsixfive.deviantart.com/art/Li … -117381124

One problem I've found with some of the xfwm4 themes (including the one in the link above) is you can't click the close button of a maximised application by moving the cursor to the top right hand corner of the screen. You have to offset the cursor by several pixels which is annoying because I'm not used to doing that in MS windows or the default xfce 4.6 window manager theme.

Does anyone know how I can modify the xfwm4 theme so it behaves the way I'm used to? I've tried modifying the themerc which doesn't seem to be effective. I think the behaviour is dependent on the icons, but I don't know which ones I need to modify and how they need to be modified to make it behave the way I would like.

Does anyone with themeing experience know how to fix this problem?

Offline

#2 2009-10-04 22:07:48

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

Re: Modifying theme so corner click closes window?

This is very easy to fix. Right now you can not click the button in the very to corner because it is not there. You nee to make the there.
To do this open  LightGreyV2/xfwm4/close-active.xpm in a text editor and delete everything in the file. and replace it with this:

/* XPM */
static char * close_active_xpm[] = {
"16 22 38 1",
"     c None",
".    c #E0E0E0",
"+    c #DFDFDF",
"@    c #DEDEDE",
"#    c #DDDDDD",
"$    c #D9D9D9",
"%    c #C7C7C7",
"&    c #BDBDBD",
"*    c #CECECE",
"=    c #BCBCBC",
"-    c #D6D6D6",
";    c #EAEAEA",
">    c #EDEDED",
",    c #CFCFCF",
"'    c #C2C2C2",
")    c #E9E9E9",
"!    c #EEEEEE",
"~    c #EFEFEF",
"{    c #DADADA",
"]    c #BFBFBF",
"^    c #EBEBEB",
"/    c #C8C8C8",
"(    c #D8D8D8",
"_    c #BEBEBE",
":    c #ECECEC",
"<    c #E7E7E7",
"[    c #E8E8E8",
"}    c #E4E4E4",
"|    c #CACACA",
"1    c #D3D3D3",
"2    c #E5E5E5",
"3    c #E3E3E3",
"4    c #E1E1E1",
"5    c #D5D5D5",
"6    c #E2E2E2",
"7    c #BBBBBB",
"8    c #D4D4D4",
"9    c #CCCCCC",
"0    c #e2e2e2",
"a    c #e4e4e4",
"b    c #e0e0e0",
"bbbbbbbbbbbbbbbb",
"aaaaaaaaaaaaaaaa",
"0000000000000000",
"....+@@##@@+....",
"...+$%&&&&%$+...",
"..@*=-;>>;-=*@..",
".+,')!~~~~!)',+.",
"+{]^>~!!!!!!;]{+",
"@/(!~~~~~~~~>(/@",
"#_)>>>>>>>>>>)_@",
"@_):::::::::rolleyes:_@",
"@&<))))))))))[&@",
"+_}<<<<<<<<<<}_+",
"+|1}2222222221|@",
"+@_+33333333+_@+",
".45]@634436#]54.",
"..357,@..@*786..",
"..43.9_==_9.6...",
"...+43}22}3.....",
"................",
"................",
"................"};

This will fix you problem, but you may have to change close-pressed.xpm and close-prelight.xpm in the same manner

Offline

#3 2009-10-28 13:51:06

mrpringle
Member
Registered: 2009-10-01
Posts: 2

Re: Modifying theme so corner click closes window?

TomE wrote:

This is very easy to fix. Right now you can not click the button in the very to corner because it is not there. You nee to make the there.
To do this open  LightGreyV2/xfwm4/close-active.xpm in a text editor and delete everything in the file. and replace it with this:

/* XPM */
static char * close_active_xpm&#91;] = {
"16 22 38 1",
"     c None",
".    c #E0E0E0",
"+    c #DFDFDF",
"@    c #DEDEDE",
"#    c #DDDDDD",
"$    c #D9D9D9",
"%    c #C7C7C7",
"&    c #BDBDBD",
"*    c #CECECE",
"=    c #BCBCBC",
"-    c #D6D6D6",
";    c #EAEAEA",
">    c #EDEDED",
",    c #CFCFCF",
"'    c #C2C2C2",
")    c #E9E9E9",
"!    c #EEEEEE",
"~    c #EFEFEF",
"{    c #DADADA",
"]    c #BFBFBF",
"^    c #EBEBEB",
"/    c #C8C8C8",
"(    c #D8D8D8",
"_    c #BEBEBE",
":    c #ECECEC",
"<    c #E7E7E7",
"[    c #E8E8E8",
"}    c #E4E4E4",
"|    c #CACACA",
"1    c #D3D3D3",
"2    c #E5E5E5",
"3    c #E3E3E3",
"4    c #E1E1E1",
"5    c #D5D5D5",
"6    c #E2E2E2",
"7    c #BBBBBB",
"8    c #D4D4D4",
"9    c #CCCCCC",
"0    c #e2e2e2",
"a    c #e4e4e4",
"b    c #e0e0e0",
"bbbbbbbbbbbbbbbb",
"aaaaaaaaaaaaaaaa",
"0000000000000000",
"....+@@##@@+....",
"...+$%&&&&%$+...",
"..@*=-;>>;-=*@..",
".+,')!~~~~!)',+.",
"+{]^>~!!!!!!;]{+",
"@/(!~~~~~~~~>(/@",
"#_)>>>>>>>>>>)_@",
"@_):::::::::rolleyes:_@",
"@&<))))))))))[&@",
"+_}<<<<<<<<<<}_+",
"+|1}2222222221|@",
"+@_+33333333+_@+",
".45]@634436#]54.",
"..357,@..@*786..",
"..43.9_==_9.6...",
"...+43}22}3.....",
"................",
"................",
"................"};

This will fix you problem, but you may have to change close-pressed.xpm and close-prelight.xpm in the same manner

Thanks. That seems to work, although I think I would need to edit the minimise, maximise, sticky icons as well, so they all appear to be the same size.

Offline

#4 2011-08-03 20:50:02

skai
Member
Registered: 2011-08-03
Posts: 1

Re: Modifying theme so corner click closes window?

Hi,
sorry to revive this topic,
but I'm trying to do the same.
Is it still supposed to be working with xfce 4.8 ?

I'm trying with no result. is Logout/login required or just sapping beteen themes, or something else ?
Anyway I tried with no apparent success.

Last edited by skai (2011-08-03 20:59:12)

Offline

Board footer

Powered by FluxBB