LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2007, 10:17 AM   #1
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Rep: Reputation: 30
dual head with two workspaces possible?


I am looking to find out if it would be possible to run a dual head setup with a workspace for each screen, instead of one large workspace.

Environment:
Dell Latitude D630
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
1280x1024 external DVI monitor
1440x900 display on the laptop
Xubuntu 7.10 / Gutsy
Xfce 4.4.1

I am currently using one video card, one screen with xorg.conf and using xrandr with 1.2 extensions to add the second screen. My xorg:

Code:
...
Section "Device"
        Identifier      "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
        Driver          "intel"
        BusID           "PCI:0:2:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        Option          "DPI"   "96 x 96"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1440x900"
                Virtual 2048 2048
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection
Is something like this possible?

If so it would give so much better multiple monitor support (like windows and popup dialogs always opening in the same screen because it is contained in a workspace).
 
Old 10-11-2007, 10:42 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Sounds like you need to run multiple sessions of X. Each user logs in to a different X session.

User 1 uses the command: startx
User 2 uses the command: startx -- :1 to start X in the second session.

Read more here: http://gd.tuwien.ac.at/opsys/linux/L...-multiple.html

Or point your browser at www.google.com/linux, and search for "multiple x sessions" for more reading.
 
Old 10-11-2007, 01:16 PM   #3
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
I do not want multiple x-sessions, but rather have a different workspace for each screen.
 
Old 10-11-2007, 01:41 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The alternative to multi-session X is multi-head display. Google turns up a wealth of information on how to setup multi-head display.
 
Old 10-11-2007, 01:55 PM   #5
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
Yes, but none that I can find addresses having a workspace dedicated to each screen instead of one large workspace on a virtual x-display
 
Old 10-11-2007, 01:56 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Sounds to me like you are looking for Twinview or Xinerama. The differences are somewhat trivial, and you can read about them in either 'man xorg.conf' or <your video driver docs> or Googling each one. I have used each mode about the same amount of time, and found little or no difference between them.

I currently use KDE/Slackware. I'm pretty sure but not certain that Xfce, if that's what you're using, offers similar control as KDE for making applications or windows/boxes open on a specific screen and so you may need to check into that for yourself or otherwise tell some applications somehow where to open.
With KDE, I use the menu from clicking the top left corner icon in a window and selecting 'application or window advanced properties..'

Here's a sample of (the important parts of) what you'll need for Twinview (which I'm currently using) that you could reference or change to suit your devices and stuff. The not-included sections are usually the same/generic, and it provides 'two desktops', one on each screen, which you can traverse with the mouse, or drag windows across, and Maximize/minimize applications on each screen separately.. Exact functions depend a bit on Xcfe compared to KDE..
Code:
...
Section "ServerFlags"
    Option "TwinView" "1"
EndSection
...
Section "ServerLayout" # KDS0 & IBM0, IBM1
Identifier    "computer"
Screen 0      "Screen0" 0 0
InputDevice   "Mouse0"    "CorePointer"
InputDevice   "Keyboard0" "CoreKeyboard"
EndSection
...
   Section    "Device"
   Identifier "nVidia1"
   Driver     "nvidia"
   VendorName "eVGA Corp."
   BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
   BusID      "PCI:01:00:0"
   Option     "TwinView" "1"
   Screen 0
   EndSection
...
 Section    "Device" #Connector: IBM0
 Identifier "nVidia0"
 Driver     "nvidia"
 VendorName "eVGA Corp."
 BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
 BusID      "PCI:01:00:0"
 Option     "TwinView" "1"
 Screen 1
 EndSection
...
Section    "Screen"
Identifier "Screen0"
Device     "nVidia1"
Monitor    "KDS0"
DefaultDepth 16
Option     "RenderAccel" "On"
Option     "HWcursor" "On"
Option     "DamageEvents" "True"
Option     "ConnectedMonitor" "CRT-0,CRT-1"
Option     "twinVieworientation" "CRT-1 Rightof CRT-0"
Option     "metamodes" "CRT-0:1600x1200,CRT-1:1280x1024 @ 1600x1200"
EndSection
..and you'd need Monitor sections too, for each monitor, but you probably already have those.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Dual-Dual-Head Video cards. TheFarLeft Linux - Hardware 2 06-29-2007 05:43 PM
Dual-head with X: Second (VIA) Head Dead Dria Linux - Hardware 2 11-26-2006 10:55 AM
dual head but no dual mouse?, Fedora 3 slidgey Linux - Hardware 3 05-23-2006 03:24 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-04-2004 11:23 PM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration