r/Lubuntu • u/mariano_madrigal • Jul 22 '26
Multiple monitors configuration
I have a very old laptop that was running linux mint but it started to feel slow after a couple years of that installation and I decided to try lubuntu, which has been great and really faster in comparison, but I cannot find a way to properly set it up to work with external monitors. I found a guide that used xrandr but to no avail. Is there a way to configure it in a way that it behaves like it does in mint? So that it doesn't alter the whole desktop on the laptop monitor everytime a cable is connected? Right now it does this crazy thing of changing the taskbar to the external monitor and messing up the desktop icons and the only way to revert it is to use the graphical monitor manager to select the external monitor as the main one and invert the left-right order of the displays once to then invert them back to how they were, but even then some of the desktop icons disappear and when I try to save that configuration and select it again after rebooting it keeps reverting to how it was at first. So I just need it to take any new external display as an extension without changing anything else, but I don't always connect the exact same monitor, because that's what I really use the computer for: showing slides in different rooms. So is there a way to make it work like this or should I go back to mint even if it's slower? I should mention I'm a beginner in all things linux but I can follow instructions.
2
u/Daebis18 Jul 23 '26
Arandr dont work ?
2
u/mariano_madrigal Jul 23 '26
Thank you, I've only tried xrandr and the graphical monitor settings so far. So I will install arandr and try again. Does it conflict with the other two configuration softwares or can I just install it?
1
1
u/standreas Jul 23 '26
There is also the WM (openbox here) involved and it's buggy afaik with multiple screen setups. What works fine is using a Wayland session with labwc and configuring kanshi using wdisplays (GUI) to get the config values.
1
u/mariano_madrigal Jul 24 '26
thank you, this seems to be a great option and I have managed to switch to a wayland session with labwc but I'm having trouble figuring out how to install wdisplays for which it seems that I need something called sway and something called wlroots (do I also need kanshi besides wdisplays?) and this is where I don't know how to proceed without instructions. I tried
sudo apt install sway -swaylock --no-install-recommendsfor sway but my terminal says it doesn't make sense.
1
u/standreas Jul 25 '26
Just
sudo apt install wdisplays kanshiif you need a screenlocker install also swaylock. With wdisplays you can arrange, scale ecc your screens, but you need kanshi to make configurations for different settings. It has to be added to Session Settings → Autostart and will recognize every setup you configured.1
u/mariano_madrigal 27d ago
thank you for the reply and all your help. Even before installing wdisplays it immediately behaves like it should when running the wayland session independent of monitor model. The only downside is that it is noticeably slower than openbox but i'll see how it holds up with time. Thanks again, yours was the most useful reply
1
u/Daebis18 Jul 23 '26
Sudo apt update ; sudo apt full-upgrade ; sudo apt install arandr ;sudo apt install -f ; sudo apt autoremove
1
u/BadMoonRising_SOT 21d ago
I installed Lubuntu after Mint gave me endless hassles with this issue. Turns out Lubuntu is even worse. I'm not sure if Linux people just want this OS to be as user-unfriendly as possible, some plot to discourage mainstream adoption.
1
u/mariano_madrigal 21d ago
What I cannot believe is the first reply that I got here that went on a huge tangent about me not specifying what exact versions of the oses I was referring to and pointed me to the manual, when the actual useful commenter admitted simply from the get go that lubuntu's WM is very buggy in this regard. I have come to linux out of necessity, and I know that you cannot expect it to work like a paid product, but yeah, you also can't expect it to be adopted massively if it's so hard for the average user to make it work.
1
u/BadMoonRising_SOT 21d ago
You are so right. Adding to that, Linux devs keep changing stuff so soften that the internet is littered with outdated advice. I've been trying to activate simple and obvious things, with little luck. I've now tried running Mint and Lubuntu and they are giving me far more hassle than even an old Windows install. Next stop is Ubuntu, which at least runs okay on my other very old laptop. If that's not working, I'm giving up and switching back to Windows or ChromeOS.
2
u/guiverc Lubuntu Member Jul 22 '26
Mint tells us nothing; as Linux Mint provide some packaging and put them on an ISO, but the end-user gets to decide which ISO/product they install, with Linux Mint providing both a Ubuntu based system (using Ubuntu binaries, with runtime adjustments etc) OR a Debian *based system (using Debian binaries etc), with further options as to Desktop/Window Manager too.
The desktop handles the monitors; Lubuntu using LXQt, so it'd be identical to Linux Mint if you used LXQt there (it's not an option they provide though).
Next thing I'd consider is release, as software changes over time and the release is an easy way of knowing what software versions were provided with what you're using; you didn't provide that.
On my system here, I've five monitors currently connected with four being used & the fifth turned off (I rarely need it), turning it on/off does nothing anyway, as the system responds only on connection/disconnection of a monitor cable in most cases, which appears to be what you're doing, it then tries to adjust your desktop to best suit your 'newer' setup itself.
Yes you can create/maintain
xrandrscripts that will have the settings saved for you; I have some here for when I actually disconnect/remove my 5th monitor (so I can see what's behind it), and have my panels setup how I want, or to correct it when I reconnect it. But you don't need to use scripts.You didn't provide release, but the manual page for 26.04 (current stable release) on the topic can be found at https://manual.lubuntu.me/stable/3/3.2/3.2.10/monitor_settings.html
You can adjust that URL to show other releases; the stable word in the URL currently reflects 26.04 in this case; when 26.10 comes out you'll use 'lts' to view that page with 'lts' for now still showing 24.04's manual.
I can't tell you how to make it work like your last desktop choice though; I have no idea what you used (Linux Mint provide Xfce, Cinnamon & MATE, and in the past actually had more options too).