I propose that weston (or another typical wayland package) ships something like /usr/share/apport/general-hooks/weston.py (or wayland- session.py perhaps) which does the appropriate detection, and does
report.setdefault('Tags', '') report['Tags'] += ' wayland-session' Does that work for you? ** Package changed: apport (Ubuntu) => weston (Ubuntu) ** Changed in: weston (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to weston in Ubuntu. https://bugs.launchpad.net/bugs/1418262 Title: apport hook to detect wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-gnome/+bug/1418262/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp