314
submitted 7 months ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

I thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I'll try my best to answer any questions here, but I hope others in the community will contribute too!

you are viewing a single comment's thread
view the rest of the comments
[-] baseless_discourse@mander.xyz 5 points 7 months ago* (last edited 7 months ago)

It is technically doable, but that would require a unified method to call when an app needs camera, and that method will show the prompt.

This would technically require developers to rewrite their apps on linux, which is not happening anytime soon.

Fortunately, pipwire and xdg-portal is currently doing this work, like when you screen share on zoom using pipwire, a system prompt will pop up asking you for what app to share. Unlike on Windows, zoom cannot see your active windows when using this method, only the one that you choose to share.

Most application framework, including GTK and electron, are actively supporting pipwire and portal, so the future is bright.

There is a lot of work in improving security and usablity of linux sandbox, and it is already much better than Windows (maybe also better than macos?). I am confident, in 5 years, linux sandbox stack (flatpak, protal, pipewire) will be as secure and usable as on android and ios.

[-] possiblylinux127@lemmy.zip 1 points 7 months ago

It probably would end up being implemented though XDG portals

[-] baseless_discourse@mander.xyz 1 points 7 months ago

If I understand correctly pipwire is supposed to be the "portal" but for audio and videos.

But I believe camera portal is already there, using pipwire. All they need to add is a popup to request usage when the app needs it.

[-] possiblylinux127@lemmy.zip 2 points 7 months ago

XDG portals is the standard interface that applications (should) use to do things on your system. It is most commonly associated with flatpaks and Wayland.

You could have pipewire as the back end but XDG portal implementation usually is controlled by the desktop.

[-] baseless_discourse@mander.xyz 1 points 7 months ago

Thanks for correcting me!

[-] MonkeMischief@lemmy.today 1 points 7 months ago

I'd love to just skip to "Linux being secure and running on my smartphone instead of Android" but we know how much an uphill battle that is hahaha.

this post was submitted on 09 Apr 2024
314 points (98.8% liked)

Linux

48334 readers
1074 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