[GH-ISSUE #3363] dolphin: allow lua for playing videos with mpv #2114

Closed
opened 2026-05-05 08:47:39 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @AloisJanicek on GitHub (Apr 17, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3363

mpv video player launched from dolphin by clicking on video file will not start (will not appear on screen at all) unless lua is enabled in dolphin.profile.
Looks like some kind of lua repl for mpv input commands was introduced in mpv v0.31.0 released at the end of December 2019.
Prior to that playing videos in mpv launched from dolphin with click on the video file used to work without problems.

Solution
enabling lua interpreters with include allow-lua.inc in dolphin.profile

Desktop

  • Arch Linux
  • Firejail version 0.9.63 (AUR pkg firejail-git, r6095.cde87023-1)
Originally created by @AloisJanicek on GitHub (Apr 17, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3363 `mpv` video player launched from dolphin by clicking on video file will not start (will not appear on screen at all) unless `lua` is enabled in dolphin.profile. Looks like some kind of lua repl for `mpv` input commands was introduced in [mpv v0.31.0](https://github.com/mpv-player/mpv/releases/tag/v0.31.0) released at the end of December 2019. Prior to that playing videos in `mpv` launched from dolphin with click on the video file used to work without problems. **Solution** enabling lua interpreters with `include allow-lua.inc` in dolphin.profile **Desktop** - Arch Linux - Firejail version 0.9.63 (AUR pkg firejail-git, r6095.cde87023-1)
Author
Owner

@ghost commented on GitHub (Apr 18, 2020):

Hi, thank you for reporting this issue. As it happens, I was looking into reworking all our file manager profiles to avoid issues like yours. It doesn't make much sense to block access to commonly used interpreters (like Lua, Perl, Python, ...) for that category of applications. I'll add a fix in the dolphin profile.

<!-- gh-comment-id:615683061 --> @ghost commented on GitHub (Apr 18, 2020): Hi, thank you for reporting this issue. As it happens, I was looking into reworking all our file manager profiles to avoid issues like yours. It doesn't make much sense to block access to commonly used interpreters (like Lua, Perl, Python, ...) for that category of applications. I'll add a fix in the dolphin profile.
Author
Owner

@rusty-snake commented on GitHub (Apr 18, 2020):

@glitsj16 would you think removing disable-interpreters.inc makes more sense. With the current dolphin profile you can't start programs written in python, perl, ...

<!-- gh-comment-id:615713363 --> @rusty-snake commented on GitHub (Apr 18, 2020): @glitsj16 would you think removing `disable-interpreters.inc` makes more sense. With the current dolphin profile you can't start programs written in python, perl, ...
Author
Owner

@ghost commented on GitHub (Apr 18, 2020):

@rusty-snake Agreed. That's why I just opened #3365.

<!-- gh-comment-id:615742160 --> @ghost commented on GitHub (Apr 18, 2020): @rusty-snake Agreed. That's why I just opened #3365.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2114
No description provided.