Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258238 - schemas for gtk-window-decorator aren't installed by default for 1using compiz with metacity themes
Summary: schemas for gtk-window-decorator aren't installed by default for 1using compi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-08 21:38 UTC by Borkenkaefer
Modified: 2009-04-26 13:59 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,3.64 KB, text/plain)
2009-02-08 21:39 UTC, Borkenkaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Borkenkaefer 2009-02-08 21:38:26 UTC
Problem: On a freshly installed gentoo ~x86, I started compiz under a GNOME environment with the command "compiz-manager" which always took the default decoration of gtk-window-decorator. gtk-window-decorator is good, but not very customazible.

Expected: I wanted compiz to use the metacity-themes for windows-decorations by default.

workaround: I set the schemas fot gtk-window-decorator manually as described under http://wiki.compiz-fusion.org/Decorators/GTKWindowDecorator

My Question: Shouldn't metacity install schemas for the gtw-window-decorator aswell so that metacity-themes are used by gtk-window-decorator?
Comment 1 Borkenkaefer 2009-02-08 21:39:51 UTC
Created attachment 181392 [details]
emerge --info
Comment 2 Marcos 2009-03-05 01:45:46 UTC
Same problem here on my newer x86_64 machine. I have used this workaround:

# export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
# gconftool-2 --makefile-install-rule /etc/gconf/schemas/gwd.schemas

And then log out and log in. Here my emerge --info:

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Wed, 04 Mar 2009 23:30:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -Os -fomit-frame-pointer -frename-registers -mmmx -msse -msse2 -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -Os -fomit-frame-pointer -frename-registers -mmmx -msse -msse2 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR pt en ja"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 automount berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog java jpeg kde lcms libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib nautilus ncurses network-cron nls nptl nptlonly ogg opengl openmp pam pcre pda pdf perl pic png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vorbis xattr xcb xcomposite xinerama xml xorg xulrunner xv 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 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="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR pt en ja" LIRC_DEVICES="pixelview_bt878 bt878 it87" USERLAND="GNU" VIDEO_CARDS="nvidia nv vga vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Take a look on the text below, it was the result of "emerge --oneshot compiz":

>>> Installing x11-wm/compiz-0.7.8-r2
 * No GNOME 2 GConf schemas found
 * No GNOME 2 GConf schemas found
 * If you update to x11-wm/metacity-2.24 after you install compiz-0.7.8,
 * gtk-window-decorator will crash until you reinstall compiz again.

 * Messages for package x11-wm/compiz-0.7.8-r2:

 * If you update to x11-wm/metacity-2.24 after you install compiz-0.7.8,
 * gtk-window-decorator will crash until you reinstall compiz again.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-26 10:36:53 UTC
With compiz-0.8.2, the schemas are installed when the gnome use flag is enabled:

/etc/gconf/schemas/compiz-move.schemas
/etc/gconf/schemas/compiz-rotate.schemas
/etc/gconf/schemas/compiz-wobbly.schemas
/etc/gconf/schemas/compiz-regex.schemas
/etc/gconf/schemas/compiz-inotify.schemas
/etc/gconf/schemas/compiz-minimize.schemas
/etc/gconf/schemas/compiz-obs.schemas
/etc/gconf/schemas/gwd.schemas
/etc/gconf/schemas/compiz-zoom.schemas
/etc/gconf/schemas/compiz-dbus.schemas
/etc/gconf/schemas/compiz-screenshot.schemas
/etc/gconf/schemas/compiz-commands.schemas
/etc/gconf/schemas/compiz-blur.schemas
/etc/gconf/schemas/compiz-switcher.schemas
/etc/gconf/schemas/compiz-core.schemas
/etc/gconf/schemas/compiz-glib.schemas
/etc/gconf/schemas/compiz-scale.schemas
/etc/gconf/schemas/compiz-gconf.schemas
/etc/gconf/schemas/compiz-svg.schemas
/etc/gconf/schemas/compiz-kconfig.schemas
/etc/gconf/schemas/compiz-resize.schemas
/etc/gconf/schemas/compiz-fs.schemas
/etc/gconf/schemas/compiz-video.schemas
/etc/gconf/schemas/compiz-clone.schemas
/etc/gconf/schemas/compiz-ini.schemas
/etc/gconf/schemas/compiz-decoration.schemas
/etc/gconf/schemas/compiz-gnomecompat.schemas
/etc/gconf/schemas/compiz-annotate.schemas
/etc/gconf/schemas/compiz-place.schemas
/etc/gconf/schemas/compiz-water.schemas
/etc/gconf/schemas/compiz-png.schemas
/etc/gconf/schemas/compiz-fade.schemas
/etc/gconf/schemas/compiz-cube.schemas

Reopen the bug if there's anything missing here.
Comment 4 Pacho Ramos gentoo-dev 2009-04-26 13:42:34 UTC
Seems that they are installed:
/etc
/etc/gconf
/etc/gconf/schemas
/etc/gconf/schemas/compiz-annotate.schemas
/etc/gconf/schemas/compiz-blur.schemas
/etc/gconf/schemas/compiz-clone.schemas
/etc/gconf/schemas/compiz-commands.schemas
/etc/gconf/schemas/compiz-core.schemas
/etc/gconf/schemas/compiz-cube.schemas
/etc/gconf/schemas/compiz-dbus.schemas
/etc/gconf/schemas/compiz-decoration.schemas
/etc/gconf/schemas/compiz-fade.schemas
/etc/gconf/schemas/compiz-fs.schemas
/etc/gconf/schemas/compiz-gconf.schemas
/etc/gconf/schemas/compiz-glib.schemas
/etc/gconf/schemas/compiz-gnomecompat.schemas
/etc/gconf/schemas/compiz-ini.schemas
/etc/gconf/schemas/compiz-inotify.schemas
/etc/gconf/schemas/compiz-kconfig.schemas
/etc/gconf/schemas/compiz-minimize.schemas
/etc/gconf/schemas/compiz-move.schemas
/etc/gconf/schemas/compiz-obs.schemas
/etc/gconf/schemas/compiz-place.schemas
/etc/gconf/schemas/compiz-png.schemas
/etc/gconf/schemas/compiz-regex.schemas
/etc/gconf/schemas/compiz-resize.schemas
/etc/gconf/schemas/compiz-rotate.schemas
/etc/gconf/schemas/compiz-scale.schemas
/etc/gconf/schemas/compiz-screenshot.schemas
/etc/gconf/schemas/compiz-svg.schemas
/etc/gconf/schemas/compiz-switcher.schemas
/etc/gconf/schemas/compiz-video.schemas
/etc/gconf/schemas/compiz-water.schemas
/etc/gconf/schemas/compiz-wobbly.schemas
/etc/gconf/schemas/compiz-zoom.schemas
/etc/gconf/schemas/gwd.schemas

But I still see:
>>> Installing x11-wm/compiz-0.8.2-r1
 * No GNOME 2 GConf schemas found
 * No GNOME 2 GConf schemas found
 * If you update to x11-wm/metacity-2.24 after you install compiz-0.8.2,
 * gtk-window-decorator will crash until you reinstall compiz again.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Comment 5 Pacho Ramos gentoo-dev 2009-04-26 13:54:26 UTC
Seems that ebuild is missing:
pkg_preinst() {
        use gnome && gnome2_gconf_savelist
}

It seems to solve my issue
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-26 13:59:55 UTC
Applied to package without a revbump. Thanks again.