You are not logged in.

#1 2012-04-30 13:00:37

nabeelimran
Member
From: Karachi, Pakistan
Registered: 2012-02-09
Posts: 26

[SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

Hello!

I have searched quite a bit in the past few days but couldn't find a solution so posting for help.
I am using Gnome Fallback mode with Compiz and the Gtk-window-decorator. I use Fusion-Icon for starting up Compiz. For some unknown reason Compiz is not displaying my metacity window themes instead, the Cairo themes are being used.
I use gnome-tweak-tool to change the metacity themes.
I have the option apps/gwd/use_metacity_theme in gconf-editor set to true.
I have read the Compiz wiki and Arch wiki on the topic.

The problem wasn't there when I was using Gnome 3.2 so something changed in upgrading from 3.2 to 3.4. I even did a fresh install (twice) but the problem persists so its not some old setting.

Can someone please guide me in the right direction?

Thank you in advance :-)

Last edited by nabeelimran (2012-04-30 20:39:19)


Dell XPS M1710 : C2D 2.16 - 4GB - 320GB - 256MB nVidia - 17" TFT - DVD-DL-RW
Triple-Boot: Windows 7 Ultimate - Arch Linux x86_64 GNOME (MAIN) - Ubuntu 10.04.3
...Out of commission at the moment

Offline

#2 2012-04-30 19:04:32

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

what gtk3/metacity themes are you trying to use??? I say this because most of them are broken with Gtk-3.4. (so it might stick you with the default cairo-theme).

One observation that i have had on my own machine is that i am NOT able to switch metacity themes via gnome-tweak-tool. Instead, i manually specify them in gconf-editor;

apps->metacity->general->theme

..then i manually type the theme name. however, the gtk-theme itself I can change in gnome-tweak-tool. 

i would try that and see if it makes a difference.

I'd also verify that in CCSM->window-decoration that you have /usr/bin/gtk-window-decorator (or compiz-decorator, if you have that script installed)

cheerz

Last edited by triplesquarednine (2012-04-30 19:05:11)

Offline

#3 2012-04-30 19:23:26

nabeelimran
Member
From: Karachi, Pakistan
Registered: 2012-02-09
Posts: 26

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

Thank you for the pointers.
I am using the themes found on gnome-look and it was mentioned that they are compatible with gnome 3.4.
As of gnome 3.4, the metacity/wm settings have been shifted from gconf-editor to dconf-editor (org.gnome.desktop.wm.preferences) and yes I have checked that the theme I select in gnome-tweak-tool is the same specified there.
In CCSM > Window Decorations, gtk-window-decorator --replace is specified and since I use Fusion-Icon, this same one is selected there too.

:-(


Dell XPS M1710 : C2D 2.16 - 4GB - 320GB - 256MB nVidia - 17" TFT - DVD-DL-RW
Triple-Boot: Windows 7 Ultimate - Arch Linux x86_64 GNOME (MAIN) - Ubuntu 10.04.3
...Out of commission at the moment

Offline

#4 2012-04-30 19:46:46

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

nabeelimran wrote:

I am using the themes found on gnome-look and it was mentioned that they are compatible with gnome 3.4.
As of gnome 3.4, the metacity/wm settings have been shifted from gconf-editor to dconf-editor (org.gnome.desktop.wm.preferences) and yes I have checked that the theme I select in gnome-tweak-tool is the same specified there.

Okay, so your theme should be supported, and everything else appears to be in order.

How about actually manually specifying your theme in gconf-editor. while it is true that metacity/wm settings have been moved to dconf-editor, as i pointed out to you already -> I change my metacity theme via gconf-editor and that changing it in gnome-tweak-tool does *absolutely nothing* to the window decoration.

you might at least want to checkout gconf-editor, rather than asserting it isn't used. Why? because i am currently running gnome 3.4 + compiz 0.9.8 + gtk-window-decorator and all of my (metacity) themes work perfectly (that are gtk3.4 compatible), using *gconf-editor*.

cheerz

Offline

#5 2012-04-30 20:00:43

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

I'd also like to show you something;

This is gconf-editor vs. dconf-editor (for WM settings)

Gconf is on the left-side / Dconf-editor is on the right-side.  The blue boxes indicate 'correct' settings being used. the red boxes show incorrect settings.

tZGtwcA

One obvious indication that gconf is being used, would be to look at my button layout. - notice how i have six buttons, but dconf-editor only lists 4? it is missing 'stick' and 'shade'. but obviously, those have been set in gconf-editor.

I'm not sure why this is ~ it may be a bug or some incompatibility - but i know for fact (locally, anyway) gconf-editor is what works and dconf-editor doesn't do anything for my WM settings

cheerz

Last edited by triplesquarednine (2012-04-30 20:03:32)

Offline

#6 2012-04-30 20:09:28

nabeelimran
Member
From: Karachi, Pakistan
Registered: 2012-02-09
Posts: 26

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

Okay sir!

So should I copy the keys over from dconf-editor and then change the values in gconf-editor since I don't have any metacity-related keys in gconf-editor since the upgrade to gnome 3.4?

PS: Is it a coincidence that I am using the Greybird theme big_smile

Last edited by nabeelimran (2012-04-30 20:12:25)


Dell XPS M1710 : C2D 2.16 - 4GB - 320GB - 256MB nVidia - 17" TFT - DVD-DL-RW
Triple-Boot: Windows 7 Ultimate - Arch Linux x86_64 GNOME (MAIN) - Ubuntu 10.04.3
...Out of commission at the moment

Offline

#7 2012-04-30 20:20:15

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

nabeelimran wrote:

Okay sir!

So should I copy the keys over from dconf-editor and then change the values in gconf-editor since I don't have any metacity-related keys in gconf-editor since the upgrade to gnome 3.4?

lol. no, don't do that. dconf's keys may be different.

1st, if you don't have a metacity key under apps, you'll probably need to create one.

then, how about just creating the 'theme' key and the button_layout key...just to test and see if it will work for you.

you can create these keys in gconf-editor by navigating  (to where they should be), then right-click->new key.

after that, try changing the 'theme' key - write the exact theme name, and press enter (the metacity theme should change instantly).

if that works, then it will be a matter of figuring out why dconf-editor isn't working, while gconf-editor does... I'm going to look into this, but unfortunately, i am on my way out the door. so filing a bug report won't happen till later.

let me know if it works out.

Offline

#8 2012-04-30 20:28:00

nabeelimran
Member
From: Karachi, Pakistan
Registered: 2012-02-09
Posts: 26

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

Thank you very much.

Couldn't create the 'folder' keys but these useful commands worked like a charm:

gconftool-2 --set /apps/metacity/general/theme --type=string Greybird
gconftool-2 --set /apps/metacity/general/button_layout --type=string : # I like to have a 'very' clean titlebar :-)
gconftool-2 --set /apps/metacity/general/titlebar_font --type=string 'Cantarell Bold 11
gconftool-2 --set /apps/metacity/general/disable_workarounds --type=bool true
gconftool-2 --set /apps/metacity/general/action_middle_click_titlebar --type=string toggle_shade

like they always say, command-line is your best friend big_smile

...and thank you once again. This thing was driving me crazy!

Last edited by nabeelimran (2012-04-30 20:38:12)


Dell XPS M1710 : C2D 2.16 - 4GB - 320GB - 256MB nVidia - 17" TFT - DVD-DL-RW
Triple-Boot: Windows 7 Ultimate - Arch Linux x86_64 GNOME (MAIN) - Ubuntu 10.04.3
...Out of commission at the moment

Offline

#9 2012-04-30 23:49:16

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

No problem. I am glad we got that fixed up.

That is why i sort of insisted that you try out what i was telling you to do. ~ even being a bit pushy (enough to post screenshots...lol)

I too was aware of the fact that metacity was supposed to be moved dconf/gsettings, but i couldn't get it to work for the life of me. So, i ended up figuring out that gconf was still the ticket.... I'm not sure why this is, could be compiz-related (although i don't see how), or it could be the dconf WM settings only affect Gnome-shell/mutter. i really don't know. it's also possible this is a bug, but i haven't taken the time to dig through bug reports.

by the way, it is a bit funny that you are using greybird and that i am using blackbird.  It _may_ be they are both based on bluebird (which contains gtk2/gtk3/metacity/xfce themes).  After the gnome 3.4 update, my theme was killed, so i found bluebird - which i really liked...except for the google-chrome blue look. So i trashed all the blue, modified all of the buttons, changed the menus to grey-black, etc. I especially liked the one-pixel 'active' window border, so i modded it to have a more Archlinux like blue-tone.

Greybird is a nice theme too ~ very MacOSX, elementaryOS style. I installed it the other day wink

anyway, your theme now works!

Offline

#10 2012-04-30 23:53:14

nabeelimran
Member
From: Karachi, Pakistan
Registered: 2012-02-09
Posts: 26

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

Nice review and sum-up :-)

One more thing I noticed that the gconf theme settings don't work if the themes are in ~/.themes. They have to be placed in /usr/share/themes.

You are right about the ~bird theme series. These have been made for Xubuntu specifically. The projects are hosted at:

http://shimmerproject.org/

EDIT: I have found a nice icon theme to go with the ~bird themes:

https://aur.archlinux.org/packages.php?ID=58598

Last edited by nabeelimran (2012-05-01 08:20:25)


Dell XPS M1710 : C2D 2.16 - 4GB - 320GB - 256MB nVidia - 17" TFT - DVD-DL-RW
Triple-Boot: Windows 7 Ultimate - Arch Linux x86_64 GNOME (MAIN) - Ubuntu 10.04.3
...Out of commission at the moment

Offline

#11 2012-05-01 03:20:21

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] GNOME Fallback+Compiz+GTK-Window-Decorator - ?Cairo Themes

nabeelimran wrote:

Nice review and sum-up :-)

One more thing I noticed that the gconf theme settings don't work if the themes are in ~/.themes. They have to be placed in /usr/share/themes.

You are right about the ~bird theme series. These have been made fro XUbuntu specifically. The projects are hosted at:

http://shimmerproject.org/

IMO it is bad practice to install themes to ~/.themes -  the reason i think this is because it makes the desktop inconsistent. For example, root will not use themes in ~/.themes

I didn't notice the gconf not picking up on ~/.themes though, since i always install themes to /usr/share/themes ...

Interesting about the ~bird themes. my comment was really just a guess,

cheerz

Last edited by triplesquarednine (2012-05-01 03:21:13)

Offline

Board footer

Powered by FluxBB