|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Laptop Questions about laptop hardware and laptop specific software (power management ) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm looking for suggestions on using openSUSE on my laptop. I work in an office and use an external monitor and my laptop screen 90% of the time. Usually about 3 - 4 times a day I have to take my laptop to go to a meeting. So, I unplug the monitor and off I go.
With linux, my system does not recognize that I have unplugged this extra monitor. The results are that anything I had on that extra monitor stay on that extra monitor, even though it's not there. Plus, I can mouse to the left and be controlling dead space. Is there anyway to get linux to auto-detect that I have unplugged my external monitor and move all windows back to the laptop screen? BTW, I have NVIDIA GeForce 9400M. Thanks! |
|
|||
|
If you don't mind a simple manual approach, then consider using xrandr. I guess you could create a simple script with the required xrandr command. Then make that exectuable, and link it to an icon, so that clicking on it, executes it.
To get a list of display devices xrandr -q Based on the external display name (VGA for example), it should be able to issue a command like xrandr --output VGA --off This reference may be useful to you. |
|
||||
|
Quote:
Back in 2007, only the open source Intel, Radeon, and nv drivers supported XRandR-1.2; neither the ATI nor the nVidia proproprietary drivers supported. Its now two years later and I'm curious as to its state. Do the proprietary drivers now support it? 3 months ago I did with with dual-head mode under sax2, which I made a note of here: Using external display and slide projector - openSUSE Forums I have two days of meetings coming up in 5 weeks, with lots of presentations and myself having to coordinate/support most of it. Hence I'm keen to find out fairly soon as to the best approach for me to adopt. I'll probably have to take the laptop into work next week, and start playing around with a projector with it. I like the xrandr approach, and I'm curious to see if it works with the proprietary fglrx driver. |
|
|||
|
Quote:
|
|
|||
|
Away from my laptop at the moment, but will report back later.
|
|
||||
|
Quote:
The projector(s) are at work, so I need to take my laptop into the office. But I just typed "xrandr -q" and I obtained: Code:
oldcpu@dell:~> xrandr -q Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440 LCD connected 1440x900+0+0 (normal left inverted right x axis y axis) 331mm x 207mm 1440x900 60.0*+ 1152x864 60.0 + 1280x768 60.0 + 1280x720 60.0 + 1024x768 60.0 + 800x600 60.0 + 720x480 60.0 + 640x480 60.0 + 640x400 60.0 + 512x384 60.0 + 400x300 60.0 + 320x240 60.0 + 320x200 60.0 + DFP_EXTTMDS disconnected (normal left inverted right x axis y axis) CRT1 disconnected (normal left inverted right x axis y axis) Code:
oldcpu@dell:~> aticonfig --query-monitor Error: option --query-monitor is not supported when RandR 1.2 is enabled! I'm hoping later this week, when I take the laptop to the office, that I can plug in the projector's VGA cable to the laptop, type: xrandr -qto confirm the VGA input of the projector is observed on "CRT1", and then hopefully only have to type: xrandr --output CRT1 --autoto enable the external output to the projector and xrandr --output CRT1 --offjust before I remove the VGA connector to the external projector. |
|
|||
|
Interested to see what results you get with xrandr oldcpu. You are clearly using newer hardware and drivers.
Quote:
The driver packages (openSUSE 11.0) are ati-fglrxG01-kmp-pae-8.593_2.6.25.20_0.5.1-14.1 x11-video-fglrxG01-8.593-14.1 Anyway, I have been using the Catalyst Control Centre (launched via 'amdcccle' command) to configure the second display. With this, my external display can be setup dynamically as a clone (default) or as part of a 'Big Desktop'. (BTW, I'm using KDE4, and it seems to work ok with these configurations). |
|
||||
|
Quote:
Quote:
Some old wiki, needing updating as of openSUSE-11.2:I suspect there are more graphic related wiki needing update |
|
|||
|
I agree with you oldcpu.
Quote:
|
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|