mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5925] GNOME Settings: vlc does not appear when trying to set default media player #3132
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#3132
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 @MrQvest on GitHub (Jul 26, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5925
Description
VLC, when configured with
sudo firecfg, disappears from GNOME Settings app when trying to set a default media or music playerSteps to Reproduce
sudo firecfgand leave its default configurationExpected behavior
sudo firecfgand leave its default configurationAdditional context
If the
.desktopfile located in~/.local/share/applications/is deleted, VLC appears normally in GNOME Settings AppEnvironment
Checklist
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/programhttps://gist.github.com/MrQvest/7b07fa02e99919980c2766c840892f37
@ghost commented on GitHub (Jul 26, 2023):
Have you seen https://github.com/netblue30/firejail/discussions/5074 yet? Sounds like you might need to remove the --started-from-file part in the
Exec=line. Can you post both vlc.desktop files here please? Would be interesting to see what firecfg did to it exactly.There is a recent PR that implements firecfg.d so you can create persistent overrides for problems like this. It's still in draft mode and you would need to build firejail from git.
@MrQvest commented on GitHub (Jul 26, 2023):
Removing
--started-from-filedoes not seem to add it as an entry in GNOME Settings unfortunatelyIf needed, I'm editing this to put more of the .desktop file
@rusty-snake commented on GitHub (Jul 26, 2023):
Is this a firejail bug or a GNOME bug? I.e. if you copy the .desktop from use/share to your home, does it work?
#5245
@MrQvest commented on GitHub (Jul 26, 2023):
I copied
vlc.desktopfrom/usr/share/applications/over to~/.local/share/applications/It results in the exact same outcome. Both files are exactly the same upon opening and comparing them
@rusty-snake commented on GitHub (Jul 26, 2023):
Sounds like a GNOME issue. Did you tried to logout and login again?
@MrQvest commented on GitHub (Jul 26, 2023):
Yeah. Just did that and it still does not appear in the settings
@MrQvest commented on GitHub (Jul 26, 2023):
If this has nothing to do with firejail I guess I'll just delete the .desktop file for now. Do you know how I can open an issue to the GNOME team regarding this?
@rusty-snake commented on GitHub (Jul 26, 2023):
The issue tracker for the GNOME settings UI can be found at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues. However AFAIK GNOME recommends that you open issues downstream (https://bugzilla.redhat.com/bugzilla/) if you installed it from there.