Re: [dev] [dwm] multiple monitors, default window placement

From: Martin Kopta <martin_AT_kopta.eu>
Date: Tue, 20 Aug 2013 11:32:10 +0200

On Fri, Aug 02, 2013 at 10:15:43PM +0200, Anselm R Garbe wrote:
> Hi Martin,
>
> On 29 July 2013 09:50, Martin Kopta <martin_AT_kopta.eu> wrote:
> > On Wed, Jul 03, 2013 at 06:59:34PM +0200, Anselm R Garbe wrote:
> >> Do you experience this with vanilla dwm from git? If not, then it
> >> might help to see your rules declaration of config.h.
> >
> > Yes, I use newest vanilla dwm from git without any patches. My rules are empty:
> >
> > static const Rule rules[] = { { 0 } };
> >
> > Full config.h at pastebin [1]. Thank you for your time!
>
> This looks fine. Please also let me know if you use classic multiheads
> or Xinerama, and if the latter one, let me know the xrandr output.
>
> Best regards,
> Anselm

I use xrandr to make my setup. My current output of xrandr is:

Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768 60.0*+
   1024x768 60.0
   800x600 60.3 56.2
   640x480 59.9
VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080 60.0*+
   1600x1200 60.0
   1680x1050 60.0
   1280x1024 75.0 60.0
   1440x900 75.0 59.9
   1280x960 60.0
   1280x800 59.8
   1152x864 75.0
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Used command is:
static const char *mon3[] = { "xrandr", "--output", "LVDS1", "--auto", "--left-of", "VGA1", "--output", "VGA1", "--auto", NULL };
        { MODKEY, XK_F3, spawn, {.v = mon3 } },

Currently, my primary output is LVDS1. If I move my mouse to VGA1 screen and
even ensure by MOD+. (twice) it is actually selected and create new windows
(st), it is created on LVDS1 instead of VGA1. Of course, I can change my
primary output from LVDS1 to VGA1 using xrandr --primary, but then I have the
opposite problem in some cases.

Best regards,
  Martin Kopta
Received on Tue Aug 20 2013 - 11:32:10 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 20 2013 - 11:36:05 CEST