Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Positioning the screen with TwinView + 2 resolutions? [solv]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Tue May 10, 2005 9:49 am    Post subject: Positioning the screen with TwinView + 2 resolutions? [solv] Reply with quote

I am using TwinView now already for some time and I am quite happy with it. But there is one small thing that annoys me as it prevents me from using some WMs successfully. That problem is the position of my second screen. It has a lower resolution, and is therefore "smaller" than my main screen. I have a setup that looks a bit like this:

Code:
--------------------
|          |   2   |
|    1     |_______|
|          |
------------


Now, some WMs put things in the lower left corner of the screen (system tray, taskbar,...), which ends up being hidden because of this setup.
So I would like to have something like this:

Code:
------------
|          |________
|    1     |   2   |
|          |       |
--------------------


For a better example, look at the link in my current signature. If you look to the right part of the screen, you can see 2 things running. The chat transcript with the nick "aether" (fortune rocks ;)), and those squiggly signs which comes from root-tail. The reason they are located so far away from the bottom border is because that's only as far as I can see. Because of the above mentioned problem. If now some WM decides to display something below that line, I won't see it.

Back from my old days in windows (*ducks*), I remember being able to simply drag the screen around in a configuration dialog to achieve this.

The question:
Is there a possibility in xorg.conf that can accomplish that?

Here's my current xorg.conf. I took the liberty to grep away the comments and whitespace:

Code:
Section "Module"
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection
Section "Files"
    RgbPath   "/usr/lib/X11/rgb"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/CID"
    FontPath   "/usr/share/fonts/Speedo"
    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/cyrillic"
    FontPath   "/usr/share/fonts/encodings"
    FontPath   "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/local"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts/ttf-bitstream-vera"
    FontPath   "/usr/share/fonts/ukr"
    FontPath   "/usr/share/fonts/unifont"
    FontPath   "/usr/share/fonts/util"
    FontPath   "/usr/share/fonts/artwiz"
                        
    FontPath    "/usr/share/fonts/myFonts"
    FontPath    "/usr/share/fonts/ttfonts"
    FontPath    "/usr/share/fonts/ttf"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "itouch"
    Option "XkbLayout"   "gb"
EndSection
Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mice"
    Option      "Buttons" "12"
    Option      "ZAxisMapping" "11 12"
    Option      "Resolution" "800"
EndSection
Section "Monitor"
    Identifier  "moni0"
   ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 175.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 189.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 202.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 229.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   Modeline "1024x768@85" 100.94 1024 1056 1432 1464 768 782 793 807
   Modeline "800x600@85" 100.94 1024 1056 1432 1464 768 782 793 807
   Modeline "640x480@85" 100.94 1024 1056 1432 1464 768 782 793 807
EndSection
Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection
Section "Device"
    Identifier  "NVIDIA GeForce"
    Driver      "nvidia"
    Option "TwinView" "True"
    Option "TwinViewOrientation" "RightOf"
    Option "MetaModes" "1600x1200,1280x1024; 1600x1200,NULL; 1024x768,NULL; 800x600, NULL; 640x480, NULL"
    Option "SecondMonitorHorizSync"    "23.5-86.0"
    Option "SecondMonitorVertRefresh"    "50-120"
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "NVIDIA GeForce"
    Monitor     "moni0"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768""
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "IVM"
   ModelName   "IVM1910"
   ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
   ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
   ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
   ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
   ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
   ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
   ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
   ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
   ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
   ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
   ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
   ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
   ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
   ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
   ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
   ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
   ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
   ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
   ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
   ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync
   ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
   ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
   ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
   ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 175.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 189.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 202.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1600x1200" 229.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
   ModeLine "1792x1344" 204.8 1792 1920 2120 2448   1344 1345 1348 1394 -hsync +vsync
   ModeLine "1792x1344" 261.0 1792 1888 2104 2456   1344 1345 1348 1417 -hsync +vsync
   ModeLine "1856x1392" 218.3 1856 1952 2176 2528   1392 1393 1396 1439 -hsync +vsync
   ModeLine "1856x1392" 288.0 1856 1984 2208 2560   1392 1393 1396 1500 -hsync +vsync
   ModeLine "1920x1440" 234.0 1920 2048 2256 2600   1440 1441 1444 1500 -hsync +vsync
   ModeLine "1920x1440" 297.0 1920 2064 2288 2640   1440 1441 1444 1500 -hsync +vsync
   ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
   ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
   ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
   ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
   ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
   ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
   ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
   ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
   ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
   ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
   ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
   ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
   ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
   ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
   ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
   ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
   ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
   ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
   ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
   ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
   ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
   ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
   ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection


Just in case someone searches for "xinerama", I'll just jot it down here ;)
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949


Last edited by exhuma.twn on Mon May 16, 2005 12:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Mon May 16, 2005 12:42 pm    Post subject: Reply with quote

Solved! The MetaModes option takes a geometry-like parameter. Here's an example that solves my above problem.

Option "MetaModes" "1600x1200 +0+0,1280x1024 +1600+176"
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Mon May 23, 2005 10:38 am    Post subject: Reply with quote

Hmm.... this seems to trouble some applications... For example, kuickshow messes up the fullscreen... and so does mplayer.... omg.....
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Tue Jun 07, 2005 6:17 pm    Post subject: Reply with quote

exhuma.twn wrote:
Hmm.... this seems to trouble some applications... For example, kuickshow messes up the fullscreen... and so does mplayer.... omg.....


aha! This was th WM screwing up. Problems in Fluxbox, Waimea and Kahakai, but it works fine in KDE. The annoying bit, I got used to blender taking up my two screens, now it only takes up one :/ Seems I have to recompile that without xinerama supprt :roll:

Edit: just realised blender does not have a xinerama use flag :?
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
Tlaloc
Guru
Guru


Joined: 21 Feb 2005
Posts: 451
Location: Europe - Alps - Tyrol

PostPosted: Sat Jun 11, 2005 7:11 am    Post subject: Reply with quote

Do I understand you correctly that you want to have blender still take up both screens? In kde you can have that...
Right Click on desktop -> Configure Desktop -> Display -> Multiple Monitors -> Disable "Enable multiple monitor window maximize support"
Now if you maximize a window it will take up both screens.
If I got you wrong sorry for a useless post.

Bye, Valentin.
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Sat Jun 11, 2005 8:21 am    Post subject: Reply with quote

Seems to be what I want ;)
I have no access to my KDE just right now. I'll have a look as soon as I can :D
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
elwood73
n00b
n00b


Joined: 07 Jun 2004
Posts: 55

PostPosted: Mon Aug 22, 2005 1:09 am    Post subject: can this be done without Twinview? Reply with quote

Is there a solution to the original (different resolutions) problem for those of us who don't/can't use twinview? I'd like the "dead area" on my lower resolution monitor to be at the top (so I can see my taskbar on it)
Back to top
View user's profile Send private message
maagimies
n00b
n00b


Joined: 11 Aug 2005
Posts: 9
Location: Mikkola, Finland

PostPosted: Tue Aug 23, 2005 9:04 pm    Post subject: Reply with quote

Quote:
Is there a solution to the original (different resolutions) problem for those of us who don't/can't use twinview?

Yes
You probably have a line sort of like this in your xorg.conf
Code:
Screen      1  "Screen1" RightOf "Screen0"
Well, On my first monitor I use 1280x960, and on my second 1024x768
Well, 960 - 768 is 192, so...
Code:
Screen      1  "Screen1" Relative "Screen0" 1280 192
Use the Relative word, and specify the coordinates. :)
Back to top
View user's profile Send private message
elwood73
n00b
n00b


Joined: 07 Jun 2004
Posts: 55

PostPosted: Wed Aug 24, 2005 6:04 pm    Post subject: Thanks Reply with quote

Excellent, Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum