PDA

View Full Version : Beryl-Emerald title bars problem


mojojojo
November 2nd, 2007, 04:15 PM
Hi All

I had a problem in the past with title bars not showing but managed to fix it by altering xorg.conf and adding the necessary. I had beryl running smoothly until I decided to install compiz..
Now I have no titlebars or borders, I am running Ubuntu Feisty with Nvidia, the following is a copy of my xorg.conf;


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation G72M [GeForce Go 7400]"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "backingstore" "True"
Option "TripleBuffer" "True"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G72M [GeForce Go 7400]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
Option "AddARGBGLXVisuals" "True"
EndSubSection
EndSection


all help is highly appreciated...

Deciare
November 3rd, 2007, 03:27 AM
Is the Window Decoration plugin enabled?

Is a window decorator running? Try starting emerald --replace from a run dialogue or command line.

If emerald doesn't start, does either gtk-window-decorator or kde-window-decorator start?

mojojojo
November 3rd, 2007, 09:00 AM
Is the Window Decoration plugin enabled?

yes

Is a window decorator running? Try starting
Code:

emerald --replace

from a run dialogue or command line.

from command line it seems to hang and nothing visible happens

If emerald doesn't start, does either gtk-window-decorator or kde-window-decorator start?

In beryl neither emerald nor gtk start, in compiz and metacity gtk works fine.

thanks Deciare


EDIT I just ran ps aux and found emerald --replace is a running process

adamk
November 3rd, 2007, 12:28 PM
What version of emerald are you using? The version of emerald that you have installed might be built for compiz instead of beryl.

Adam

mojojojo
November 3rd, 2007, 02:32 PM
What version of emerald are you using? The version of emerald that you have installed might be built for compiz instead of beryl.

Adam

its making sense now, this might be it actually..

i am using emerald version 0.3.0-svn

if it is the wrong version how do i get the old version back or should i move over to compiz and how do i go about that?

Deciare
November 3rd, 2007, 03:22 PM
Emerald's version reads "0.3.0-svn" up to and including the Compiz Fusion 0.5.x series, so finding its version may be a little less straightforward...

How many versions of emerald do you have installed? Check the output of this command:
locate -r bin/emerald$
If there's more than one, try each one to see whether it works with Compiz. If there's only one, then Beryl's version of emerald had probably already been overwritten with Compiz's (and you did note that emerald doesn't work with Beryl either).

mojojojo
November 3rd, 2007, 04:01 PM
there is only one and this is the output;

How many versions of emerald do you have installed? Check the output of this command:
Code:

locate -r bin/emerald$

/usr/bin/emerald

if there's more than one, try each one to see whether it works with Compiz. If there's only one, then Beryl's version of emerald had probably already been overwritten with Compiz's (and you did note that emerald doesn't work with Beryl either).

so it must be overwritten, do i remove beryl and use compiz or switch to older version of emerald...

thanks so much

Deciare
November 3rd, 2007, 06:11 PM
Having Beryl and Compiz installed on the same computer shouldn't cause conflicts except for Emerald... I have both Beryl and Compiz installed and haven't had problems with either.

I'm honestly not sure what may be preventing Emerald from working in your case. When you click in the area where a window's titlebar and buttons should be, can you move your windows around, minimise them, and so forth? I'd like to know whether the borders are simply invisible, or not present.

Also, which guide did you follow or whose packages did you use to install Compiz?

Oh, can you also check the Window Decoration plugin for whether the Decoration windows and Shadow windows text fields are both set to "any"?

so it must be overwritten, do i remove beryl and use compiz or switch to older version of emerald...
If you reinstall an earlier version of Emerald, then it will likely start working with Beryl again. If you simply can't get Compiz to work with Emerald, you may also choose to use one of the other window decorators for the time being.

mojojojo
November 3rd, 2007, 08:19 PM
I'm honestly not sure what may be preventing Emerald from working in your case. When you click in the area where a window's titlebar and buttons should be, can you move your windows around, minimise them, and so forth? I'd like to know whether the borders are simply invisible, or not present.

they are not present, i used to keep them invisible previously when i used compiz, i liked the effect. now however there are no borders whatsoever.

Also, which guide did you follow or whose packages did you use to install Compiz?

as i recall i used synaptic

Oh, can you also check the Window Decoration plugin for whether the Decoration windows and Shadow windows text fields are both set to "any"?

if you mean in the Beryl Settings Manager then the shadows were not. I am not sure i follow though.

if you reinstall an earlier version of Emerald, then it will likely start working with Beryl again. If you simply can't get Compiz to work with Emerald, you may also choose to use one of the other window decorators for the time being.

what about removing beryl and emerald completely and reinstalling the right versions, that should surely solve the problem..

thanks again for your support

Deciare
November 4th, 2007, 01:31 AM
as i recall i used synaptic
Did you install Trevino's packages, then?

if you mean in the Beryl Settings Manager then the shadows were not. I am not sure i follow though.
I meant in ccsm, the CompizConfig Settings Manager. In the configuration page for Window Decoration plugin, there are two text fields near the bottom, labelled "Decoration windows" and "Shadow windows":
http://i81.photobucket.com/albums/j239/Deciare/opencompositing-org/decoration-general.png

I'd like to know if they are both set to "any". But if you'd like to copy every setting shown in that screenshot, that may be helpful as well. :)

what about removing beryl and emerald completely and reinstalling the right versions, that should surely solve the problem..
Probably, yes. I suggested going back to Beryl because it seemed easier since you already had that working, but if you'd rather have Compiz, we can manage that too.

Edit: Come to think of it, how are you starting Compiz? From the question you asked me about the Beryl Settings Manager, it sounds like you've never used ccsm before...? Is the Window Decoration plugin enabled in ccsm?

mojojojo
November 4th, 2007, 02:26 AM
Quote:
Originally Posted by mojojojo View Post
as i recall i used synaptic
Did you install Trevino's packages, then?

I am not quite sure

Edit: Come to think of it, how are you starting Compiz? From the question you asked me about the Beryl Settings Manager, it sounds like you've never used ccsm before...? Is the Window Decoration plugin enabled in ccsm?

well done, all the right questions, I can't start ccsm, i get this output when running in terminal;

Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
File "/usr/bin/ccsm", line 43, in <module>
mainWin = ccm.MainWin(context)
File "/usr/lib/python2.5/site-packages/ccm/Window.py", line 77, in __init__
for category in sorted(self.Context.Categories, self.CatSortCompare):
File "/usr/lib/python2.5/site-packages/ccm/Window.py", line 361, in CatSortCompare
if self.Context.Plugins['core'].Category == v1:
KeyError: 'core'

i am now finding out that i never got compiz running, it was always just sitting there, idle.

Deciare
November 4th, 2007, 02:54 AM
Can you please post the output of the following command?
dpkg -l | grep -i compiz

You may have bits and pieces of ccsm and other Compiz packages from different repositories, which can result in all sorts of weird symptoms.

mojojojo
November 9th, 2007, 07:16 PM
sorry for the delay in reply i have been out of internet range;

Can you please post the output of the following command?
Code:

dpkg -l | grep -i compiz



mojojojo@LinuXed:~$ dpkg -l | grep -i compiz
ii compiz 0.5.2+git20070918-0ubuntu5~ppa1 OpenGL window and compositing manager
ii compiz-core 0.3.6-1ubuntu13 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.5.2+git20070917-0ubuntu1~ppa1 Collection of extra plugins from OpenComposi
ii compiz-fusion-plugins-main 0.5.2+git20070917-0ubuntu3~ppa1 Collection of plugins from OpenCompositing f
ii compiz-gnome 0.3.6-1ubuntu13 OpenGL window and compositing manager - GNOM
ii compiz-gtk 0.3.6-1ubuntu13 OpenGL window and compositing manager - Gtk
ii compiz-plugins 0.3.6-1ubuntu13 OpenGL window and compositing manager - plug
ii compizconfig-settings-manager 0.5.2+git20070829-0ubuntu1~ppa1 Compiz configuration settings manager
ii emerald 0.3~git20070717-0ubuntu1~ppa1 Decorator for compiz-fusion
ii gnome-compiz-manager 0.10.3-0ubuntu1 Compiz Gnome Manager
ii libcompizconfig0 0.5.2+git20070919-0ubuntu2~ppa1 Settings library for plugins - OpenCompositi
ii libdecoration0 0.5.2+git20070918-0ubuntu5~ppa1 Compiz window decoration library
ii libemeraldengine0 0.3~git20070717-0ubuntu1~ppa1 Decoration engines for compiz-fusion
ii libgnome-compiz-manager0 0.10.3-0ubuntu1 Compiz Gnome Manager
ii python-compizconfig 0.5.2+git20070829-0ubuntu1~ppa1 Compiz configuration system bindings

Deciare
November 10th, 2007, 04:12 AM
Hmm, it looks like you may have too many Compiz packages installed. In particular, your compiz-core version is way too old, and the compiz-gnome, compiz-gtk, compiz-plugin, gnome-compiz-manager, and libgnome-compiz-manager packages are all obsolete and probably won't work with Compiz Fusion.

Please uninstall all of your Compiz-related packages (i.e. everything in your previous post):
sudo apt-get autoremove compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-gtk compiz-plugins compizconfig-settings-manager emerald gnome-compiz-manager libcompizconfig0 libdecoration0 libemeraldengine0 libgnome-compiz-manager0 python-compizconfig

Then reinstall only the packages available from the http://ppa.dogfood.launchpad.net/amaranth/ubuntu/ repository:
sudo apt-get install compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compizconfig-settings-manager emerald libcompizconfig0 libdecoration0 libemeraldengine0 python-compizconfig
Once you've done that, please run dpkg -l | grep -i compiz-core and confirm that it's version 0.5.2-0ubuntu3~ppa4 instead of the much older version you currently have installed.

mojojojo
November 16th, 2007, 02:01 AM
thanks deciare that did it..

:D