On Wed, Jul 15, 2015 at 12:23 AM, Carsten Haitzler <[email protected]> wrote: > On Tue, 14 Jul 2015 21:31:58 +1000 Daniel Kasak <[email protected]> said: > >> Hi all. >> >> I've just installed Linux on a new Macbook ( new job, mac-only place >> ). I now have a HiDPI display, and I'm figuring out how to make things >> work. Setting up scaling for E was easy - for the primary laptop >> display anyway. >> >> I've read at: https://developer.gnome.org/gtk3/stable/gtk-x11.html >> that you can set the environment variable GDK_SCALE to get Gtk3 to >> scale by an integer amount. I've set this under Settings Panel -> >> Advanced -> Environment Variables ... and this works ... but again, >> for the primary laptop display only. >> >> When I boot with my massive LG wrap-around monitor ( also courtesy of >> new job ), neither Enlightenment nor Gtk3 apps behave nicely on both >> displays simultaneously. The LG monitor is *not* HiDPI. The page: >> https://developer.gnome.org/gtk3/stable/gtk-x11.html *also* says: >> >> "Normally, GDK will pick up a suitable scale factor for each monitor >> from the display system". >> >> Now this isn't happening when running under Enlightenment - hence the >> need to set the GDK_SCALE env variable. Would it be possible to export >> this info ( whatever it is that GDK uses to detect DPI ) to apps >> somehow? > > there isnt anything for e to expose. x itself can be queries for dpi per > screen > - as ,r barry said. gtk could do this. > > efl doesn't do it - it totally relies on settings alone for scaling... but e > supports different config profiles per screen (and even per desktop) so you > can > set up 2 profiles. standard and "standard-hidpi" for example and configure one > separately from the other. > > sorry -w e have no infra to go generate these on the fly for you atm. :(
Not a problem - just checking :) Regarding xrandr - I tried this first, and things blew up badly. Parts of the laptop display were spilling over onto the 2nd monitor. Graphics corruption in some 'blank' rectangles, in areas exposed by a resizing of things. So I did 'enlightenment_remote -restart', and it went into a crash/restart loop. There were logs at the console about e_randr2 being in an infinite loop. This continued after I killed and restarted E. I had to remove some config files from ~/.e to allow me to get back into E. I'll look into setting up profiles. It's not obvious how you can have multiple simultaneous profiles on different screens. Having said that, I'm @ work and can't muck around with it right now. Thanks for the responses :) Dan ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
