AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.119.134.196


Current Path : /usr/share/apport/general-hooks/
Upload File :
Current File : //usr/share/apport/general-hooks/wayland_session.py

'''Detect if the current session is running under wayland'''

import os


def add_info(report, ui):
    if os.environ.get('WAYLAND_DISPLAY'):
        report.setdefault('Tags', '')
        report['Tags'] += ' wayland-session'