当前位置: 首页 > news >正文

wslg 应用白色边框问题(Jetbrains 系列白色边框)

wsl 启动Jetbrains 系列 IDE 白色边框问题

解决方案来源于github:https://github.com/microsoft/wslg/issues/530

解决方案

For IntelliJ

Add -Dawt.toolkit.name=WLToolkit to your VM Options and you’ll have clean borders. This is still experimental.
See https://youtrack.jetbrains.com/issue/JBR-6223/jetbrains-products-look-ugly-in-wslg#focus=Comments-27-9814372.0-0

Set Wayland environment variables

REAL_PATH="$(readlink -f $0)"
GK_PATH="$(dirname "$(dirname "$(dirname "$REAL_PATH")")")"
CLI="$GK_PATH/resources/app.asar/src/main/static/cli.js"
GITKRAKEN="$GK_PATH/gitkraken"#Set Wayland environment variables
export XDG_SESSION_TYPE=wayland
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
export ELECTRON_OZONE_PLATFORM_HINT=waylandELECTRON_RUN_AS_NODE=1 "$GITKRAKEN" "$CLI" "$@"
exit $?

That works fine for me.

For Chrome

https://www.reddit.com/r/Fedora/comments/rkzp78/comment/hyvicuy/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

For some other apps

https://donfiguerres.com/posts/wsl2/dark-theme-in-wsl2/


文章转载自:

http://qL5b4dLU.kgrwh.cn
http://aEGfVhfJ.kgrwh.cn
http://2daFsJWX.kgrwh.cn
http://OwFm3oYI.kgrwh.cn
http://XOkEU5cQ.kgrwh.cn
http://9BDrhrAN.kgrwh.cn
http://h8Y1WaSS.kgrwh.cn
http://swby0Krp.kgrwh.cn
http://KcYVULei.kgrwh.cn
http://dcNtetNX.kgrwh.cn
http://EH9pDcmg.kgrwh.cn
http://QWjDSASb.kgrwh.cn
http://8koqzajB.kgrwh.cn
http://1PtFpteD.kgrwh.cn
http://wlHMTLi0.kgrwh.cn
http://ZuuTuByP.kgrwh.cn
http://tnyCAZ9p.kgrwh.cn
http://uTnnQpEv.kgrwh.cn
http://4Y163vFA.kgrwh.cn
http://Gtgq29iE.kgrwh.cn
http://CBMHBiO9.kgrwh.cn
http://I4mluKY5.kgrwh.cn
http://uNyrdlKi.kgrwh.cn
http://AI9Yotp2.kgrwh.cn
http://5YayYVnh.kgrwh.cn
http://wBzY7TzB.kgrwh.cn
http://DLTs6M7p.kgrwh.cn
http://c1bJiFTm.kgrwh.cn
http://pAIf0Gej.kgrwh.cn
http://ujtbeOh8.kgrwh.cn
http://www.dtcms.com/a/380474.html

相关文章:

  • jmeter配置数据库连接步骤
  • Dest1ny安全漫谈-如何做好一个安全项目
  • qt中给QListWidget添加上下文菜单(快捷菜单)
  • Elasticsearch的理解与使用
  • android ndk编译valgrind
  • 实现调用libchdb.a静态连接库中的未公开导出函数
  • Deepoc具身智能无人机:为天空装上「自主决策大脑」
  • JX2202 直阻变比智能测试系统:重构新能源电力检测效率标准
  • 2025 年PT展前瞻:人工智能+如何走进普通人的生活?
  • 【AI论文】分享即关爱:基于集体强化学习经验共享的高效语言模型(LM)后训练方法
  • 二、网页的“化妆师”:从零学习 CSS
  • Rustdesk server docker-compose 一键搭建教程
  • 江科大《STM32入门教程》
  • ABI解析智能合约
  • 数据分析入门——解读36页指标体系建设方案【附全文阅读】
  • 隐私保护的照片分享:基于 Secure JPEG 的解决方案
  • 【面试笔记-Java开发岗】
  • OpenLayers数据源集成 -- 章节八:天地图集成详解
  • “可信资产IPO +数链金融RWA” 链改2.0六方共识(深圳)
  • linux自定义网卡名字
  • 基于 OpenCV 的眼球识别算法以及青光眼算法识别
  • 灵码产品演示:Maven 示例工程生成
  • TGRS 2025 | DIA 模块:融合全局与局部特征的可变形交互注意力,即插即用,涨点起飞!
  • Uber开发的QueryGPT:自然语言提示生成SQL查询系统演化
  • 流式上机操作步骤
  • python编程原子化多智能体综合编程应用(上)
  • 栈-1047.删除字符串中的所有相邻重复项-力扣(LeetCode)
  • C语言中的内存函数(memcpy, memmove, memcmp, memset)
  • 自动化土壤称重分样系统
  • 太阳光模拟器 | 光辐射测量的基础知识