apport hook to detect wayland sessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Fix Released
|
Undecided
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Now that we have an experimental GNOME wayland session in vivid, it would be somewhat useful for apport to detect if a bug report is from a wayland session. It probably makes sense for this to be global since other projects will eventually offer wayland sessions as well. Not sure on the best place for this to live though in apport or in wayland packaging or elsewhere?
detecting WAYLAND_DISPLAY env is probably enough to detect a running session, and there may be a few other useful env variables such as (GDK/CLUTTER)
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: apport 2.15.1-0ubuntu4
ProcVersionSign
Uname: Linux 3.18.0-12-generic x86_64
NonfreeKernelMo
ApportLog:
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Feb 5 10:51:38 2015
InstallationDate: Installed on 2012-09-23 (864 days ago)
InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Alpha amd64(20120922)
PackageArchitec
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in ubuntu-gnome: | |
milestone: | none → vivid |
Changed in apport (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-gnome: | |
status: | New → Fix Released |
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
Does that work for you?