[e-users] HiDPI, multiple displays
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? 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] HiDPI, multiple displays
On Tue, 14 Jul 2015 21:31:58 +1000 Daniel Kasak d.j.kasak...@gmail.com wrote: 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? Dan $ man xrandr Also, give arandr a try. arandr is a gui interface for xrandr that will lewt you set things up and save the xrandr commands to re-do it into a script. -- Regards, Christopher Barry Random geeky fortune: Of course power tools and alcohol don't mix. Everyone knows power tools aren't soluble in alcohol... -- Crazy Nigel -- 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] HiDPI, multiple displays
On Tue, 14 Jul 2015 21:31:58 +1000 Daniel Kasak d.j.kasak...@gmail.com 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. :( -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] HiDPI, multiple displays
On Wed, 15 Jul 2015 14:13:08 +1000 Daniel Kasak d.j.kasak...@gmail.com said: On Wed, Jul 15, 2015 at 12:23 AM, Carsten Haitzler ras...@rasterman.com wrote: On Tue, 14 Jul 2015 21:31:58 +1000 Daniel Kasak d.j.kasak...@gmail.com 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. no no - YOU dont use xrandr. gtk would use it. it's an api. xrandr also has a cmdline tool. nothing much you can do unless gtk decides to use this. 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 -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] HiDPI, multiple displays
On Wed, Jul 15, 2015 at 12:23 AM, Carsten Haitzler ras...@rasterman.com wrote: On Tue, 14 Jul 2015 21:31:58 +1000 Daniel Kasak d.j.kasak...@gmail.com 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users