Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows > [SOLVED] Twinview, gnome and compiz

Forgot Password?
 Linux Desktop / X-Windows   Anything X. Gnome, KDE, remote desktop's, XGames etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 03-07-2009   #1 (permalink)
Linux Engineer
 
elija's Avatar
 
Join Date: Jul 2004
Location: Either at home or at work or down the pub
Posts: 1,239
[SOLVED] Twinview, gnome and compiz

I am running two monitors in a twinview configuration. Yesterday (and before) this was running absolutely perfectly.

Screen resolution = 3360 x 1050
Windows draggable between monitors
Windows maximized across both monitors
Gnome panel spanned both monitors
Compiz effects spanned both monitors (Desktop cube etc)

Then I shutdown as normal last night and this morning I find that

Screen resolution = 3360 x 1050
Windows draggable between monitors
Windows maximized on an individual monitor
Gnome panel is only on one monitor
Compiz effects show on each monitor. So for example I get two cubes.

I have tried disabling twinview, enabling Xinerama, switching to and from separate X screens, each with a restart of X as and when requested.

How do I get back to what I had yesterday?

This is my xorg.conf
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Thu Jun  5 09:26:53 UTC 2008

# xorg.conf (X.Org 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 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      0  "Screen0" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
    Option         "Xinerama" "0"
EndSection

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

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG L225W"
    HorizSync       28.0 - 83.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: 1680x1050 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: 1680x1050 +0+0"
EndSection
__________________
"Sometimes free software isn't free and sometimes free software isn't free. Sometimes it's both free and free and sometimes it's neither free nor free!

Why is this so hard to explain"


The Fifth Continent
elija is offline  



Old 03-07-2009   #2 (permalink)
Linux Engineer
 
elija's Avatar
 
Join Date: Jul 2004
Location: Either at home or at work or down the pub
Posts: 1,239
Got It!

I stopped trying to use the configuration tool and added two simple lines into my xorg.conf. OIne quick Ctrl + Alt + Backspace later and all is well

Code:
Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: 1680x1050 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: 1680x1050 +0+0"
EndSection
becomes

Code:
Section "Screen"

# Removed Option "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1440x900_60 +0+0, DFP: NULL; CRT: 1440x900_60_0 +0+0, DFP: NULL; CRT: 1400x1050 +0+0, DFP: NULL; CRT: 1280x1024 +0+0, DFP: NULL; CRT: 1280x1024_60 +0+0, DFP: NULL; CRT: 1280x960 +0+0, DFP: NULL; CRT: 1280x800 +0+0, DFP: NULL; CRT: 1280x768 +0+0, DFP: NULL; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 1024x768_70 +0+0, DFP: NULL; CRT: 1024x768_60 +0+0, DFP: NULL; CRT: 832x624 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL; CRT: 800x600_72 +0+0, DFP: NULL"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: 1680x1050 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "Xinerama" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "NoTwinViewXineramaInfo"     "True"
    Option         "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: 1680x1050 +0+0"
EndSection
You truly haven't seen funky until you see the desktop cube spanning multiple monitors at a ridiculous resolution.
__________________
"Sometimes free software isn't free and sometimes free software isn't free. Sometimes it's both free and free and sometimes it's neither free nor free!

Why is this so hard to explain"


The Fifth Continent
elija is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:18 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1