mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6749] libreoffice: cannot use IBus #3360
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#3360
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 @Lidoca on GitHub (May 13, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6749
Description
Running
libreofficewith firejail default profile makes IBus unavailable, resulting users cannot switch input sourcesSteps to Reproduce
libreofficewith default Firejail profile (sudo firecfg)Expected behavior
There's no problem with IBus, input sources can be changed
Actual behavior
Unable to connect to IBus, input source cannot be changed
Behavior without a profile
Through the command
firejail --noprofile libreoffice, the behavior is slightly different, Permission denied instead of No such file or directoryIBus is usable only if LibreOffice is not run through Firejail (no
--noprofileorfirecfgis configured)Additional context
Any other detail that may help to understand/debug the problem
Environment
uname -srm): Linux 6.11.0-25-generic x86_64mesa 1:24.3.3-2"): libreoffice 4:24.2.7-0ubuntu0.24.04.4
firejail --version): 0.9.74Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@Lidoca commented on GitHub (Aug 30, 2025):
Let me know if I can assist in any way or help prioritize this.
@kmk3 commented on GitHub (Aug 31, 2025):
What desktop environment name/version?
Wayland or Xorg?
What is the output of the following?
Does it work with the following?
@rusty-snake commented on GitHub (Aug 31, 2025):
Maybe also try https://github.com/netblue30/firejail/issues/116#issuecomment-1007921471
@kmk3 if this works, we should add it to Wiki FAQ.
@Lidoca commented on GitHub (Sep 1, 2025):
I'm using GNOME 46, on Wayland.
The output of
env | LC_ALL=C sort | grep -i ibusisfirejail --profile=noprofile /usr/bin/libreofficedoes not fix the problem.But the following command works.
Even without disabling Firejail profile.
@kmk3 commented on GitHub (Sep 1, 2025):
Were those variables set automatically by the distribution or did you set them
manually?
Nice.
@Lidoca commented on GitHub (Sep 1, 2025):
The variables are default value by the distribution.
Too bad that the symbolic link is set to
/usr/local/bin/libreoffice.@kmk3 commented on GitHub (Sep 2, 2025):
What do you mean?
That is set by firecfg; see
man firecfgand #2877.@Lidoca commented on GitHub (Sep 2, 2025):
I didn’t know that. Any thought about setting the LibreOffice default profile to
/usr/bin/libreoffice?@kmk3 commented on GitHub (Sep 2, 2025):
I have no idea what you mean; that is likely the path to the libreoffice
program itself and firejail does not modify files that belong to other
packages (especially binaries).
Firstly, make sure that you know how the
$PATHvariable works on Linux(search it if not sure).
Then please read
DESKTOP INTEGRATIONinman firejail, all ofman firecfgand /etc/firejail/libreoffice.profile.