GithubHelp home page GithubHelp logo

Read icon theme from xsettings. about fcitx5 HOT 15 CLOSED

wengxt avatar wengxt commented on July 20, 2024
Read icon theme from xsettings.

from fcitx5.

Comments (15)

wengxt avatar wengxt commented on July 20, 2024 2

你们这个显然是误解了什么

Papirus 里有个图标名叫 fcitx-panel.svg,有点自然得把它当成了 fcitx 的托盘图标,我刚看了看 fcitx4 也是 input-keyboard 啊,有点疑惑这个名称从哪来的。

另外我发现 fcitx5 会读取 /usr/share/icons 下的图标,放在 ~/.local/share/icons 里的图标就不会被读取。

看起来是因为只读了 .icons 没有处理 xdg 的 user data dir

Fixed with e2866bc

from fcitx5.

aeghn avatar aeghn commented on July 20, 2024

图标主题还是不大正常,以 Papirus-dark 图标主题为例,托盘图标应该是 22x22/panel/fcitx-panel.svg,fcitx-panel.svg

但是显示为这个 p-200511_092023, 经过比对读取的是 22x22/apps/fcitx.svg fcitx.svg

在 i3wm 和 xfce4 都有这个问题。

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

#55 没有修复。

from fcitx5.

wengxt avatar wengxt commented on July 20, 2024

我不太理解,你们的疑问 fcitx 从来没有用过 fcitx-panel 这个图标名称,怎么可能会去读这个?

from fcitx5.

wengxt avatar wengxt commented on July 20, 2024

XDG 图标的 fallback 规则根据横线分割 fcitx-a-b-c 可以 fallback 到 fcitx-a-b,fcitx-a,怎么也不会反过来去选择名称更长的啊?更何况这里实际使用的那个图标名称原本也不是 fcitx,是 input-keyboard。你们这个显然是误解了什么

from fcitx5.

aeghn avatar aeghn commented on July 20, 2024

但是我看有人在 gnome 里用的图标就是 fcitx-panel 这个啊,难道只是形状一样?
那 fcitx 托盘里读的哪个图标呢?

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

我的意思是 #55 没有修复......

from fcitx5.

wengxt avatar wengxt commented on July 20, 2024

我的意思是 #55 没有修复......

更新了吗。

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

抱歉。

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

早上更新了一次,刚才对比了一下我使用的镜像源里没有到最新的版本。

from fcitx5.

aeghn avatar aeghn commented on July 20, 2024

使用 fcitx5-git, Manjaro 应该有这个吧。

from fcitx5.

wengxt avatar wengxt commented on July 20, 2024

´_>` ……github issue 每个都带着 close by 哪个 commit ……在说有没有修复之前至少你得保证用对应的 commit 来测试再发言吧

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

´_>` ……github issue 每个都带着 close by 哪个 commit ……在说有没有修复之前至少你得保证用对应的 commit 来测试再发言吧

是这样的,非常抱歉!

from fcitx5.

roachsinai avatar roachsinai commented on July 20, 2024

#55 已修复,感谢!

from fcitx5.

aeghn avatar aeghn commented on July 20, 2024

你们这个显然是误解了什么

Papirus 里有个图标名叫 fcitx-panel.svg,有点自然得把它当成了 fcitx 的托盘图标,我刚看了看 fcitx4 也是 input-keyboard 啊,有点疑惑这个名称从哪来的。

另外我发现 fcitx5 会读取 /usr/share/icons 下的图标,放在 ~/.local/share/icons 里的图标就不会被读取。

from fcitx5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.