mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1728] No window bar options using gimp #1170
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#1170
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 @thiswillbeyourgithub on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1728
Hey netblue :)
I didn't find a similar previous issue, I hope I didn't miss it :)
I never changed the default config for gimp, only added one plugin and I noticed that running Gimp 2.8 with the default firejail profile seems to have a major issue, that is only resolved using
firejail --noprofile /usr/bin/gimp-2.8.The issue is that there is no "menu options" in the app bar. Let me put a picture :

To the left : gimp with firejail, to the right : gimp with --noprofile. As you can see at the top of the right window I can get those options. They are seemingly out of reach with firejail (left one) which makes gimp pretty unusable : even the unity dash can't access them (alt shortcut)
Firejail version : 0.9.52, gimp version : 2.8.16, ubuntu 16 with unity
I'll post below the terminal output of the two launch. This might have to do with authorizing plugins for gimp, or this might be a different issue alltogether (see bold text below). Of course let me know if I can be of any help.
Here is the one with the regular firejail profile (I removed the blank lines)
And the one with --noprofile
@SkewedZeppelin commented on GitHub (Jan 13, 2018):
Could you comment "blacklist /run/user/*/bus" and "private-tmp" in /etc/firejail/gimp.profile and see if either fixes it?
@thiswillbeyourgithub commented on GitHub (Jan 13, 2018):
private-tmp was already commented (I tried uncommenting it for testing and it didn't solve anything)
there is no
blacklist /run/user/*/busline anywhere. Doingcat /etc/firejail/*|grep 'blacklist /run/userreturned nothing...@Fred-Barclay commented on GitHub (Jan 13, 2018):
I believe the error is in the line
net none(at least, I'm getting the same error on my Ubuntu 16.04 virtual machine when this line is active). Can you comment it out and see if the titlebar is visible afterwards?@thiswillbeyourgithub commented on GitHub (Jan 13, 2018):
I don't have this line.
My profile is like that, is that an issue ?
@smitsohu commented on GitHub (Feb 22, 2018):
@thiswillbeyourgithub
Take a look in /usr/local/etc/firejail/gimp.profile and comment
net none, if you find it there.There is probably a
noexec ${HOME}in the profile. Try it with commenting this line.@Vincent43 commented on GitHub (Feb 23, 2018):
@thiswillbeyourgithub
First of all use official profile: https://github.com/netblue30/firejail/blob/master/etc/gimp.profile . I don't know from where you got your current one.
@thiswillbeyourgithub commented on GitHub (Feb 24, 2018):
@smitsohu
There is no
net none, and commentingnoexec ${HOME}didn't solve the issue.@Vincent43 I copied the file you linked (I have no idea why the content didn't match what I have...) and now I get :
I don't understand this issue, I made sure to use the original file with the same permission as before (i.e. I edited the original file to put your text), I tried with sudo even. The permissions of the file match the one of the other profile as well as the owner...
@Vincent43 commented on GitHub (Feb 24, 2018):
How did you install firejail? Did you build it manually or through package manager?
You can try deleting
/usr/local/etc/firejail,/usr/local/bin/firejailand/usr/local/lib/x86_64-linux-gnu/firejail(if they exists) an reinstall it from from official ubuntu packages:https://packages.ubuntu.com/bionic/firejail
https://packages.ubuntu.com/bionic/firejail-profiles
Firejail doesn't have much dependencies so it should work on older Ubuntu version.
@thiswillbeyourgithub commented on GitHub (Mar 6, 2018):
@Vincent43 Through the package manager
I uninstalled firejail via
sudo apt-get remove --purge firejailas well as deleting all the files I could find that seemed related.Also I removed firecfg and installed firectl. This seems like a key step. I didn't know firecfg was outdated or something.
I then did
sudo apt-get install firejailand enabled gimp via firectl.Gimp seems to be running well and contained (checked via
firejail --list|grep gimp) and the interface has all the right buttons.So as far as I'm concerned this issue seems fixed to me, and the issue seemed to be realted to my use of firecfg.
Thanks :)