Comments (14)
你好,偶然见我发现我的问题好像已经解决了,我需要给每个应用都打开Dbus会话总线。
这不应该啊,他们都应该使用 org.freedesktop.portal通过xdg dbus proxy穿透沙盒
from fcitx5.
这是我在Hyprland设置的环境变量,可能是这里出错了吗。我有几个没有按照维基的变量填写,用的别人的配置文件里的变量,我还是想保守一些。
env = QT_IM_MODULE, fcitx
env = XMODIFIERS, @im=fcitx
#env = GTK_IM_MODULE, wayland # Crashes electron apps in xwayland,例如出现漏字的情况(但是我的Electron还是漏字)
env = GTK_IM_MODULE, fcitx # My Gtk apps no longer require this to work with fcitx5 hmm
env = SDL_IM_MODULE, fcitx
env = GLFW_IM_MODULE, ibus
env = INPUT_METHOD, fcitx
麻烦您了
from fcitx5.
你好,偶然见我发现我的问题好像已经解决了,我需要给每个应用都打开Dbus会话总线。
from fcitx5.
是与xdg-desktop-portal有关吗,我装的Hyprland和gtk版本,文件选择器可以正常运行。这个东西需要手动启动吗。我还注意到,我电脑里有xdg-dbus-proxy包。我需要反馈什么信息或者去哪里发起提问嘛。好像我之前用arch时候,大部分应用不用开dbus会话总线也可以正常启动。但在gentoo,频频报错,之后我自己乱试,试出来的。
from fcitx5.
你进行了什么操作?
from fcitx5.
类似添加环境变量,把想装在flatpak的软件安装进系统,这些软件在系统中能调用输入法,上面我贴了在Hyprland内设置的变量。之后在flatseal中每个按钮的开开关关,最后设置是和flatseal默认的权限设置一样,只是都打开了dbus会话总线。之后就没有更多操作了。
from fcitx5.
什么开关,哪个开关
from fcitx5.
例如QQ,其余应用也一样我只打开了Dbus会话总线这个开关
from fcitx5.
你不应当需要 flatpak 程序可以访问完全的 dbus session 服务
flatpak run --command=sh org.gnucash.GnuCash
关掉开关,用上面的命令进入任意的 flatpak app 的 container
运行 dbus-send --session --dest=org.freedesktop.DBus --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
能看到输出中包含 org.freedesktop.portal.Fcitx 吗?
method return time=1714009650.979414 sender=org.freedesktop.DBus -> destination=:1.7742 serial=4294967295 reply_serial=2
array [
string "org.freedesktop.DBus"
string ":1.7"
string ":1.8"
string ":1.23"
string ":1.345"
string ":1.4265"
string ":1.4739"
string ":1.4741"
string ":1.4743"
string ":1.4883"
string ":1.7689"
string ":1.7690"
string ":1.7742"
string "org.freedesktop.portal.Desktop"
string "org.freedesktop.portal.Documents"
string "org.freedesktop.portal.Fcitx"
string "org.freedesktop.portal.IBus"
string "org.gtk.vfs.Daemon"
string "org.gtk.vfs.Metadata"
string "org.gtk.vfs.UDisks2VolumeMonitor"
string "org.gtk.vfs.mountpoint_228449"
string "org.gtk.vfs.mountpoint_228469"
string "org.gtk.vfs.mountpoint_dnssd"
string "org.gtk.vfs.mountpoint_http"
]
from fcitx5.
报错了:[📦 org.gnucash.GnuCash ~]$ dbus-send --session --dest=org.freedesktop.DBus --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
Failed to open connection to "session" message bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
from fcitx5.
你的系统不设置 DBUS_SESSION_BUS_ADDRESS 的吗
from fcitx5.
我还不知道这个地方,完全按照维基配置的,没有注意到这里
from fcitx5.
你先看看你在 host 上有没有这个环境变量
一种可能,你没有用 systemd,或者没有用 pam_systemd 只要用 systemd 的发行版都不会有这个问题
如果你没有用 systemd 的,那你可能也没有启动 session bus,或者启动了,但是没有设置 DBUS_SESSION_BUS_ADDRESS
你自己看看你属于哪种情况
from fcitx5.
确实,我用的openrc,关于dbus这里我也没有配置,我在我的启动脚本上改用dbus-run-session Hyprland,一切都正常了,十分谢谢你的帮助😄😄😄
from fcitx5.
Related Issues (20)
- Arch Linux, hibernate 成功, 然后然后唤醒后, fcitx5 在 wezterm 中切换中文失效 HOT 9
- Input Signal Target not Correct in Hyprland HOT 4
- 建议学习其它输入法的2个优点 HOT 1
- Duplicate chinese characters after switch language HOT 3
- Wayland 环境下无法在 GVim 中调出 HOT 2
- 5.1.9 buggy in hyprland HOT 1
- Fcitix5 makes the focus on the Firefox text fields flutter, eventually it crashes HOT 2
- App lagging when hovered after using other applications HOT 4
- Failed to build from source with ninja 1.12+ HOT 1
- Input issues after upgrading fcitx 5.1.9 HOT 14
- Render "invalid utf8 string" will crash fcitx5 HOT 10
- run pacman -Syu today, fcitx5 broken (core dumped) HOT 39
- 中文输入法在查找应用程序和设置里的问题 HOT 2
- 在KDE6状态与通知栏里点击输入法图标会导致输入法崩溃 HOT 1
- 候選字界面跑到視窗左上方,無法輸入中文 HOT 3
- [InputPanel/Highlight] 下的边框颜色错误调用了 [InputPanel/Background] 下面的边框颜色值 HOT 2
- 用fcitx-rime,fcitx5-chinese-addons 在konsole与qterminal中输入时光标不跟随 HOT 5
- When installed package "fcitx5", Kdialog letting user to install package "kcm-fcitx" conflicts with package "fcitx5". HOT 2
- Fcitx5 lagging HOT 5
- Pressing RightAlt key closes the compose-mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcitx5.