1
16
submitted 1 hour ago by [email protected] to c/[email protected]
2
72
submitted 4 hours ago by [email protected] to c/[email protected]

publication croisée depuis : https://lemmy.world/post/17613422

PeerTube is a decentralized and federated alternative to YouTube. The goal of PeerTube is not to replace YouTube but to offer a viable alternative using the strength of ActivityPub and P2P protocols.

Being built on ActivityPub means PeerTube is able to be part of a bigger social network, the Fediverse (the Federated Universe). On the other hand, P2P technologies help PeerTube to solve the issue of money, inbound with all streaming platform : With PeerTube, you don't need to have a lot of bandwidth available on your server to host a PeerTube platform because all users (which didn't disable the feature) watching a video on PeerTube will be able to share this same video to other viewers.

If you are curious about PeerTube, I can't recommend you enough to check the official website to learn more about the project. If after that you want to try to use PeerTube as a content creator, you can try to find a platform available there to register or host yourself your own PeerTube platform on your own server.

The development of PeerTube is actually sponsored by Framasoft, a french non-for-profit popular educational organization, a group of friends convinced that an emancipating digital world is possible, convinced that it will arise through actual actions on real world and online with and for you!

Framasoft is also involved in the development of Mobilizon, a decentralized and federated alternative to Facebook Events and Meetup.

If you want to contribute to PeerTube, feel free to:

3
10
submitted 3 hours ago by [email protected] to c/[email protected]

Hi,

I've noticed something quite odd, but I don't know if the problem come from Linux itself or nginx..

In order to grant nginx access to a directory let say your static see: https://stackoverflow.com/questions/16808813/nginx-serve-static-file-and-got-403-forbidden

These parent directories "/", "/root", "/root/downloads" should give the execute(x) permission to 'www-data' or 'nobody'. i.e.

but it seem not only the direct parent need to be given XX5 but all the chain

for example

example
└── sub1
    └── sub2
        └── static

it seem you need to set allow others to read and execute 5 all the parents example, sub1, sub2 Why is that !?? I've found it so akward and unsecure ! is there a workaround ?

Thanks.

4
48
submitted 6 hours ago by [email protected] to c/[email protected]

Hello. I released a new version of my theme changing app for Linux.

It adds the feature to (force) set the theme of gnome libadwaita apps without libadwaita patches, among other minor tweaks. Besides that, it can change GTK2/3/4, Kvantum, icon and cursor themes, GTK CSS and some appearance settings across GUI frameworks.

Hope this is useful.

5
51
submitted 7 hours ago by [email protected] to c/[email protected]
6
34
submitted 7 hours ago by [email protected] to c/[email protected]

... I mean, WTF. Mozilla, you had one job ...

7
17
submitted 10 hours ago by [email protected] to c/[email protected]
8
13
Linux Myths (linux-myths.pages.dev)
submitted 14 hours ago* (last edited 14 hours ago) by [email protected] to c/[email protected]
Linux Myths

A compilation of linux myths and misconceptions, busted and explained

Purpose

To catalog and provide useful responses to common linux misconceptions and myths. To serve as a useful reference for new and old users alike.


I'm not affiliated with the website or its creator(s).

9
60
submitted 1 day ago by [email protected] to c/[email protected]

After doing some google-fu, I've been puzzled further as to how the finnish man has done it.

What I mean is, Linux is widely known and praised for being more efficient and lighter on resources than the greasy obese N.T. slog that is Windows 10/11

To the big brained ones out there, was this because the Linux Kernel more "stripped down" than a Windows bases kernel? Removing bits of bloated code that could affect speed and operations?

I'm no OS expert or comp sci graduate, but I'm guessing it has a better handle of processes, the CPU tasks it gets given and "more refined programming" under the hood?

If I remember rightly, Linux was more a server/enterprise OS first than before shipping with desktop approaches hence it's used in a lot of institutions and educational sectors due to it being efficient as a server OS.

Hell, despite GNOME and Ubuntu getting flak for being chubby RAM hog bois, they're still snappier than Windows 11.

MacOS? I mean, it's snappy because it's a descendant of UNIX which sorta bled to Linux.

Maybe that's why? All of the snappiness and concepts were taken out of the UNIX playbook in designing a kernel and OS that isn't a fat RAM hog that gobbles your system resources the minute you wake it up.

I apologise in advance for any possible techno gibberish but I would really like to know the "Linux is faster than a speeding bullet" phenomenon.

Cheers!

10
222
submitted 1 day ago by [email protected] to c/[email protected]
11
29
submitted 1 day ago* (last edited 22 hours ago) by [email protected] to c/[email protected]

i want to share audio over network so that i can use my tv as a wireless speaker. so i chose obs studio to make a stream out of my system audio coz i had it installed already. i went to settings -> output (advanced) -> recording (custom) and set ffmpeg output to output to url and set the url to udp://192.168.43.87:8081 and set container format to mp3 just to get started. so to test things out i ran mpv udp://192.168.43.87:8081 on the same machine and it plays audio. but when i tried accessing it from my android phone with mpv client, it doesnt play the audio, it just shows black screen for while and return to main menu of mpv app. thanks in advance.


edit

iptables:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             anywhere            

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
12
22
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

DroidCam is a freemium application which allows you to use your phone as a web camera (thus getting a better picture quality for meetings than ordinary webcams)

So, needless to say, it's very helpful.

Now, I have been facing a number of issues with this application for a few days and I felt it would be best if I just share stuff regarding how I make it work seamlessly, it won't look good when you are late for a meeting because you are troubleshooting droidcam, so here's how I use it.

  1. v4l2loopback package can cause a lot of problems, so, I would suggest you to download it from source, you can do that using this script given below (this also installs droidcam on your linux computer)

This isn't the most efficient script there is, but it works.

First, run the command

vim installation_droidcam.sh && chmod +x installation_droidcam.sh

(you might have vi editor installed by default, so if you don't have vim, just replace vim with vi, if neither are available, run sudo apt install vim, I personally use featherpad)

Now, paste the below script into your text editor (this doubles as a reinstallation script too, but if you want the latest and greatest, you would have to replace the installation commands of droidcam given below with whatever is available here on the official website

#!/bin/bash

cd ~

pkill droidcam

sudo /opt/droidcam-uninstall

# installation script for droidcam
# if you want the latest version, go to
# https://www.dev47apps.com/droidcam/linux/
cd /tmp/
wget -O droidcam_latest.zip https://files.dev47apps.net/linux/droidcam_2.1.3.zip
# sha1sum: 2646edd5ad2cfb046c9c695fa6d564d33be0f38b
unzip droidcam_latest.zip -d droidcam
cd droidcam && sudo ./install-client
# end of installation script


cd ~

sudo rm -r v4l2loopback

pkill droidcam


gh repo clone umlaeute/v4l2loopback

cd v4l2loopback

make && sudo make install $ sudo depmod -a

cd ~

sudo modprobe v4l2loopback

Now, save the script and exit it.

Everything required for droidcam to work has been installed on your laptop (you would still have to install Droidcam (green) on your android device and set it up over there tho, I am not gonna guide with that)

Here's a video for that by Mental Outlaw

Now, you would have to edit the desktop entry for droicam on your laptop to include sudo modprobe v4l2loopback command, because this needs to be running for droidcam to work. So, to do that, we will create another script

run vim /home/$USER/droidcam_start_menu_libre_desktop_file.sh && chmod +x /home/$USER/droidcam_start_menu_libre_desktop_file.sh and paste the below script and save it

#!/bin/bash

sudo modprobe v4l2loopback

/usr/local/bin/droidcam

After this, menulibre if you don't have it already by doing sudo apt install menulibre and edit the desktop file entry for droicam such that it looks like the image below (make sure you Tick Run in Terminal) as you need to have v4l2loopback running in the background for droidcam to work.

In the command text box, you much have /home/$USER/droidcam_start_menu_libre_desktop_file.sh (location of the script we just created) and now save it.

And that's it!

From now on, you would be able to start droidcam (while keeping droicam on on your android device) The terminal would open, enter your password and you can now connect and use your phone as a second camera (a much better second camera)

I haven't been very articulate, so doubts are welcome

desktop entry should look like this

13
186
Linux 6.10 released (lore.kernel.org)
submitted 1 day ago by [email protected] to c/[email protected]
14
34
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

CVE-2017-5226 is a issue with bubblewrap that allows a program running in a sandbox to excape and get the same privileges as a the parent process. I recently discovered this by mistake and it is fairly concerning to me. ~~I believe it applies to Flatpak as Flatpak uses bubblewrap under the hood.~~

~~Many people like to boast about how secure and private flatpak and some even run untrusted software in it. However, the reality is that there hasn't been a lot of testing and the fact that this CVE still exists but isn't well known is concerning.~~

The reason it wasn't patched is that it is really hard to properly fix. The work around is to call bubblewrap with the --new-session flag as this effectively prevents the excape. However, this breaks interactive programs such as htop. Also the bubblewrap team believes this is a issue that should be solved downstream as this CVE is technically not a CVE in the traditional sense.

I think it is still better to run flatpak over non flatpak but it is something to be aware of

Edit:

It doesn't apply to flatpak as it is patched in 1.3.1and higher https://github.com/flatpak/flatpak/security/advisories/GHSA-7gfv-rvfx-h87x

Basically this is a communication and people problem not a technical one

Edit2:

This isn't exploitable on modern systems with 6.1 or newer with the way most distros compile the kernel

15
102
submitted 1 day ago by [email protected] to c/[email protected]

A new CachyOS snapshot for July 2024 is out today with various improvements and some exciting new features, especially for AMD users, as well as the usual bug fixes and other changes to improve your experience.

Starting with this release, CachyOS will automatically enable a software repository on new installations that will be used to provide the best performance for AMD Zen 4 and Zen 5 machines. In addition, the ISO now features automatic architecture checks for the Zen 4/Zen 5 repository and CachyOS’s hardware detection tool (chwd) received support for AMD GPUs for better detection of official ROCm-supported GPUs.

16
61
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

As I understand it, X11 has many inherent security concerns, including programs being able to read the contents of other windows and intercept keystrokes. Wayland addresses these concerns but at the moment breaks certain functions like screen readers, cursor warping, and the ability of a program to resize its own window.

I am curious as to how the display protocols of MacOS and Windows handle these situations differently. How does a program in those operating systems gain permission to read the contents of other windows, if at all? What is to be done in Wayland for these functions to be more seamless or are there inherent obstacles?

17
265
submitted 1 day ago by [email protected] to c/[email protected]

Shameless plug: I am the author.

18
32
submitted 1 day ago by [email protected] to c/[email protected]

I'm trying to extract the frames of a video as individual images but it's really slow, except when I'm using jpeg. The obvious issue with jpegs is the data loss from the compression, I want the images to be lossless. Extracting them as jpegs manages about 50-70 fps but as pngs it's only 4 fps and it seems to continue getting slower, after 1 minute of the 11 minute video it's only 3.5 fps.

I suspect it's because I'm doing this on an external 5tb hard drive, connected over USB 3.0 and the write speed can't keep up. So my idea was to use a different image format. I tried lossless jpeg xl and lossless webp but both of them are even slower, only managing to extract at about 0.5 fps or something. I have no idea why that's so slow, the files are a lot smaller than png, so it can't be because of the write speed.

I would appreciate it if anyone could help me with this.

19
24
Fedora Logo Template for Canvas (canvas.fediverse.events)
submitted 2 days ago by [email protected] to c/[email protected]
20
50
submitted 2 days ago by [email protected] to c/[email protected]

I know that GUI does not cover most of functionalities, for good reasons - being specialized to task (like files app), it provides more fine-grained experience.

Yet, I find that there are common commands which is terminal-only, or not faithfully implemented. for instance,

  • Commands like apt update/apt upgrade might be needed, as GUI may not allow enough interactions with it.
  • I heard some immutable distros require running commands for rollbacks.

These could cause some annoyance for those who want to avoid terminal unless necessary (including me). Hence, I bet there are terminal emulators which restricts what commands you could run, and above all, present them as buttons. This will make you recall the commonly used commands, and run them accordingly. Is there projects similar to what I describe? Thanks!

21
199
submitted 3 days ago by [email protected] to c/[email protected]
22
306
submitted 3 days ago by [email protected] to c/[email protected]
23
39
How I manage my KDE email (pointieststick.com)
submitted 2 days ago by [email protected] to c/[email protected]

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

24
75
submitted 3 days ago by [email protected] to c/[email protected]
25
30
How I manage my KDE email (pointieststick.com)
submitted 2 days ago by [email protected] to c/[email protected]

Interesting workflow.

Of course the fact that Nate uses Thunderbird instead of KMail explains a lot. One day I hope KMail/Akonadi get the attention/work they need to become viable options.

view more: next ›

Linux

45773 readers
1173 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