mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6057] contrib/syntax: firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile" #3171
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#3171
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 @mammo0 on GitHub (Oct 20, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6057
Description
The firejail installation also adds a language definition file in
/usr/share/gtksourceview-5/language-specs/firejail-profile.lang(path on Arch Linux).The
mimetypesproperty contains the sectiontext/plain. This causes for example the Gnome Editor to recognize every simple text file as a firejail profile file. See this issue: https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/612If I change the property line to
everything works as expected.
Steps to Reproduce
Steps to reproduce the behavior
asdfand hit enterExpected behavior
This should not change the default document type.
Actual behavior
Document type gets set to "Firejail Profile", which makes the text light up as syntax errors.
Behavior without a profile
N/A
Additional context
N/A
Environment
Checklist
/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
N/A
@rusty-snake commented on GitHub (Oct 20, 2023):
PR welcome ;)
@mammo0 commented on GitHub (Oct 21, 2023):
@rusty-snake done :)
@bjesus commented on GitHub (Dec 9, 2024):
If anyone is still facing this issue and is confused why — it's because Firejail didn't have a release since Jan 2023.