mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1789] Konsole forgets theme #1212
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#1212
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 @idnovic on GitHub (Feb 26, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1789
Konsole forgets the console theme. Not the gui. I am talking about the terminal itself.
I do not know how to explain why it happens or when.
But unter "settings - profiles" new profiles get created "Profile 1" "Profile 2" etc
They increase in the numbering.
The bug is that I configured a theme and it gets ignored.
I tryed to fix it by editing the theme config files in the filesystem (home)
/home/idnovic/.local/share/konsole/I deleted the other profiles. I can not regenerate the error now.
@SkewedZeppelin commented on GitHub (Feb 26, 2018):
We don't provide a profile for Konsole, which profile are you using? And if you did create a profile for it, its settings are blacklisted by default by disable-common.inc.
@idnovic commented on GitHub (Feb 26, 2018):
my bad, I think it happend if I open konsole over dolphin.
Yes just tested it. The new Konsole window lost the settings again.
Well I think the dolphin profile is responsible.
Does it make sense to allow
.local/share/konsole/?? reading for dolphinThe new konsole window is not sandboxed but opened over dolphin it forgets the settings.
@idnovic commented on GitHub (Feb 26, 2018):
and now the normally opened konsole window lost its theme too.
The konsole window opened over dolphin must have set the "new" theme
@smitsohu commented on GitHub (Feb 26, 2018):
If you go to /etc/firejail/disable-common.inc and change
blacklist ${HOME}/.local/share/konsoletoread-only ${HOME}/.local/share/konsole, does it fix your issue?IMHO
read-onlyshould actually be sufficient from a security perspective.@idnovic commented on GitHub (Feb 26, 2018):
No it does not.
It seems my default profile does not get loaded. I can select it in the options as default profile and nothing happends (the single only profile).
If I now click on < Settings - Switch profile - my profile > it loads the profile.
maybe their is an configuretion file stored somewhere else.
@idnovic commented on GitHub (Feb 26, 2018):
I choose "run in single instance" in the options of konsole. Still opens an other instance.
Theme is fine for the time beeing.
@smitsohu commented on GitHub (Mar 1, 2018):
If konsole is launched through dolphin, it runs inside the dolphin sandbox. This makes all custom profiles inaccessible, because they are stored in
~/.local/share/konsolewhich is blacklisted.The konsole default profile is defined in
~/.config/konsolerc. It seems that if konsole can't find this default profile in (blacklisted)~/.local/share/konsole, it partially resets~/.config/konsolerc, leading to described behavior.The loss of konsole settings can be prevented by
read-only ~/.config/konsolerc, should it not be sufficient to switch fromblacklist ~/.local/share/konsoletoread-only ~/.local/share/konsole.Thank you for the bug!
@idnovic commented on GitHub (Mar 2, 2018):
It is fixed for me with your suggested edits.
Thank you. You can close this now after you fixed it in the source code 👍