-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib/syntax: firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile" #6057
Labels
bug
Something isn't working
Comments
PR welcome ;) |
@rusty-snake done :) |
kmk3
changed the title
current firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile"
firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile"
Oct 21, 2023
kmk3
changed the title
firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile"
contrib/syntax: firejail-profile.lang causes Gnome Editor to recognize every plain text document as "Firejail Profile"
Oct 22, 2023
glitsj16
pushed a commit
that referenced
this issue
Oct 22, 2023
) The `mimetypes` property contains the section `text/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/612 Fixes #6057.
If anyone is still facing this issue and is confused why — it's because Firejail didn't have a release since Jan 2023. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
mimetypes
property 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
asdf
and 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 no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
N/A
The text was updated successfully, but these errors were encountered: