Let OnionShare use the default GNOME theme
Currently, our AppArmor profile denies access to
/usr/lib/x86_64-linux-gnu/qt5/plugins/styles/adwaita.so, so OnionShare can't use the default GNOME theme. We could fix this by adding this line to the AppArmor profile, allowing OnionShare to load and execute the shared object of the qt5 plugin for the theme:
- Affected tool set to OnionShare
Upstream now has a qt5 abstraction: https://gitlab.com/apparmor/apparmor/blob/master/profiles/apparmor.d/abstractions/qt5. It's not part of any upstream release yet but we could temporarily backport it.
And in passing, the AppArmor profile for
onionshare-gui still includes the
gnome abstraction while we've upgraded to a version that uses Qt. I'm not sure whether that abstraction is still needed.