Hello, I just noted that lxqt-config-randr is broken. When I plugged in an external monitor, set set its content a clone of my laptop's monitor, it failed to work. My external monitor became blank and only showed a cursor. If I restart X11, and do the same using the command "xrandr --output VGA-0 --same-as LVDS", then everything works. I tried to dig into the code of lxqt-config-randr, but it's really complicated. I can't understand the XRANDR part and have no idea why it does not work. So, zballinita do you know what's wrong with it?
Besides, I'd like to replace all of the complicated XRandR code in lxqt-config-randr with calls to external command line tool "xrandr", just like what we did in lxrandr in old lxde. Relying on an external tool is not cool, but this has some significant benefit. * We don't need to maintain all of the XRandR code. * We only need to do simple string parsing for the output of xrandr, and compose a new xrandr command line and execute it. extremely simple! * We can reuse xrandr and let its developer maintain the RandR part. If in the future there are changes in the RANDR spec, we're not affected. * We don't have to link to libXlib and XrandR. This may benefit wayland support in the future. * xrandr is light and correctly implemented. We can launch it on session startup to configure the monitors. This is lighter than launching lxqt-config-randr. What do you guys think? If there're no objections, I really want to try to do it (in a separate branch, of course). ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list