Re: [dev] dwm-5.6 issues on openbsd 4.5

From: Donald Allen <donaldcallen_AT_gmail.com>
Date: Mon, 20 Jul 2009 11:44:52 -0400

On Mon, Jul 20, 2009 at 11:27 AM, Anselm R Garbe<garbeam_AT_gmail.com> wrote:
> 2009/7/20 Donald Allen <donaldcallen_AT_gmail.com>:
>> On Mon, Jul 20, 2009 at 10:56 AM, Anselm R Garbe<garbeam_AT_gmail.com> wrote:
>>> 2009/7/20 Anselm R Garbe <garbeam_AT_gmail.com>:
>>>> 2009/7/20 Donald Allen <donaldcallen_AT_gmail.com>:
>>>>> I installed dwm 5.4.1 from the openbsd package on my Thinkpad X61
>>>>> running openbsd 4.5 (amd64). Works fine, no issues, other than
>>>>> attempts to pipe the date into stdin not working (I think how to use
>>>>> the read-from-stdin facility to display stuff needs to be explained
>>>>> more fully in the documentation).
>>>>>
>>>>> I then downloaded the 5.6 tar file, compiled it, and changed my
>>>>> .xinitrc to point to the resulting dwm executable. I'm running it as I
>>>>> type this. Unlike 5.4.1, left-clicking labels has no effect, other
>>>>> than to blue-highlight the clicked label. To move to displaying the
>>>>> windows associated with, say, label 9, I have to use the keyboard
>>>>> (alt-9). Also, clicking the layout label causes it to toggle between
>>>>> indicating tiled and floating, but no change in the layout occurs;
>>>>> again, this must be accomplished with the keyboard. At least in my
>>>>> particular environment, use of the mouse to change tag or layout is
>>>>> broken in 5.6.
>>>>>
>>>>> My usage of dwm is pretty simple. I start X with startx, and my
>>>>> .xinitrc simply invokes dwm. I then start an xterm and run the
>>>>> applications I want, backgrounding them with the shell.
>>>>>
>>>>> As I said, 5.4.1 works fine, but it looks to me like something got
>>>>> broken subsequent to that version.
>>>>
>>>> What's your output of xrandr ?
>>>
>>> Ah and does disabling the XINERAMA build flags make any difference in
>>> your setup?
>>
>> Disabling the xinerama build flags appears to fix the problems (I say
>> "appears" because I haven't tested it extensively, but I'm running it
>> now, and the symptoms I described are gone). Thanks for the help.
>
> Ok, but would you mind sharing the output of xrandr? I've got the
> suspect that dwm creates two overlapping monitors in your setup, if
> compiled with xinerama support.

Ah, I forgot to tell you something about my configuration, which I now
suspect is important. The X61 is sitting in its little docking station
and I've got an external monitor plugged into that, via a kvm (usb
keyboard and mouse, too, also via the kvm). So there are two monitors
involved -- the laptop's and the external one.

Here's the output of xrandr with 5.6 running, no xinerama:

Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440
VGA connected 1440x900+0+0 (normal left inverted right x axis y axis)
410mm x 257mm
   1440x900_AT_60 60.2*+
   1440x900 59.9 + 75.0 60.0
   1400x1050 60.0
   1280x1024 75.0 72.0 70.0 60.0
   1280x960 60.0
   1152x864 75.0 75.0
   1280x720 60.0
   1024x768 75.1 75.0 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 75.0 72.8 72.8 75.0 66.0 60.0 59.9
   720x400 70.1
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis)
246mm x 185mm
   1024x768 50.0*+ 60.0 40.0
   800x600 60.3 56.2
   640x480 60.0 59.9

Same, with xinerama enabled:

Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440
VGA connected 1440x900+0+0 (normal left inverted right x axis y axis)
410mm x 257mm
   1440x900_AT_60 60.2*+
   1440x900 59.9 + 75.0 60.0
   1400x1050 60.0
   1280x1024 75.0 72.0 70.0 60.0
   1280x960 60.0
   1152x864 75.0 75.0
   1280x720 60.0
   1024x768 75.1 75.0 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   640x480 75.0 72.8 72.8 75.0 66.0 60.0 59.9
   720x400 70.1
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis)
246mm x 185mm
   1024x768 50.0*+ 60.0 40.0
   800x600 60.3 56.2
   640x480 60.0 59.9

/Don

>
> Kind regards,
> Anselm
>
>
Received on Mon Jul 20 2009 - 15:44:52 UTC

This archive was generated by hypermail 2.2.0 : Mon Jul 20 2009 - 15:48:01 UTC