✏️ 正在编辑: wayland_session.py
路径:
/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'
💾 保存文件
← 返回文件管理器