12.04, multi screen - Dialogs opening on the wrong screen

Kimble

I'm using Ubuntu 12.04 with a second screen. The laptop screen is where I do most of the work and the second screen is mostly for displaying documentation and things like that. That's why it's very annoying when dialogs appear on the external screen even though the program that triggered the dialog is displayed on the laptop screen.

Is it possible to fix this annoying behaviour? Ideally dialogs should be displayed on the same screen as their parent window, but an acceptable workaround would be to declare my laptop screen as the "primary" screen and show all new dialogs there.

desgua

You can set it with xrandr. The command is: xrandr --output <your output> --primary

To get what you will put at <your output> you can run just xrandr to show your options. See this example:

~$ xrandr
Screen 0: minimum 320 x 200, current 2880 x 1200, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
   1280x800       60.0*+
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
HDMI1 connected 1600x1200+1280+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200      60.0*+
   1280x1024      75.0     60.0
   1152x864       75.0
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
DP1 disconnected (normal left inverted right x axis y axis)  

He sets the HDMI1 as primary with this command: xrandr --output HDMI1 --primary

Reference: 1.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Recover Windows Opening Off Screen?

분류에서Dev

Ubuntu 14.04 multi touch screen support

분류에서Dev

Guest Windows XP screen has wrong aspect ratio

분류에서Dev

Creating a LiveTile Image - Looks Good On Screen - Looks Wrong As LiveTile

분류에서Dev

How can I stop Document Viewer from always opening full-screen?

분류에서Dev

Black screen instead of login screen

분류에서Dev

Select screen in detached screen session

분류에서Dev

On-screen keyboard for lock screen

분류에서Dev

Jquery ui dialog is opening multiple dialogs instead of one

분류에서Dev

How to let screen time out on sign in screen

분류에서Dev

"sudo screen"대 "screen-> sudo"

분류에서Dev

Ubuntu 18.10 - Issue with screen inactivity and lock screen

분류에서Dev

How to recover splash screen

분류에서Dev

Lubuntu enforces screen lock

분류에서Dev

Capture layout screen in Android

분류에서Dev

Screen capturing with Daum PotPlayer

분류에서Dev

Find out screen id

분류에서Dev

Find out screen id

분류에서Dev

Purple screen on boot, iMac

분류에서Dev

Scrolling with a touch screen

분류에서Dev

Why do not the brightness of the screen?

분류에서Dev

Splash screen with progress bar

분류에서Dev

black screen after logout

분류에서Dev

Windows powershell screen equivalent

분류에서Dev

clear screen of cmd with java?

분류에서Dev

Full screen in virtualbox

분류에서Dev

Pygame screen flickering

분류에서Dev

Webpage Discrepancies with Screen Size

분류에서Dev

start screen in python