Ask Your Question
0

fc18 - disable notebook screen when external screen is plugged in

asked 2013-01-24 10:30:17 -0500

jeffunit gravatar image

updated 2013-01-24 22:20:13 -0500

Every time I boot my notebook, the screens come up in 'span' mode. This makes many windows pop up on my notebook screen which is generally inaccessable. What I do, is start up the monitor configuration applet, and then disable the notebook screen. This is difficult, as my notebook is in a rack.

What I would like, it to automatically disable the notebook screen whenever an external screen is plugged in. I would like this to happen before the login prompt.

I am using the lxde spin of fedora 18, 32 bit. How do I do this?

Although I can write code, the first 2 solutions seem needlessly complex. How about a way to start the external screen in clone mode, rather than span mode. This would need to happen before login, as I can't even see the login username screen on my external monitor. At least that way, I will be able to see what is being displayed without physically going to my notebook computer.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-24 15:55:57 -0500

I did a quick search, and there are some good ideas found at http://stackoverflow.com/questions/5469828/how-to-create-a-callback-for-monitor-plugged-on-an-intel-graphics that should get you started.

For Fedora, you might consider writing a systemd unit to handle monitoring and polling, or writing a udev rule, or some combination thereof.

Unfortunately, it doesn't seem like this use case is accommodated by the display configuration tool. You might consider filing an RFE - Request for Enhancement - bug against the package.

edit flag offensive delete link more
0

answered 2013-01-24 14:46:45 -0500

ThomasMcA gravatar image

You may be able to do that by creating a custom service that runs an xrandr command.

The command man chkconfig explains how to create a service.

The command xrandr will show your connected video devices, their names, and the supported video devices.

The xrandr command might be something like this: xrandr --output CRT2 --mode 1680x1050

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-01-24 10:30:17 -0500

Seen: 1,488 times

Last updated: Jan 24 '13