Oops, safer to use grep:

xargs -n 1 -0 < /proc/`pidof unity8`/environ | grep GRID_UNIT

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1642272

Title:
  incorrect UI scale on high-resolution desktop

Status in unity8 package in Ubuntu:
  New

Bug description:
  On a hidpi display, the unity8 desktop session in 16.10 has an
  oversized and inconsistent UI scale. The unity8 session is absolutely
  not usable for testing (because there is not even enough screen space
  to display the logout menu item).

  The shell+cursor is rendered with a UI scale of at least 2× the correct scale 
(e.g. 4× the scale of a low-dpi display). Due to this the indicator menus 
collapse immediately after clicking because they are larger than the screen 
height.
  The content of the scopes window is rendered with 4× the correct scale, 
giving space for only one icon.

  In unity 16.04, the correct scale could be achieved by setting "export
  GRID_UNIT_PX=16" in .bashrc, however this has no effect anymore when I
  remove or change it. The issue is also in the guest session.

  
  Ubuntu version: 16.10 (fresh install)

  unity8 version: 8.14+16.10.20160 amd64

  physical resolution: 3200×1800

  resolution used by unity8: 3200×1800 (at first sight I thought it
  selected a low resolution, but in fact fonts are very sharp).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1642272/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to