New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two monitors with different sizes enabled while only one attached and menu bar displays wrongly #1228
Comments
Did you define two displays statically somewhere? Are you using an |
In addition the output of |
I do not have an xorg.conf. As I said, I think I could solve this by specifying a proper lxqt-config-monitor.conf, because I simply need to disable LVDS1. But what is the format for such a file? |
lxqt-config-monitor.conf is updated when you press save or apply button. It
is like:
[General]
...
[SavedConfigs]
...
[currentConfig]
...
You are interested in currentconfig settings. They are applied when session
is started:
settings\1\connected=false
settings\1\hash=
settings\1\name=DP1
settings\2\connected=true
settings\2\currentMode=71
settings\2\currentModeHeight=768
settings\2\currentModeRate=@variant(\0\0\0\x87\x42o(})
settings\2\currentModeWidth=1366
settings\2\enabled=true
settings\2\hash=94f2749513e831f326a424ff51c084ef
settings\2\name=HDMI1
settings\2\primary=true
settings\2\rotation=1
settings\2\xPos=0
settings\2\yPos=0
settings\3\connected=false
settings\3\hash=
settings\3\name=VGA1
settings\4\connected=false
settings\4\hash=
settings\4\name=VIRTUAL1
settings\size=4
You can see numbers 1, 2, 3 and 4, one number per output. It is easy to
know each prperty. Hash property is EID number of your screen (don't change
it). CurrentModeRate is selected rate in Qt QVariant format.CurrentMode is
KScreen number for that mode, but it is lxqt-config-monitor tries to set
mode using width, height and mode rate.
|
Have you tried to set HDMI2 as primary instead LVDS1?
2017-02-19 14:52 GMT+01:00 P L. Lucas <selairi@gmail.com>:
… lxqt-config-monitor.conf is updated when you press save or apply button.
It is like:
[General]
...
[SavedConfigs]
...
[currentConfig]
...
You are interested in currentconfig settings. They are applied when
session is started:
settings\1\connected=false
settings\1\hash=
settings\1\name=DP1
settings\2\connected=true
settings\2\currentMode=71
settings\2\currentModeHeight=768
***@***.***(\0\0\0\x87\x42o(})
settings\2\currentModeWidth=1366
settings\2\enabled=true
settings\2\hash=94f2749513e831f326a424ff51c084ef
settings\2\name=HDMI1
settings\2\primary=true
settings\2\rotation=1
settings\2\xPos=0
settings\2\yPos=0
settings\3\connected=false
settings\3\hash=
settings\3\name=VGA1
settings\4\connected=false
settings\4\hash=
settings\4\name=VIRTUAL1
settings\size=4
You can see numbers 1, 2, 3 and 4, one number per output. It is easy to
know each prperty. Hash property is EID number of your screen (don't change
it). CurrentModeRate is selected rate in Qt QVariant format.CurrentMode is
KScreen number for that mode, but it is lxqt-config-monitor tries to set
mode using width, height and mode rate.
|
Thanks for your help. I have tried to create a proper config file myself, using your info. I have some problems:
I have created the following file:
copied it to ~/.config/lxqt as well |
In my local config, an empty version of the file was present, which
was saved a long time ago. I cannot seem to get such a config file
saved with the current settings.
lxqt-config-monitor should save your settings in
~/.config/lxqt/lxqt-config-monitor.conf when you press save button.
Aren't there?
Could you be so kind as open lxpanel settings and set pannel position in
the proper screen? It can help me to find the bug.
Thanks.
|
I do not think you have to manually fiddle with Yet your problem seems strange to me. Also, you definitely should make sure that no preexisting / old configuration files are around which may optionally cause artifacts. Just saying as you mentioned
|
@selairi :
|
@pmattern I run an up-to-date Archlinux. |
This is indeed weird. To my knowledge LVDS is used as sort of underlying technology of DisplayPort, but neither of DVI nor HDMI. The line of LVDS1 is neither stating a resolution nor a position, A while ago we've seen similar problems, see e. g. #650. But besides an LVDS device was involved there as well, I think it's a different story as that one did very well report a resolution and a position. Basically what we considered the underlying reason still isn't fixed according to #680. But on the other hand I just cannot provoke a faulty setup like the one you're seeing by running Oh, and just curious: did you try the workaround described in my previous comment? |
Running |
Ah, but I can of course add such a command to Autostart in Session Settings. And that solves my problem. |
@selairi <https://github.com/selairi> :
* lxqt-config-monitor.conf is not being saved. Also the list of
saved settings in the Advanced Settings dialog is empty
This is really strange. It could be something related to file
permissions. I suggest running these commands:
ls -l ~/.config
ls -l ~/.config/lxqt
and check file permissions.
Thanks.
|
You could, as asked before, try and see whether you run into the same problem under other desktop environments as well. You're running a proper Linux distribution so quickly installing these and getting rid of them again if unneeded shouldn't be too much work. |
I have similar issue n fedora and fresh lxqt install. |
Fixed in git lxqt-panel, after removing Except for xrandr panning, for which Qt has no signal yet, lxqt-panel never appears at the middle of screen. |
After startup, two displays are enabled in monitor settings (LVDS1 1024x768 and HDMI2 1920x1200), while only the HDMI is connected. Unfortunately, the lxqt bar displays halfway the screen.
I could solve this by specifying a proper lxqt-config-monitor.conf but what is the format for such a file?
So far I am unable to save the config that I have.
lxqt 0.11.0 on archlinux
The text was updated successfully, but these errors were encountered: