XDC2012: Graphics stack security
XDC2012: Graphics stack security
Posted Sep 25, 2012 22:25 UTC (Tue) by JohnLenz (guest, #42089)Parent article: XDC2012: Graphics stack security
For the global keyboard shortcut problem, what about making it similar to the others like virtual keyboards and have weston only trust an application that it launches? Then there could be several possible applications: one which has no security and lets any program access the keyboard similar to how X works. As an alternative, desktop environments could provide a different program which listens for global keypresses but instead of handing out the raw keypresses, use dbus + policykit to pass events like volume up, volume down, etc to any application that policykit authorizes.
This has the advantage of using already existing authentication infrastructure (policykit) and not force weston to define an explicit list of events.
