You are not logged in.
Pages: 1
I've been using a normal, 24 inch, 1920x1080 monitor, and recently was given an older 1024x768 monitor. I plugged it in and followed some directions online about how to set up a second monitor using xrandr. I was able to make the second monitor work by entering the following:
xrandr --newmode "1024x768" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
xrandr --addmode DP2 1024x768
xrandr --auto --output DP2 --mode 1024x768 --left-of VGA1
as you can tell, my main monitor is VGA1 and my second is DP2.
this works fine, except for this happens:
http://imgur.com/3TlJgQG
and when i disable the monitor, this happens:
http://imgur.com/iLRs7II
can someone help me fix this?
Offline
By the way, the screenshots are both of my main monitor
Offline
Interesting.
You should probably tell us which video cards and chipsets you are using.
Are you using a single card with multiple heads, or multiple cards?
Which drivers are you using?
What desktop environment are you using ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Interesting.
You should probably tell us which video cards and chipsets you are using.
Are you using a single card with multiple heads, or multiple cards?
Which drivers are you using?
What desktop environment are you using ?
I am using integrated intel graphics (no cards at all), so I would assume it is more similar to a card with multiple heads.
I am using openbox as my WM.
thanks
Offline
Did you restart X with the updated settings?
Offline
Did you restart X with the updated settings?
yes, multiple times, and I also hard rebooted a few times as well.
Offline
Please paste your conf where you enable those settings (xorg or xinitrc).
Offline
Please paste your conf where you enable those settings (xorg or xinitrc).
I am currently running with an empty xorg.conf and the screenshots were taken while xorg.conf was empty too. I tried a few edits in the middle, but failed to make it better
Offline
jasonwryan wrote:Please paste your conf where you enable those settings (xorg or xinitrc).
I am currently running with an empty xorg.conf and the screenshots were taken while xorg.conf was empty too. I tried a few edits in the middle, but failed to make it better
sorry, here is my .xinitrc too
#!/bin/bash
export DE=openbox
# Dbus fix
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
/usr/bin/xdg-user-dirs-update
/usr/bin/openbox-session > ~/.openbox_startup.log 2>&1
Offline
You can edit your post rather than creating another for a simple edit.
My point above was that you need to restart X with the new settings (either in xorg or in your xinitrc).
Something like:
# setup external monitor
external=$(xrandr -q | awk '/HDMI2/ {print $2}')
if [ "$external" = "connected" ]; then
xrandr --output LVDS1 --off
xrandr --output HDMI2 --mode 1920x1080
fiOffline
You can edit your post rather than creating another for a simple edit.
My point above was that you need to restart X with the new settings (either in xorg or in your xinitrc).
Something like:
# setup external monitor external=$(xrandr -q | awk '/HDMI2/ {print $2}') if [ "$external" = "connected" ]; then xrandr --output LVDS1 --off xrandr --output HDMI2 --mode 1920x1080 fi
My issue is that I dont know what to put into this file. When I leave it blank, I get
http://imgur.com/iLRs7II
and when i manually run the xrandr commands, i get
http://imgur.com/3TlJgQG
that first image has somehow become the default on my system, I'm not sure how or what file/setting will revert it though. I even get it when I reboot with the second monitor unplugged. It doesnt affect the usage of the computer per se, but I would like to have my wallpaper fixed, and conky on the right hand side of the larger, main monitor
Offline
Use `xrandr -q` to get the details of both displays. Then, reset your original display (`man xrandr`).
The wiki page on xorg will give you the details.
Offline
Undo what you did, then try to configure it using arandr (in [community]). If that works, take a look at the output of "unxrandr" (also in the arandr package) and compare it to your previous command.
If that doesn't work, well, smurf it.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Use `xrandr -q` to get the details of both displays. Then, reset your original display (`man xrandr`).
The wiki page on xorg will give you the details.
xrandr -s 0 and xrandr -s 1920x1080 both dont do anything.
note: here is the output of xrandr -q http://pastebin.com/SfLrhiv0
Offline
Undo what you did, then try to configure it using arandr (in [community]). If that works, take a look at the output of "unxrandr" (also in the arandr package) and compare it to your previous command.
If that doesn't work, well, smurf it.
I tried to use axrandr as well. no change to the weirdness
Offline
Please read the suggestions (and the man page) that I posted. You will need the --output option to specify the display you want to work with.
Offline
Pages: 1