-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Improve external monitor handling. #239
Comments
And fix the issue where lxqt-panel iconify the bottom panel and the whole On Sat, Jul 19, 2014 at 3:50 PM, PCMan notifications@github.com wrote:
R. |
I once created an xrandr wrapper daemon for own use (https://github.com/Vladimir-csp/rerandr) and would like to share some thoughts. Changing configurations should be incremental, e.g. "enable needed outputs, then disable unneeded", not "disable everything, enable what is needed". In the latter case window placement would most certainly be messed up. General rule of thumb: during transition there should always be some enabled output (unless there is only one CRTC available on the video device). By the way, daemon should also check availability of CRTCs not to run out of them. Xrandr has a bug: it does not free CRTCs first (https://bugs.freedesktop.org/show_bug.cgi?id=29929) Hope, some of it helps. |
Nobody picked this up, moving to 1.0. |
I've created another multimonitor handler in bash. https://github.com/Vladimir-csp/rerandr3 One of my users shot himself in the foot recently because of static xrandr in XDG autostart: changed monitor, booted, logged in - out of range! |
@Vladimir-csp take a look at kscreen. They have a daemon that does exactly that (although it is outside the framework). |
also see #502 |
...tried to install kscreen package in Debian, it pulls in 105MB of dependencies in 67 packages... Ouch. |
libkscreen is what you need, not kscreen. libkscreen should have no dependency outside of qt. |
Unfortunately my coding skills are limited to Bash, so I can not take advantage of the library yet. |
In ubuntu sudo apt-get install libkscreen sudo apt-get install libkscreen-dbg is this the package libkscreen-dbg ? On Mon, Feb 16, 2015 at 1:32 PM, Vladimir-csp notifications@github.com
R. |
No, that was kscreen with lots of KDE dependencies. |
@RcMn |
That's far more than it actually requires... |
In short:
In full:
|
As @palinek said in #600, we can create a daemon that would listen to screen changes and could react. I think it can be easily done as part of lxqt-config-monitor. We could create a flag |
The dialog could pop up on unknown display combinations with a choice to either "Apply and save" or just "Apply". If save is chosen, the daemon would not produce dialog if this combination is seen again, just apply saved configuration.
There also should be some timeout or a way to automatically cancel the dialog when known combination is reached through unknown combination. I.e. when user consequently plugs in multiple external monitors. |
...in fact, forget the serial numbers. |
Oh, it very much does: Wayland stuff. I just opened #1068 here as a result... |
Here is a great and lightweight tool: https://github.com/phillipberndt/autorandr no dependencies except x11 utils and python. Has profiles, hooks, auto actions, just works. Could act as a backend for lxqt-config-monitor. |
When a new monitor is plugged in, we need to show the tool to configure it.
Besides, the tool should be on the primary monitor.
We also need to handle the case when the external monitor is reomved, too.
The text was updated successfully, but these errors were encountered: