Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338071 - x11-wm/compiz-0.8.8-r3: Compiz-Fusion with GTK Window decorator gives me Cairo Titlebar
Summary: x11-wm/compiz-0.8.8-r3: Compiz-Fusion with GTK Window decorator gives me Cair...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://wiki.compiz.org/Decorators/GTK...
Whiteboard: Pending removal: 2018-01-27
Keywords: PMASKED
: 347417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-19 19:43 UTC by Juan Pablo Lassala
Modified: 2018-02-14 15:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Screenshot showing firefox and Cairo titlebar (Screenshot.png,130.49 KB, image/png)
2010-09-19 19:46 UTC, Juan Pablo Lassala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Pablo Lassala 2010-09-19 19:43:20 UTC
I tried to change the gconf entry as the page said (setting /apps/gwd/use_metacity_theme to TRUE) but I don't have the entry from the start. If I create it nothing happens.

Emerge info:
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-gentoo-1.12.13
Timestamp of tree: Thu, 16 Sep 2010 15:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.cyberuse.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es en_US es_AR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/custom /var/lib/layman/x11"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 apm audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cvs cxx dbus djvu dri dvd dvdr flac fortran ftp gdbm geoip gif gimp gmp gnome gnuplot gphoto2 gpm gps gtk gzip hal hddtemp iconv ieee1394 jabber java javascript joystick jpeg jpeg2k kdrive lame latex libcaca libnotify lm_sensors lzo mad mime mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack nautilus ncurses nls nocd nptl nptlonly offensive ogg openal opengl openmp oss pam pcre pdf perl php png postgres pppd python qt3support quicktime raw rdesktop readline reflection rss samba scanner sdl session smp sse sse2 sse3 sse4a ssl ssse3 subversion svg sysfs tcpd theora threads tiff timidity truetype unicode usb v4l v4l2 vim-syntax vnc vorbis wavpack wifi x264 xcomposite xinerama xmp xorg xpm xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es en_US es_AR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1. Open fusion-icon
2. Select Window Decoration in Compiz settings manager
3. Select Compiz as the Window Manager
4. Select GTK Window Decorator

Actual Results:  
The window decoration is the Cairo's one, and that's unchangeable unless I switch back to Metacity WM.

Expected Results:  
GTK Window Decorator.
Comment 1 Juan Pablo Lassala 2010-09-19 19:46:19 UTC
Created attachment 248037 [details]
Screenshot showing firefox and Cairo titlebar
Comment 2 Mike Auty (RETIRED) gentoo-dev 2010-09-20 13:17:47 UTC
Please try rebuilding compiz with USE="gconf".  If you don't, then the gconf schema for g-w-d won't get installed, and you won't get metacity themes for your windows.

@desktop-effects: Diego added this extra use flag on the 4th of September, but I think it's going to confuse a lot of users who just want to USE="gnome".  Is it worth reverting this change, or attempting to install the schema anyway, or setting "+gconf" in the use flags (which would be bad for KDE users)?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2010-09-22 18:48:40 UTC
+1 for at least adding an einfo about it.  I just blew an hour trying to track down why compiz seemed to be ignoring everything except the color from the gnome appearances config window.

I'm not in love with gconf and the ChangeLog entry seems to indicate that editing flat files might be possible to get the same behavior.  It would be nice if there were some indication what the flat file might be though.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-23 23:37:43 UTC
Next time please CC me as I just came to this because, well, I experienced it.

I sincerely don't think the problem is related to the gconf USE flag itself, as I have been running with USE=-gconf since before committing it and only in the last week the laptop changed behaviour (with nvidia drivers I have to reboot it each time I stop it).

I'm now trying to track down what the problem is; as for the flat files, CCSM can actually export from gconf and import to flat files, the configuration is then stored in .config/compiz/compizconfig/Default.ini, f.ex:


flame@saladin ~ % cat .config/compiz/compizconfig/Default.ini
[core]
as_active_plugins = core;place;session;workarounds;png;resize;decoration;zoom;regex;fade;cube;switcher;scale;move;rotate;cubeaddon;
s0_hsize = 5

[decoration]
as_command = gtk-window-decorator --replace

[cube]

[session]
as_save_legacy = true

[cubeaddon]
s0_deformation = 0
s0_unfold_deformation = false

[3d]
s0_width = 0.501200

[rotate]

[workarounds]
as_qt_fix = true

[switcher]
s0_zoom = 0.000000
Comment 5 Mike Auty (RETIRED) gentoo-dev 2010-09-24 02:22:22 UTC
Compiz can store settings in a flat file instead of gconf, but I believe that g-w-d only checks gconf to determine whether it should use the metacity theme.  If the schemas aren't present, there's no easy way of setting the boolean that g-w-d checks.

Upgrading after an old version had the value set will probably leave the old value there, so this most likely only affects fresh installations/new user profiles.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2010-09-24 02:37:00 UTC
That's not how it went for me.  I was using compiz with the metacity theme and after upgrading and restarting X it was using the cairo theme.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-24 03:30:11 UTC
Here I have the same problem as Mr Bones, but it's not out of the compiz/gconf update, rather out of metacity… it has worked for over two weeks without gconf _and_ with the theme working correctly…
Comment 8 Mike Auty (RETIRED) gentoo-dev 2010-12-05 19:15:37 UTC
*** Bug 347417 has been marked as a duplicate of this bug. ***
Comment 9 Christopher Dale 2010-12-20 22:48:52 UTC
I am having this problem as well. I am re-installing compiz with the gconf flag enabled to see what happens.
Comment 10 Eugene Shatsky 2010-12-27 07:26:59 UTC
(In reply to comment #4)
> I'm now trying to track down what the problem is; as for the flat files, CCSM
> can actually export from gconf and import to flat files

CCSM is designed to configure compiz itself, but not gtk-window-decorator which relies on gconf only. The only parameter related to GWN which is managed by CCSM is "as_command" in "[decoration]" section which contains a command to start the decorator and nothing more.

I think we don't need "gconf" useflag at all. Building with "gnome" but without "gconf" is almost pointless.
Comment 11 Pacho Ramos gentoo-dev 2018-02-14 15:29:42 UTC
removed from the tree