Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read icon theme from xsettings. #57

Closed
wengxt opened this issue May 10, 2020 · 15 comments
Closed

Read icon theme from xsettings. #57

wengxt opened this issue May 10, 2020 · 15 comments

Comments

@wengxt
Copy link
Member

wengxt commented May 10, 2020

Gtk based Desktop is not actually using the ini. They use more on xsettings. Need to have that support in classicui.

@aeghn
Copy link

aeghn commented May 11, 2020

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

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

在 i3wm 和 xfce4 都有这个问题。

@roachsinai
Copy link

roachsinai commented May 11, 2020

#55 没有修复。

@wengxt
Copy link
Member Author

wengxt commented May 11, 2020

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

@wengxt
Copy link
Member Author

wengxt commented May 11, 2020

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

@aeghn
Copy link

aeghn commented May 11, 2020

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

@roachsinai
Copy link

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

@wengxt
Copy link
Member Author

wengxt commented May 11, 2020

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

更新了吗。

@roachsinai
Copy link

抱歉。

@roachsinai
Copy link

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

@aeghn
Copy link

aeghn commented May 11, 2020

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

@wengxt
Copy link
Member Author

wengxt commented May 11, 2020

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

@roachsinai
Copy link

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

是这样的,非常抱歉!

@roachsinai
Copy link

#55 已修复,感谢!

@aeghn
Copy link

aeghn commented May 11, 2020

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

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

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

@wengxt
Copy link
Member Author

wengxt commented May 11, 2020

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

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

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

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

Fixed with e2866bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants