Linux

47237 readers
3343 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
51
52
53
 
 

Hi all! I'm trying to learn more about NixOS and wondering if anyone had an material they'd recommend that was Flake centric?

I'm planning to test drive NixOS on a secondary laptop as a learning opportunity- not planning on using it as a daily driver at this time, so I'm not too concerned about the learning curve; I realize it'll be a bumpy and steep road!

I did want to give a shout-out to @[email protected] and everyone who replied in the NixOS beginner resources thread! Tons of good content shared there that I'm still working my way through.

54
 
 

Work on realtime preemption for the Linux kernel got its start almost exactly 20 years ago (though it had its roots in earlier work, of course). It is fair to say that finishing that job has taken a bit longer than anybody involved would have expected. Now, though, Sebastian Andrzej Siewior has posted a brief patch series making it possible to enable realtime preemption in the mainline kernel on three architectures.

55
 
 

On Debian-based distros, when an app is available as a DEB or an AppImage (that doesn't self-update), but no APT repository, PPA or Flatpak, the only option is to manually download each update, and usually manually check even whether there are updates.

But, what if those would be upgraded at the same time as everything else using the tools you're familiar with ?

dynapt is a local web server that fetches those DEBs (and AppImages to be wrapped into DEBs) wherever those are, then serves these to APT like any package repository does.

I started building it a few months ago, and after using it to upgrade apps on my computers and servers for some time, I pre-released it for the first time last week.

The stable version will come with a CLI wizard to avoid this manual configuration.

Feedback is welcome :)

56
 
 

From: Alejandro Colomar <alx-AT-kernel.org>

Hi all,

As you know, I've been maintaining the Linux man-pages project for the last 4 years as a voluntary. I've been doing it in my free time, and no company has sponsored that work at all. At the moment, I cannot sustain this work economically any more, and will temporarily and indefinitely stop working on this project. If any company has interests in the future of the project, I'd welcome an offer to sponsor my work here; if so, please let me know.

Have a lovely day! Alex

57
58
 
 

I tried to install Arch Linux on my old faithful latitude 7490. After partitioning and formatting the drive I tried to mount the root partition and got this random glitch. When I unmount it the glitch stops. Maybe my laptop is trying to tell me I'm not ready for Arch 😅

I haven't seen something like this before so I thought I'd share.

In the video: The screen of a laptop showing Arch Linux liveboot terminal. After creating partition table and formatting the partitions. I try to mount thebroot partition to the liveboot filesystem. The mounting succeeds but the text on the screen starts to shift andnjump eratically. Looks like the whole image shifts. Then I try unmounting the partition and the screen goes back to normal.

59
 
 

I've been using all major OSes for a long time. I have the most experience with Windows, I've been using it since Windows 95 and stopped at Windows 8. I've been using macOS for about a decade and Linux (in total) for about 5 years. I have started with Mandrake, moved to Mandriva, spent over a year on Ubuntu and recently I've been using Fedora as my daily driver. And honestly, I'm running out of patience.

Few days ago I ran into the gpu driver issue. Long story short, Steam games started to crash on directx issue. Games that were working few weeks ago. I admit, I was mocking around with GPU drivers in order to make Podman containers to access the GPU. But I did the fresh diver install and it didn't solved the issue (also my GPU was not found despite all commands showed it was there). I don't have much spare time and I would like to play a game, I used to play before, without spending hours/days fixing issue that didn't exist last time I played it.

But it's not only about games. I have two laptops, both running Fedora 40 KDE spin. Some time ago on one laptop the power widget stopped working. It shows "no power profiles found on a device". But when I delete the widget and add it again, it works fine.

Other issue is with the general look and feel. There are many apps that don't follow the OS look - lack of window borders/shadow, random icons that don't match the system, flatpacks having issues accessing system configuration (e.g. vscodium not recognising zsh as a default shell).

Few more problems I had:

  • on GNOME, some extensions where crashing without any reason
  • some apps don't respect desktop scaling
  • bluetooth randomly dropping connections
  • syncing files between devices is always a struggle
  • you never know what's going to break when installing updates

If you want a Linux like experience use macOS, and if you want to play games, stick to Windows.

60
 
 

Couldn't run Windows 7, and Windows 10 ran like shit. My old PC basically got a second life with Linux.

This is Half-Life GOTY running on Wine, runs really smooth.

The only downside is lack of directX support, OpenGL is there but the integrated graphics card only supports till OpenGL 2.1, which is not enough for many things, and also slower than directX. Still, my PC feels much faster now, and doesn't scream like a demon whenever I open up a browser :)

(Maybe I should dual boot Win7(While never connecting it to the web), just to play some more games with DirectX?)

Also, my local hospital has started using Ubuntu, their old PCs also couldn't handle the heavy burden of running Windows I guess 🤣

61
446
Linux File System (telegra.ph)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 
62
21
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

So my dietpi setup stopped working out of the blue. I use Plexamp over the Internet and it's been steady until a couple months ago.

Long story short, I panicked. I reinstalled dietpi on my SD card, but then realized I wasn't able to connect my phones hot spot to it (I don't have a lan line currently) so then I just said screw it and download the bloated Ubuntu as it "just works" sometimes. Thankfully I was able to get my internet working this way albeit.

So now I'm downloading Plex media server. And things started to finally sync on the browser and it worked for like 5 minutes before all my Plex accounts started showing offline again. What am I doing wrong here? Do I really need to ask my neighbor to let me use their Ethernet connection to setup my raspberry pi? Guys is there a way I can just use a hotspot for now for this? Why is this so difficult?

To make matters worse, I was going to install rustdesk so I could plug the thing into my neighbors router again, and remote access things. But Ubuntu connection on rustdesk disconnects every 7 seconds. What do I do?

63
 
 

cross-posted from: https://lemmy.zip/post/22209812

My school uses EAP for its student WiFi, but there's no option for "EAP" security (PEAP, LEAP and every other option in KDE's WiFi security settings wouldn't connect). I'm pretty sure there was an option for EAP on Linux Lite (my previous OS before kinoite) which connected successfully. Is it possible to use EAP in Kinoite, and how do I enable/use it?

64
 
 

Update: I managed to get it working with the answers from @[email protected] and this link:

https://www.zdnet.com/article/how-to-permanently-mount-a-drive-in-linux-and-why-you-should/


I've just installed Mint 22 on my laptop, and I've got two storage drives alongside my main drive. I want these drives to be available to all users on boot, and to be readable and writable. At the moment they're treated as removable drives, and are mounted under the individual user. As a result, any permissions that I'm setting as the owner are not sticking when they're mounted by another user.

The first drive is synced with my main PC through Syncthing, and is synced to Onedrive from there. The second drive is my music, podcasts, and audiobooks, which are all synced through Syncthing only. I'm the only person using the laptop and accessing any of these files, so I'm not bothered about the wrong user accidentally opening them.

I've read some posts about editing fstab to mount them at startup, but they don't cover whether the drives will be available to other users or not. Can I just add them to fstab and mount them somewhere that's available to all users, then sort out the permissions? If so, where's the best place to put them?

Thanks in advance :)

65
 
 

Let's say just like for example like MacOS. It's awesome we have so many tools but at the same time lack of some kind of standardization can seem like nothing works and you get overwhelmed. I'm asking for people that want to support Linux or not so tech-savy people.

66
 
 

I have completed an initial new port of systemd to musl. This patch set does not share much in common with the existing OpenEmbedded patchset. I wanted to make a fully updated patch series targeting more current releases of systemd and musl, taking advantage of the latest features and updates in both. I also took a focus on writing patches that could be sent for consideration of inclusion upstream.

The final result is a system that appears to be surprisingly reliable considering the newness of the port, and very fast to boot.

...

And that is how I became the first person alive to see systemd passing its entire test suite on a big-endian 64-bit PowerPC musl libc system.

...

While the system works really well, and boots in 1/3rd the time of OpenRC on the same system, it isn’t ready for prime time just yet.

...

There aren’t any service unit files written or packaged yet, other than OpenSSH and utmps. We are working with our sponsor on an effort to add -systemd split packages to any of the packages with -openrc splits. We should be able to rely on upstream units where present, and lean on Gentoo and Fedora’s systemd experts to have good base files to reference when needed. I’ve already landed support for this in abuild.

This work is part of Adélie Linux

67
 
 

So you may have heard of the install gentoo meme, when I looked the guidebook I thought it looked a little complex like with Arch.

Does Gentoo have something special that other distros do not? Apparently you can use the USE FLAGS to determine what stuff you want and it's meant to be even more lean on resources.

Isn't there a Gentoo installer like with Arch? With Arch I can confidently just run the installer on a VM but I got stuck with Gentoo

68
69
70
 
 

I'm have some trouble on how to get Jellyfin running on Ubuntu server. I'm Very new to using Linux with the command line so please be patient with me.

i have tried to Duck(duckgo) a solution but i cant find anything that works for me.

If you need some kind of logs please tell me how to get them!

// A very lost linux noob

71
34
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
 

So I'm building a new computer before the end of the year and lemmy is obviously pushing me towards Linux.

I am not computer savvy, I have a family member that will help me set up my PC, but I do not want to be calling/messaging them every day when I want to open a program.

Basically my question comes down to: can I operate a Linux PC these days without needing to troubleshoot or type code.

I use my computer about once a week for a few hours I would say, so any time spent troubleshooting is time wasted.

Thanks!

EDIT: since a lot of people are asking what programs I typically use, I'll just list my most used programs.

Word, Excel, ect(I'm fine with alternatives)

Spotify

Gimp (would have been a make or break, so I'm glad it's supported)

Brave browser (browser is a browser)

Steam

Discord

I would say that while I could figure out how the kernels work, I'm at a point with computers these days where I don't have the time. My priorities fall with a seamless daily experience. If I have the time to figure something out I can, but ideally my day to day usage being unbotherd is what I'm after.

A lot of the comments so far have been helpful! I'm definitely going to give Linux a fair shot with my new build, probably start with Mint.

72
 
 

For those unfamiliar with it, power-profiles-daemon is a low-level component to provide power handling over DBus. Ever used the Power Mode options in the Quick Settings menu in GNOME Shell? Those options interface through this.

From 0.22 Release Notes:

Since this release power-profiles-daemon is also battery-level aware and some drivers use this value to be smarter at tuning their optimizations. In particular both the AMD panel power action now uses a progressive approach, changing the the ABM based on the battery percentage.

AMD p-state received various features and improvements:

  • it supports core performance boost when not in power-saver mode.
  • uses minimum frequency to lowest non-linear frequency
  • it is more impervious to faulty firmware and kernel bugs

This should be included in the upcoming Ubuntu 24.10 release.

73
 
 

Hi folks, I'm in a bit of a personal crisis currently and need to quickly find a piece of speech transcription software that works on Linux and does not require a significant time investment to set up and can help me transcribe a number of audio clips <15 min. each.

  • Can someone recommend a program that can transcribe some audio recordings for me and is relatively simple to set up and use?
  • Do such programs need a GPU to run effectively? I'm running a Dell XPS 9370 laptop which only has internal graphics.

My backup plan is to listen and transcribe by hand, so recommendations of a program that will allow me to self-transcribe by typing while listening at a reduced rate are also appreciated.

  • If any experienced transcribers are reading this, have you found that your pedals worked well with Linux?

Normally I would try out all the different programs and do more than the small number of searches I've done, but my timeline doesn't allow time for to build a cluster of custom-coded transcription bots running gentoo on hand-soldered hardware.

My environment is EndeavorOS running on a Dell XPS 9370,internet is over Wifi, with no external dongles or anything currently hooked up.

74
 
 

i started using micro and its pretty great. but when i try to open the terminal within the editor 

ctl+e

it seems to just open a whole new terminal window with no context within my document.

anybody got ideas?

75
 
 

There has been a steady uptick of people stating that they will migrate (or already have) to Debian – seeking refuge from what they see as greedy corporate influence. I understand the sentiment fully. However, there’s a problem here that I want to talk about: security.

The ugly truth is that security is hard. It’s tedious. Unpleasant. And requires a lot of work to get right.

Debian does not do enough here to protect users.

Long ago, Red Hat embraced the usage of SELinux. And they took it beyond just enabling the feature in their kernel. They put in the arduous work of crafting default SELinux policies for their distribution.

...

However, its default security framework leaves much to be desired. Debian’s decision to enable AppArmor by default starting with version 10 signifies a positive step towards improved security, yet it falls short due to the half-baked implementation across the system.

...

The fundamental difference between AppArmor and SELinux lies in their approach to Mandatory Access Control (MAC). AppArmor operates on a path-based model, while SELinux employs a significantly more complex type enforcement system. This distinction becomes particularly evident in container environments.

...

The practical implications of these differences are significant. In a SELinux environment, a compromised container faces substantial hurdles in accessing or affecting the host system or other containers, thanks to the dual barriers of type enforcement and MCS labels.

TLDR: According to the author, Debian's use of AppArmour is not as effective as RedHat's use of SELinux when it comes to security.

view more: ‹ prev next ›