Running R14.0.12 on Ubuntu 20.04
I have two 1920x1080 monitors that I use as one 3840x1080 X screen. On startup, TDM has the left and right monitors "swapped". I can manually rearrange them once I'm logged in, but that's annoying. Especially because the configuration program does something weird to the color map on one monitor, so I have to logout and log back in.
It would be nice to have a "save configuration" option when doing a manual setup, but I suspect the developers have more important things to do ;-)
I've found two suggestions for solving this problem. One is to add an xrandr command to my .xinitrc (which I don't actually have at the moment), and the other is to put a configuration into xorg.conf (which I also don't have now. And which worries me a bit, because the structure of /etc/X11 has changed quite a bit since I last had to fiddle with it, years ago. The Ubuntu installer developers have gotten really good at getting it right automagically...)
The latter seems preferable, since it would bring TDM up in the proper configuration, but it's not clear whether I'd need to do a complete X configuration with all the various devices in it.
If you have some experience with this, please let me know; a. whether TDM will freak out if I do an xrandr in the middle of login b. how much of an x configuration I need to create to position the monitors, or c. whether there's a TDM config file I can fiddle to make it arrange the monitors.
Thanks,
Ran
On Tue July 11 2023 00:00:16 Ran Talbott via tde-users wrote:
Running R14.0.12 on Ubuntu 20.04
I have two 1920x1080 monitors that I use as one 3840x1080 X screen. On startup, TDM has the left and right monitors "swapped". I can manually rearrange them once I'm logged in, but that's annoying. Especially because the configuration program does something weird to the color map on one monitor, so I have to logout and log back in.
It would be nice to have a "save configuration" option when doing a manual setup, but I suspect the developers have more important things to do ;-)
I've found two suggestions for solving this problem. One is to add an xrandr command to my .xinitrc (which I don't actually have at the moment), and the other is to put a configuration into xorg.conf (which I also don't have now. And which worries me a bit, because the structure of /etc/X11 has changed quite a bit since I last had to fiddle with it, years ago. The Ubuntu installer developers have gotten really good at getting it right automagically...)
The latter seems preferable, since it would bring TDM up in the proper configuration, but it's not clear whether I'd need to do a complete X configuration with all the various devices in it.
If you have some experience with this, please let me know; a. whether TDM will freak out if I do an xrandr in the middle of login b. how much of an x configuration I need to create to position the monitors, or c. whether there's a TDM config file I can fiddle to make it arrange the monitors.
Hi Ran,
It's been some years since I setup my multi-monitor configuration. I'm now using R14.1.0.
IIRC I used T-Menu / Trinity Control Center / System Administration / / Monitor and Display / Resolution and Layout. At some point in the process it asks for root password. It seems to preserve my layout over reboots and upgrades.
FWIW I also have T-Menu / System / Screen Resize & Rotate running in my panel which automatically returns after every reboot.
There's at least one other mechanism which I don't personally use which is T-Menu / Trinity Control Center / Peripherals / Display / Multiple Monitors.
Hopefully one or more of these will work for you.
--Mike
On Tue, Jul 11, 2023 at 12:53 AM Mike Bird via tde-users < users@trinitydesktop.org> wrote:
I'm now using R14.1.0.
thanks, Mike.
I suspect that's the crucial difference; there was a change in 14.1.0 that saved the new configuration.
I use the same tools for adjusting display settings. I'll look into a TDE upgrade. I'm definitely interested in changing this; I just decided to adjust the DPMS times on my main monitor, and the configuration tool (bleep)ed the color map. Now all kinds of stuff has become completely unreadable. Now I have to logout and login again, losing my place in some of the shells I have open for various projects. Grrr.
would you look to see whether you have a .xinitrc or .xsession in your home diretory, please? There might be a saved monitor configuration hidden there.
Thanks,
Ran
Hi Ran,
On Tue July 11 2023 05:00:00 Ran Talbott via tde-users wrote:
I suspect that's the crucial difference; there was a change in 14.1.0 that saved the new configuration.
I setup my multi-monitor configuration years before R14.1.0 was a thing. I don't know exactly when but certainly well before R14.0.12.
I use the same tools for adjusting display settings. I'll look into a TDE upgrade. I'm definitely interested in changing this; I just decided to adjust the DPMS times on my main monitor, and the configuration tool (bleep)ed the color map. Now all kinds of stuff has become completely unreadable. Now I have to logout and login again, losing my place in some of the shells I have open for various projects. Grrr.
would you look to see whether you have a .xinitrc or .xsession in your home diretory, please? There might be a saved monitor configuration hidden there.
I don't have a ~/.xinitrc and my ~/.xsessionrc is only used to set backlight level.
There is some monitor layout information in xorg.conf that might have been put there by nvidia-settings, so maybe that's what is doing it.
--Mike
Ran Talbott via tde-users composed on 2023-07-11 07:00 (UTC):
Running R14.0.12 on Ubuntu 20.04
I have two 1920x1080 monitors that I use as one 3840x1080 X screen. On startup, TDM has the left and right monitors "swapped". I can manually rearrange them once I'm logged in, but that's annoying. Especially because the configuration program does something weird to the color map on one monitor, so I have to logout and log back in.
...
If you have some experience with this, please let me know;
Most PCs I have support 2, 3 or 4 screens at once, and I usually use most of them that way. All are multi-multiboot. So the following instruction is for Debian and its derivatives. For Fedora, Mageia and openSUSE the location I use is /etc/X11/xinit/xinitrc.d/.
a. whether TDM will freak out if I do an xrandr in the middle of login b. how much of an x configuration I need to create to position the monitors, or c. whether there's a TDM config file I can fiddle to make it arrange the monitors.
In /etc/X11/Xsession.d/, create a file. Its name shouldn't matter, but I'd start its name with a digit like 4, 5 or 6. While you're in that location, scan its content to be sure there isn't already a file there that employs xrandr. If there is, you may want to edit it instead of creating a new file. Use inxi -Gaz or xrandr to determine the name X uses for your two displays. If it was DP-1 on the right with Kicker and DP-2 on the left and you want them swapped, the file content would be:
xrandr --output DP-2 --primary --output DP-1 --right-of DP-2
This location for xrandr will run as your TDE session starts. It won't affect TDM. If you want TDM affected, there's /etc/trinity/tdm/tdmrc's GreeterScreen= for designating on which to put the greeter.
The above xrandr template should be safe to rerun at any time, but if your screens were not matched resolutions, using it to make a switch may move the Kicker elsewhere than where it belongs until logging out and back in. Assign a hotkey to your script or to a copy of it to make it easy to run/rerun at any time should it become necessary or desirable.