12 Star 13 Fork 108

src-openEuler/anaconda

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bugfix-set-metacity-with-LIBGL_KOPPER_DISABLE-as-yes.patch 853 Bytes
一键复制 编辑 原始数据 按行查看 历史
sun_hai 提交于 2025-01-26 14:42 +08:00 . sync changes from 2403 sp1
From cfe105b748c5e4a7655ebd71555d23e769470161 Mon Sep 17 00:00:00 2001
From: sunhai <sunhai10@huawei.com>
Date: Sat, 23 Nov 2024 16:06:08 +0800
Subject: [PATCH] set metacity with LIBGL_KOPPER_DISABLE as yes
---
pyanaconda/display.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/display.py b/pyanaconda/display.py
index ed163e7..8de49a4 100644
--- a/pyanaconda/display.py
+++ b/pyanaconda/display.py
@@ -197,6 +197,7 @@ def do_startup_x11_actions():
# to set GUI subprocess SIGINT handler
signal.signal(signal.SIGINT, signal.SIG_IGN)
+ os.environ["LIBGL_KOPPER_DISABLE"] = "yes"
childproc = util.startProgram(["metacity", "--display", ":1", "--sm-disable"],
env_add={'XDG_DATA_DIRS': xdg_data_dirs},
preexec_fn=x11_preexec)
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/anaconda.git
git@gitee.com:src-openeuler/anaconda.git
src-openeuler
anaconda
anaconda
master

搜索帮助