mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6204] mpv: profile breaks thumbfast thumbnails #3222
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#3222
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 @jtrv on GitHub (Feb 8, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6204
Description
Using the default mpv.profile with uosc and thumbfast breaks thumbfast's progress bar thumbnail previews.
Steps to Reproduce
Steps to reproduce the behavior
Expected behavior
Hovering over the progress bar at the bottom of the screen should show thumbnail previews for the corresponding time in the video that is hovered.
Actual behavior
A single thumbnail is shown for the first point hovered over, but it won't update as you move across the progress bar.
Behavior without a profile
Works as expected
Additional context
https://github.com/po5/thumbfast/blob/master/thumbfast.lua
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
https://paste.rs/aJS4V.txt
@ghost commented on GitHub (Feb 8, 2024):
Hello. As it happens I use uosc myself with mpv thru firejail. Here are my observations. Disclaimer: I didn't change thumbfast's config, so there are other avenues beside what's briefly mentioned here.
For starters, there have been several changes to our mpv.profile compared to what's in the 0.9.72 release. Perhaps it's worthwhile to use the firejail-git package from the AUR for a smoother experience.
That being written, I did experiment a bit with the
thumbfastLua script you referenced. It took some extra loosening of mpv's sandbox, as the Lua script also calls out other commands via subprocesses. Long story short, I couldn't put together a more restrictiveprivate-bin(yet), but the below mpv.local worked for me:Whether or not you're willing to cripple mpv's sandbox for the thumbfast gain is up to you. Just wanted to point that out, even though it's a nice GUI addition.
@jtrv commented on GitHub (Feb 8, 2024):
@glitsj16 thank you, all it needed was
tail@ghost commented on GitHub (Feb 8, 2024):
@jtrv Oh that's a nice find. Having private-bin intact is alwats a plus. You're welcome. Feel free to close if there's nothing left actionable now.