You are not logged in.
Pages: 1
Currently, when I plug a monitor into my laptop, I need to restart my window manager (dwm).
I have disabled hot-plugging because it does not work with my system.
Is there a command I can run to setup the plugged in monitor and project the screen to my monitor without restarting X? Or does this depending on the window manager?
I have no idea where to start. Anything would help.
Thanks
Last edited by rWarrior (2010-01-23 03:33:55)
Offline
It might depend on what graphics card manufacturer and drivers you are using. I'm using an nvidia card with the nvidia drivers, and have a program; nvidia-settings where I can detect and configure screens/resolution without restarting X. Generally, you are probably interested in twinview and xinerama as search words.
I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.
Offline
Doesn't xrandr do that? Or graphical version - arandr?
Offline
I agree, usually something like xrandr --auto should do it. See man xrandr for more info.
Last edited by hampusw (2010-01-22 18:22:48)
Offline
xrandr does the job beautifully.
Thanks guy.
Offline
Pages: 1