FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 06-06-2008, 08:09 AM
"after nine"
 
Default How to exchange primary and secondary display?

Hi!

I'm running Kubuntu gutsy (7.10) 64bit on DELL optiplex 755 with onboard intel
graphics. Since it has a dual head capability, I succesfully enabled the
desktop across 2 monitors by editing xorg.conf and using xrandr:

- a 21" Samsung 213T working at 1600x1200, placed in centre (in front of user)

- a 15" Dell working at 1024x786, placed on the right of the other bigger
monitor

My desktop is of combined virutal size of 2624x1200 and is correctly stretched
across both monitors.

To make this happen I have to do this in a konsole:

xrandr --output TMDS-1 --mode "1600x1200"

xrandr --output TMDS-1 --left-of VGA

However, the primary display is set on the smaller monitor (placed on the
side) , and the bigger in front (centre) is considered secondary.

The taskbar panel is put on the primary display (on the righthand side) , the
destop icons are placed on the bigger monitor.

Is there a way the change which monitor is considered primary and which is
secondary, so the taskbar panel is put on the central (bigger) monitor and the
"K" (start) button comes to lower left corner, as everyone would expect it to
be there. It is a real PITA, since we are all used to have the taskbar panel on
the central monitor and not finding it there is really stressfull. The taskbar
on the smaller monitor is also much shorter, so less tasks fit on it.

Is there a way to swhitch the primary and secondary display?

Below are the outputs from lspci, xrandr and my xorg.conf file.

Thanx in advance

p.s. If my explanation is not clear enough I can attach a screenshot, which
will make it clear at first look.

#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 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 "Files"
EndSection

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

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


Section "Device"
Identifier "Intel Corporation Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection

Section "Device"
Identifier "Intel DVI"
Driver "intel"
BusID "PCI:0:2:1"
EndSection


Section "Monitor"
Identifier "Dell E151FPp"
Option "DPMS"
EndSection


Section "Monitor"
Identifier "SyncMaster"
Modelname "Custom 1"
Option "DPMS"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -
hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync
+vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync
+vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -
hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync
+vsync
Gamma 1.0
EndSection


Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Integrated Graphics Controller"
Monitor "Dell E151FPp"
DefaultDepth 24
SubSection "Display"
Modes "1024x768" "800x600" "640x480"
Virtual 2624 1200
EndSubSection
EndSection


Section "Screen"
Identifier "ScreenSamsung"
Device "Intel DVI"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Modes "1600x1200@60"
Virtual 2624 1200
EndSubSection
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Screen "ScreenSamsung"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

EndSection




This is what xrandr says:

alex@alex:~$ xrandr
Screen 0: minimum 320 x 200, current 2624 x 1200, maximum 2624 x 1200
VGA connected 1024x768+1600+0 (normal left inverted right) 304mm x 228mm
1024x768 60.0*+ 75.1 60.0*
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
TMDS-1 connected 1600x1200+0+0 (normal left inverted right) 432mm x 324mm
1600x1200 60.0*+ 59.9
1280x1024 75.0 59.9
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
alex@alex:~$




This is what my lspci says:

alex@alex:~$ lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated
Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated
Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI
Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev
02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT
Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network
Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1
(rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port
SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE
Controller (rev 02)
alex@alex:~$




____________________
http://www.email.si/


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 06-06-2008, 08:28 AM
"Phil Bieber"
 
Default How to exchange primary and secondary display?

On Fri, Jun 6, 2008 at 10:09 AM, after nine <afternine@email.si> wrote:
> Hi!
<--snip-->
> xrandr --output TMDS-1 --mode "1600x1200"
>
> xrandr --output TMDS-1 --left-of VGA
<--snip-->
Hi!
I've not used XRANDR, but I would assoume, that you have to set the
secondary monitor (,too?).
What I mean is, define the other monitor as --right-of VGA....
Perhaps that works, but as I said, I've not used anything in that
direction and I only have a built in notebook display

Cheers anyhow!

Phil Bieber
--
Avoid rape - say yes!

Warnings from the manual for Layer Express v2 (an AutoCAD extension):
Written on Page 12 (Blank page separating Ch. 1 & 2):
To reduce the risk of shock,
Do not remove the cover of this book.
No serviceable components inside.

GPG KEY ID (Philipp Bieber): 0x0185E301
FINGERPRINT: CA81 28C2 E63F DAF8 5ED4 DACB 7C26 EE5B 0185 E301
Phil Bieber - philbieber@gmail.com

GPG KEY ID (Philipp Bieber Work): 0x3E43576A
FINGERPRINT: F043 92A1 2A2C 5256 52A9 DECB A39F B04C 3E43 576A
Philipp Bieber - philipp.bieber@gundlach.de

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 06-06-2008, 05:45 PM
"Jonas Norlander"
 
Default How to exchange primary and secondary display?

2008/6/6 after nine <afternine@email.si>:
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "ScreenSamsung"
> Screen "Default Screen"
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
>
> EndSection
>

Hi!

I don't know haw to do it with xrandr but in your ServerLayout i
missing which and how the monitors are related to each other. It
should look something like this.

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "MSComfortCurveKeybord2000" "CoreKeyboard"
InputDevice "MSIntelliMouseOptical" "CorePointer"
InputDevice "MSWirelessLaserMouse5000" "SendCoreEvents"
EndSection

/ Jonas

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org