this post was submitted on 25 Jun 2023
13 points (100.0% liked)

Linux

48061 readers
789 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm currently working on a project to make a touch screen home dashboard and entertainment device. I'm done making its player software, with MPV in the backend, and my next step is to make an Electron overlay dashboard and launcher.

Essentially, I'm looking for a kiosk-style window manager (or something that lets me auto-login and turn off window switching), that would support a transparent overlay application always on top (my Electron dashboard and launcher) over whatever app is being currently used, be it MPV playing a video, or even Steam playing some games. I'm alright with Wayland or X, whichever would have the features I need and would be the most performant!

This is my first deep dive into Linux Window Managers, so if I'm completely off base here, I would might need help to clarify things as well. Thanks in advance!

top 9 comments
sorted by: hot top controversial new old
[–] Usanam@lemm.ee 3 points 1 year ago (1 children)

You can do it with kde-plasma nogui like the steam deck

[–] MattMckenzy@lemmy.ml 3 points 1 year ago

Figuring out and emulating how the steam deck handles it is a great idea, I'll do some research.

Thanks for the info!

[–] assembly@lemmy.world 2 points 1 year ago (1 children)

I did this in 2004 for public info stations at a university. My methods are extremely dated but I did a baseline Linux deployment (original Redhat 9 I think) with KDE desktop and had it boot to a single full screen kiosk mode Firefox (maybe it was Konqueror hard to tell). From there I had a website with a UI that supported easy use via touchscreen. The keyboard mappings were all disabled for KDE so everything had to be done via local or SSH terminal. Doesn’t work for you but it was a fun project. More of fun nostalgia for me.

[–] djpm05@lemmy.ml 3 points 1 year ago

I’m working on something similar right now, PXE or usb to load iPXE, that loads a custom Ubuntu LiveCD image which auto runs a bash script to configure a VPN, and add a software repository, which then downloads the software and runs it in Firefox in kiosk mode. No hard drive needed as it runs all in-memory.

[–] l3mming@lemmy.fmhy.ml 1 points 1 year ago* (last edited 1 year ago) (2 children)

Forget window managers and definitly avoid Electron if you can. Easiest way:

firefox --kiosk https://your-app-url

[–] mpldr@beehaw.org 2 points 1 year ago

That still requires some level of graphical session though

[–] MattMckenzy@lemmy.ml 1 points 1 year ago

I'm not sure I could make a transparent overlay on top of MPV with just a Firefox kiosk.

Also, I'm curious why I should avoid Electron? Do you have another framework to suggest that would let me do this?

I'm not against learning new things if they're more adequate for my project!

[–] mpldr@beehaw.org 1 points 1 year ago (1 children)

You might want to take a look at cage which has been designed for that.

[–] MattMckenzy@lemmy.ml 1 points 1 year ago

I was looking at Cage yesterday, but it seems like it wouldn't support a transparent always on top application, in a way to give control to any application underneath. Maybe I could experiment with it and see what I can do...

load more comments
view more: next ›