GRID_UNIT_PX value should be exported into the system environment early on boot

Bug #1327172 reported by Oliver Grawert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-touch-session (Ubuntu)
Triaged
Medium
Oliver Grawert

Bug Description

several UI tools read /etc/ubuntu-touch-session.d/$device.conf for obtaining the GRID_UNIT_PX value for their opperation.
instead of having them parse the file we should just export this variable globally into the system environment on early boot to avoid opening and reading the file multiple times.

Revision history for this message
Oliver Grawert (ogra) wrote :

i.e. http://bazaar.launchpad.net/~unity-system-compositor-team/unity-system-compositor/trunk/view/head:/spinner/eglspinner.c (line 34-92) requires to even have a dependency on libandroid-properties to obtain the device name a proper environment variable would avoid this

Changed in ubuntu-touch-session (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Oliver Grawert (ogra)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.