Hi, Sorry, but I'm not good in English.
I'm trying to reproduce that bug. I have found that "Unify" doesn't work. Using monitors options, finally I could work with both monitors. I added virtual resolutions to lxqt-config-randr and code is very complicated. There are old functions that can be erased because they are not called. A refactor of lxqt-config-randr code is needed. You (PCMan) wrote lxrandr-qt: https://github.com/PCMan/lxrandr-qt lxrand-qt is simple and xrandr based. I started to implement virtual resolutions in lxrandr-qt and I added a simpler XrandR protocol implementation: https://github.com/selairi/lxrandr-qt It uses XrandR protocol (API) to get monitor info. Settings are done with xrandr command. PCMan/lxrandr-qt reads monitor config from a pipe to xrandr. This output is human readable but it can change easily. Maybe we could back to lxrandr-qt and start to refactor lxqt-config-randr. Question. I don't know Wayland. Which tool does Wayland use to config screen? Thanks. 2014-07-20 15:29 GMT+02:00, PCMan <pcman...@gmail.com>: > 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 > ------------------------------------------------------------------------------ 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