19

I have a Lenovo Thinkpad T420 with Linux Mint 12 and gnome-shell on it. Its a Intel HD 3000 Graphics card in there.

When I'm at home, I have another Screen plugged in (19" 4:3) and everything works fine (Extended Desktop), except that I would like to have the Gnome 3 Bars + Shell on the right screen. Can't figure out how to do it.

Thanks in advance

Jan Schmidt
  • 193
  • 1
  • 1
  • 4

5 Answers5

22

Open the System Settings > Displays control applet. It's not evident - at all - but you can drag the miniature of the top black panel onto the display you want to mark as primary. Panels, activity overlay and everything will migrate on that display.

Elia
  • 236
  • 1
  • 2
11

The other answers are better for most cases, but I'm adding this here for completion's sake:

# shows all displays
$ xrandr
# set one of the displays to primary
$ xrandr --output <display> --primary

This method is better if you're docking or attaching your laptop to different / multiple monitors because it adjusts it on the fly. It's also a command line alternative to Elia's answer.

wting
  • 343
  • 2
  • 9
4

Just in case if Elia's answer doesn't work for you: you can open Settings->Displays, then select the display where the bar shouldn't be displayed and toggle it off. Panels, activity etc will migrate to the active monitor. Then you can switch on the second monitor again.

Also, take a look at this bug: "Primary Screen" selection UI is not easily discoverable.

plain_text
  • 61
  • 6
4

The bars/shell are displayed on the primary monitor. You can configure which is the primary monitor through ~/.config/monitors.xml. Change the primary configuration item to yes for the monitor you want to become the primary monitor, and to no for the others.

Chris Down
  • 122,090
  • 24
  • 265
  • 262
0

This gentleman's link was very helpful

Has a great answer: Anyway, now you have your resolution set to whatever you need it to be. You’ll need to copy the settings file, which is located at ~/.config/monitors.xml.

That file contains your display settings. In order to proceed further, you’re going to need access to root. I’m going to assume that you’ll achieve this access with sudo. Open up a new terminal and enter the following:

sudo cp .config/monitors.xml /var/lib/gdm/.config/
sudo mkdir /etc/skel/.config
sudo cp .config/monitors.xml /etc/skel/.config/

The first line copies it over to GDM’s configuration so that GDM will display at the correct resolution. The second line creates a .config directory in your /etc/skel, and then on the third line we make another copy of your monitors.xml file into the /etc/skel/.config so that when you create new accounts, they will automatically be set up with the monitors config, thus making a seamless transition for everyone.

You should also copy that file into any existing users if they aren’t properly configured already. Never again will you have to worry about a low resolution on your high resolution display.

TPS
  • 2,483
  • 5
  • 27
  • 45