Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-05-02 18:27:23

lowin
Member
Registered: 2018-05-02
Posts: 2

[Solved] How to stop xfsettingsd to change my monitor settings

Hello. I'm using a dual monitor setup.
I have my xorg.conf to configure my monitors exactly the way I want them, and it works great in lightdm login screen
However, when I log into xfce, xfsettingsd loads per user setting for monitors and change the settings, Which is not what I want.
I changed the monitor settings in the display settings program, and now it works almost fine. but now when I turn one of the displays off, the other screen goes blank for a few seconds and changes display settings again and messing with the desktop icon placements (the 2 monitors are not the same resolution), which repeats when I turn the second monitor on again.

I realized this won't happen when I kill xfsettingsd daemon, but killing it has some other unwanted side effects that I don't wish to deal with.
Is there a way to just disable Xfce's monitor management and leave it to xorg.conf? I considered patching xfsettingsd, but I don't know what code to change for least amount of side effects/potential problems.

I appreciate any help. thank you

Last edited by lowin (2018-05-03 06:44:29)

Offline

#2 2018-05-02 23:54:38

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,270

Re: [Solved] How to stop xfsettingsd to change my monitor settings

Hello and welcome.

lowin wrote:

Is there a way to just disable Xfce's monitor management and leave it to xorg.conf?

Unfortunately no.

I considered patching xfsettingsd, but I don't know what code to change for least amount of side effects/potential problems.

The display module requires xrandr to function. In configure.ac.in there is a check for xrandr:

dnl ***********************************
dnl *** Optional support for Xrandr ***
dnl ***********************************
XDT_CHECK_OPTIONAL_PACKAGE([XRANDR], [xrandr], [1.2.0],
                           [xrandr], [Xrandr support])

As a test, I changed the "1.2.0" to a non-existent version "10.2.0" and rebuilt the package (commenting out the lines didn't help). As expected, the display module didn't work anymore. But I am unable to test the full functionality with dual monitors.

To do this properly, you should probably create an enhancement request to see if the developer will consider making the xrandr functionality optional at build time.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2018-05-03 06:44:09

lowin
Member
Registered: 2018-05-02
Posts: 2

Re: [Solved] How to stop xfsettingsd to change my monitor settings

I did what you said and disabled xrandr support. now xfce doesn't touch my monitors at all.
Thank you.

I suppose an even more proper solution will be adding a setting in xfconf to disable display support at runtime. maybe even a checkbox in the display setting window. Unfortunately I don't have much free time to study the code and supply the patch right now. I'll do it once I can get familiar with the code in the coming months.

In the meantime, forcefully disabling xrandr support is a good workaround.
Thank you again

Offline

Board footer

Powered by FluxBB