this post was submitted on 29 May 2024
28 points (96.7% liked)
Linux
48207 readers
814 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't have any experience with your exact question.
But I would look into xinit and try if you can start just mpv.
If this doesn't work look for a slim WM and configer it that the applications are displayed in fullscreen and launch mpv after the WM.
Probably any of the tiling window managers should work: https://wiki.archlinux.org/title/Window_manager
yeah, that's the main question - do I need a window manager, when I all want is just full screen?
I've found something called mpv-kiosk, but that's a snap and that monstrosity is the opposite of what I need.
I also found this, It's for a RaspberryPi but surely can be adapted:
https://gist.github.com/seffs/2395ca640d6d8d8228a19a9995418211
You shouldn't need a window manager, you should be able to pass a tell mpv to just run full screen.
Alternativly, if you're up for a bit more work, it looks like you can get mpv to run in tge framebuffer and so not need ecen X11. It might take recompiling a few packages, I'm not sure whether the options are built by default now, but you could have a look at this thread fir example: https://bbs.archlinux.org/viewtopic.php?id=176072
the fb route would be awesome, I'm adding this to my research list. would video playback be accelerated in this case?
I believe so, but that's definitely something you'd need to check yourself.
You can look at the source of the snap and check what it does