Compiz-Fusion My windows are left without title bars and button

I have followed guide for installing compiz-fusion with nvidia-drivers. After i run:

Code:
compiz --replace --sm-disable --ignore-desktop-hints ccp &

my windows are left without title bars and buttons. This issue is mentioned in guide, but there are no hints on how exactly to solve the problem. I run dual-monitor setup with nvidia-drivers (Geforce 8800 GTS). Here is my xorg.conf:

Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/OTF"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "dri2"
    Load           "extmod"
    Load           "glx"
    Load           "record"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer P243W"
    HorizSync       30.0 - 94.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "G92 [GeForce 8800 GTS 512]"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTS 512"
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1920+0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: 1920x1200 +1920+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1920x1200 +0+0, DFP-1: 1920x1200 +1920+0"
    Option         "AddARGBGLXVisuals" "True"
    Option 	   "AIGLX" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

I will provide you with any additioinal information if needed. Thanks.
 
Thank you. That actually worked. It didn't make windows and title bar appear until emerald --replace was run (for anyone having same problem), but now everything seems to work fine. I didn't know those settings were disabled by default in ccsm.

Thanks again.
 
I recently upgraded to compiz-0.8.4_5 (in ports), from compiz-0.8.4_4. I had the title bars working perfectly, via the guide here. I had no need to add "gtk-window-decorator" as in one of the above posts (and note, adding it does not help now, I've tried it). All I did before was as stated in that link, if you search for "trivial script". Now I don't have title bars any more. I'm curious to see if anyone else has had the same issues and if they have resolved them. I run multiple monitors. Getting these errors:
Code:
Xlib: extension "RANDR" missing on display ":0.0"
Xlib: extension "RANDR" missing on display ":0.1"
emerald: Screen 0 on display ":0.0" already has a decoration manager; try using the --replace option to replace the current decoration manager.

Typing the following does not help.
# emerald --replace
 
compiz does not handle multiple monitors, as separate displays, seamlessly. Try:

[cmd=]DISPLAY=:0.0 emerald --replace &[/cmd]
[cmd=]DISPLAY=:0.1 emerald --replace &[/cmd]

Adam
 
adamk said:
compiz does not handle multiple monitors, as separate displays, seamlessly. Try:

[cmd=]DISPLAY=:0.0 emerald --replace &[/cmd]
[cmd=]DISPLAY=:0.1 emerald --replace &[/cmd]

Adam
Doh. I should have come back to this after doing something else. Instead I decided to do away with compiz as the only reason I used it in the first place was for equivalent winsplit/grid functionality. A bit crazy to have that teetering tower of complexity just for that function.

I had a bit of a google and eventually found quicktile.py. So now I can have gnome and all the rapid tiling ability of grid, without the reliability of compiz. I think I might make a howto for others. Thank you for your help though. Here is a howto for those in the same situation.
 
I'm having the same problem. I upgraded my ports to the latest with GNOME 2.32, and now neither gtk-window-decorator or emerald will stay running using my existing compiz configuration or a brand new one. When I run either decorator the window decorations appear for about half a second and then vanish as the decorator terminates. I can still alt-click to drag windows around and switch desktops with all the usual compiz effects, so it's definitely running. I'm not left with a core dump or anything to investigate, and I've tried re-building all of compiz.
 
The same problem after upgrade, emerald or gtk-windown-decorator crashes when windows decorations plugin is enabled in compiz manager. The stacktrace of crashed emerald is:
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 804e041c0 (LWP 100276)]
0x00000008013038e9 in gdk_draw_drawable () from /usr/local/lib/libgdk-x11-2.0.so.0
(gdb) bt
#0  0x00000008013038e9 in gdk_draw_drawable () from /usr/local/lib/libgdk-x11-2.0.so.0
#1  0x00000000004118dc in draw_window_decoration_real ()
#2  0x0000000000411bd6 in draw_window_decoration ()
#3  0x000000000040879c in draw_decor_list ()
#4  0x0000000803fe35f3 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#5  0x0000000803fe6f28 in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#6  0x0000000803fe7335 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
#7  0x0000000800eff576 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.0
#8  0x00000000004109aa in main ()
Looks like the problem with gtk-2.22.1_1 and compiz.
gtk, glib, all compiz and emerald were rebuilt.
Will dig further but need more experienced programmer support.
 
Back
Top