mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1302] Firejail causes ibus not to work in Qt applications #888
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#888
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kennethso168 on GitHub (May 23, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1302
I cannot switch IBus input method and enter Chinese in Qt applications such as Kate, Gwenview and Dolphin when they are run with firejail.
System setup
.bashrc:
.xprofile:
Also, ibus is selected in "Interface > Default Input Method" in
qtconfig-qt4Results
From syslog I saw this line (probably not related)
Tried running without profile, ibus still not work
No lines related to firejail is found in syslog.
The same also happens to Gwenview and dolphin
However, the logs above is also likely not useful as the same errors are shown without firejail.
This only happens to Qt applications. I can still use ibus in Firefox, LibreOffice, etc. Thank you.
@nyancat18 commented on GitHub (May 23, 2017):
@kennethso168
and
do you've issues with kdenlive or krita=
@kennethso168 commented on GitHub (May 23, 2017):
Yes ibus also not work in kdenlive or krita when run with the commands
firejail --noprofile kdenliveandfirejail --noprofile krita.But as there is no default profiles for kdenlive and krita shipped with firejail, firecfg will not create a symlink so it's not affected when launched from the desktop.
@chiraag-nataraj commented on GitHub (Jul 22, 2018):
Is this still an issue?
@kennethso168 commented on GitHub (Jul 23, 2018):
Well it's been more than a year. I am no longer actively using firejail, but I still keep firejail installed. I also switched from ibus to fcitx as the IME that I use.
I just quickly did a test by running
firejail kate, and I can switch the IME and type Chinese normally in the firejail-ed kate. I really don't know why this works. Any related commits?Configuration:
I did not tried other Qt programs though, but I think likely they will also work. I'm also not sure about ibus, but in my experience ibus and fcitx will experience similar issues. I think this issue may be closed for now. If an ibus user still has this problem, this issue may be reopened.
@ghost commented on GitHub (Feb 27, 2019):
Can confirm this is still present, running git master with 18.10 (Ubuntu).
@kriswme2 commented on GitHub (Mar 20, 2019):
Can confirm that ibus not working but fcitx does
I'm using Arch linux, with
And it seems that
nodbusbreaks fcitx, so you have to disable it in your profile if you use fcitxe.g. vim /etc/firejail/chromium-common.profile and comment
nodbusfor fcitx to work on chromium@yangwenbo99 commented on GitHub (Nov 6, 2024):
Can confirm this is still a issue on recently updated Archlinux. After some trail and errors, the minimum required settings to enable ibus is similar to this workaround: