Easiest thing is to install "arandr", set your monitors and save it as a 
script. Stumpwm works out of the box.

The modeline font-size is simply controlled within .stumpwmrc

I use:

(set-font "-misc-fixed-medium-r-semicondensed-*-*-*-*-*-*-*-*-*")

Currently running stumpwm which extends across monitor and laptop (Dell XPS 13).

HDMI1 Monitor: 1680x1050
eDP1 Laptop: 1920x1080 (can go up to 3200x1800)

>From "arandr" I have the following scripts saved to switch between laptop only 
>or dual monitors.

~/.screenlayout/one.sh

#!/bin/sh
xrandr --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 
1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off

~/.screenlayout/two.sh

#!/bin/sh
xrandr --output HDMI1 --primary --mode 1680x1050 --pos 0x0 --rotate normal 
--output DP1 --off --output eDP1 --mode 1920x1080 --pos 1680x0 --rotate normal 
--output VIRTUAL1 --off


David Bjergaard <dbjerga...@gmail.com> writes:

> Hi Nico,
>
> This is separate from stumpwm really.  I don't know of any hard limit in clx
> that prevents high dpi displays.  I think at high dpi, the modeline might get
> quite small, but beyond that, stumpwm should "just work".  Are you having
> issues?  If you increase the font size of the mode-line the actual size should
> increase automatically.  There are also ways of changing the width manually. 
> Our
> fine manual is here: http://stumpwm.github.io/documentation.html
>
> Cheers,
>
>     David
>
>
> Nicolas Petton <nico...@petton.fr> writes:
>
>> Hi,
>>
>> I was wondering if Stumpwm (or X11) has support for high-DPI displays?
>> If so, can it handle mutliple displays, some being High-DPI (laptop
>> screen), and some not (external monitor), with some kind of scaling
>> maybe?
>>
>> Nico
>
> _______________________________________________
> Stumpwm-devel mailing list
> Stumpwm-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

--
Tom Herbert

CISSN CYQ-CPT

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to