V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
moonheart
V2EX  ›  KDE

分享一个能在 KDE 标题栏显示 global menu 的工具

  •  
  •   moonheart · 2022-06-06 21:27:32 +08:00 · 815 次点击
    这是一个创建于 688 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://github.com/Zren/material-decoration

    KDE 要显示 global menu, 之前一直是加一个 menu panel 到顶部,今天突然想到,能不能像 windows 的 vscode/idea 那样,把菜单显示到标题栏呢?一搜还真有,效果:

    存在的问题:

    1. 无法通过快捷键触发菜单
    2. Alt 键不会突出助记字母

    https://invent.kde.org/plasma/breeze/-/merge_requests/126

    这个是有个 PR 想要要合进主线,但似乎团队想要用别的方式去实现:

    KWin should include a full support of dbus menu protocol, then KDecoration should expose a new API needed for the menu and only after that decorations should get a support for the menu using this API.

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1287 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 963ms · UTC 17:57 · PVG 01:57 · LAX 10:57 · JFK 13:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.