Fun with Unity8

Daniel van Vugt daniel.van.vugt at
Fri Sep 18 04:01:42 UTC 2015

Some might have figured this out already, but you can actually trick 
Unity8 into accepting regular Mir clients like those from the mir-demos 
package. All you need to do is hide the magic desktop_file_hint string 
on the command line in such a way that the client itself does not reject it:

mir_demo_client_egltriangle -f--desktop_file_hint=unity8
mir_demo_client_progressbar 20--desktop_file_hint=unity8
mir_demo_client_fingerpaint -w--desktop_file_hint=unity8
mir_demo_client_target -n--desktop_file_hint=unity8
mir_demo_client_eglplasma -f--desktop_file_hint=unity8
mir_demo_client_eglsquare -n -- --desktop_file_hint=unity8

Admittedly that's a bit hackish. So coming in Mir 0.16.0 more of the 
demo clients will understand the '--' option allowing for graceful 
command line augmentation. Although it would be even better if Unity8 
didn't have the requirement.

- Daniel

More information about the Mir-devel mailing list