User talk:Dragonwater

From ArchWiki
Note: Please use Chinese if possible, but English would be OK.

Revision to "Tray icon color" section in IBus article

Regarding revision 681182 to IBus#Tray icon color—is this actually true? The old schema, org.freedesktop.ibus.panel, works for me while the new one, desktop.ibus.panel does not seem to exist. The relevant schema file for ibus 1.5.24-1 (and its contents) seems to support my claim too:

/usr/share/glib-2.0/schemas/org.freedesktop.ibus.gschema.xml

-- Flyingpig (talk) 03:57, 16 June 2021 (UTC)

Standard settings of IBus should be desktop.ibus.panel, but when ibus under Gnome integration should be org.freedesktop.ibus.panel. IBus under Gnome not use desktop.ibus.panel and just bring little features.
You can check this with dconf-editor. So I guess org.freedesktop.ibus.panel works for Gnome, and desktop.ibus.panel for others.
Sorry for mistake I made.
Dragonwater (talk) 04:34, 16 June 2021 (UTC)
No worries, I was just wondering. I think org.freedesktop.ibus.panel works for other desktop environments though (except for GNOME and KDE, as mentioned in the Template:Note in IBus#Tray icon color). I can confirm that changing colour using the org.freedesktop.ibus.panel works in XFCE. Does using desktop.ibus.panel work for you? -- Flyingpig (talk)
Gnome can't see this effect of IBus#Tray icon color. But both of them not works when I try set ibus.panel.lookup-table-orientation.
Emm, I find the content is syncing of them, so I guess desktop.ibus.panel is a alias for org.freedesktop?
—This unsigned comment is by Dragonwater (talk) 05:48, 16 June 2021 (UTC). Please sign your posts with ~~~~!
I think it's just org.freedesktop.ibus.panel for every desktop environment. Just GNOME and KDE are not affected for some (or all) settings.
Okay, I don't think there is anything else to talk about here. Closing.
-- Flyingpig (talk) 06:08, 16 June 2021 (UTC)
As if ibus-setup is invaild on GNOME, I think it's GNOME made this difference. You can see ibus-rime#issues 52, it has a talk about ibus-setup not work on GNOME.
Dragonwater (talk) 04:42, 16 June 2021 (UTC)

Fcitx5: pam_env 中的 @ 需要转义

我们近日来又见到有用户的输入法配置有问题,发现阁下去掉了 pam_env 中 @ 的转义。据我所见,如果不转义 @,pam_env 会报错的(报错信息在系统日志中;不一定会影响使用,因为大部分现代应用程序并不使用 XIM)。pam_env.conf(5) 文档示例中也有转义 @ 字符。如无进一步的证据,请勿再次做此改动。 Lilydjwg (talk) 03:04, 7 November 2021 (UTC)

长久以来,我是在 profile.d 中添加的环境变量,export XMODIFIERS=@im=fcitx5,这种方式不会报任何错误,直接 echo 也是没问题的。

``` echo $XMODIFIERS  @im=fcitx5 ```

因此我以为@无需转义。这里因为文件的不同大概导致了解析的不同,确实是我的错误 Dragonwater (talk) 09:51, 7 November 2021 (UTC)