Linux

47761 readers
876 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
276
 
 

TL;DR

I booted Debian Linux on a 4-bit intel microprocessor from 1971 - the first microprocessor in the world - the 4004. It is not fast, but it is a real Linux kernel with a Debian rootfs on a real board whose only CPU is a real intel 4004 from the 1970s. The video is sped up at variable rates to demonstrate this without boring you. The clock and calendar in the video are accurate. A constant-rate video is linked below.

277
 
 

I don't know bash scripting

if [ -d ~/.bashrc.d ]; then
	for rc in ~/.bashrc.d/*; do
		if [ -f "$rc" ]; then
			. "$rc"
		fi
	done

I asked chatgpt and it said this is non standard? There is no bashrc.d directory on my home folder, I have uncommented the lines for now but dont know if this is benign or malignant

278
279
280
 
 

cross-posted from: https://lemmy.ml/post/20502769

here is the talk description, from its page on the schedule for KubeCon + CloudNativeCon + Open Source Summit China 2024 (which Linux Foundation somehow neglected to put in their youtube upload's description):

In Febuary the Linux kernel community took charge of issuing CVEs for any found vulnerability in their codebase. By doing this, they took away the ability for any random company to assign CVEs in order to make their engineering processes run smoother, and instead have set up a structure for everyone to participate equally.

This talk will go into how the Linux CVE team works, how CVEs are assigned, and how you can properly handle the huge number of new CVEs happening in a simple and secure way.

今年二月,Linux内核社区开始负责为其代码库中发现的任何漏洞发布CVE编号。通过这样做,他们剥夺了任何随机公司分配 CVE 的能力,以便使他们的工程流程更顺畅,取而代之的是建立了一个人人平等参与的结构。

本次演讲将介绍 Linux CVE 团队的工作方式,CVE 的分配过程,以及如何以简单且安全的方式妥善处理大量新出现的 CVE。

Here is a PDF of the slides from Greg's git repo for this talk.

281
 
 

each time I save a file with firefox and click on 'display progress of ongoing downloads' on the top right part of the browser and click to open the containing directory, debian opens the directory, but in a new tunar window, not in a new tab in a pre existing thunar window.

It's tiring working with so many open windows. Better one window and several tabs.

282
 
 

cross-posted from: https://programming.dev/post/19622913

A friend of someone related doesn't have a laptop nowadays, but needs one. Now we have 2 old laptops at home, and we want to give her one so she can do some things on it. Since she isn't used to laptops and the old laptops wouldn't run a Windows 11 (I don't want to install a Win10 because of end of support and lacking security features), I guess installing a simple Linux is fine. Now comes the big question: Which Linux distro should I install? (see requirements below)

Laptops:

  • Acer Aspire ES 15, AMD dual-core E1-7010 @1.5 GHz, 4GB RAM, 1000 GB HDD
  • HP Pavilion 17-e030ez, Intel Pentium @2.4 GHz, 4GB RAM, 10000 GB HDD (I'd choose this)

Tasks:

  • Office Stuff (I thought about OnlyOffice)
  • Internet surfing
  • Banking via Web

Requirements:

  • needs to have full German support
  • needs an easy software installation center
  • should be easy to learn
  • optionally, her friends (which probably use Windows/ Mac) should be able to help her (since she never had a laptop before)
  • eventually German forum/ German Guides

I'm using Linux/ Manjaro for myself but don't have any experience with beginner-friendly distros. I used a KDE neon for some time and also have used Ubuntu, and to be honest, they seem beginner-friendly too.

Please let me know your opinions, thanks!

283
 
 

A friend of someone related doesn't have a laptop nowadays, but needs one. Now we have 2 old laptops at home, and we want to give her one so she can do some things on it. Since she isn't used to laptops and the old laptops wouldn't run a Windows 11 (I don't want to install a Win10 because of end of support and lacking security features), I guess installing a simple Linux is fine. Now comes the big question: Which Linux distro should I install? (see requirements below)

Laptops:

  • Acer Aspire ES 15, AMD dual-core E1-7010 @1.5 GHz, 4GB RAM, 1000 GB HDD
  • HP Pavilion 17-e030ez, Intel Pentium @2.4 GHz, 4GB RAM, 10000 GB HDD (I'd choose this)

Tasks:

  • Office Stuff (I thought about OnlyOffice)
  • Internet surfing
  • Banking via Web

Requirements:

  • needs to have full German support
  • needs an easy software installation center
  • should be easy to learn
  • optionally, her friends (which probably use Windows/ Mac) should be able to help her (since she never had a laptop before)
  • eventually German forum/ German Guides

I'm using Linux/ Manjaro for myself but don't have any experience with beginner-friendly distros. I used a KDE neon for some time and also have used Ubuntu, and to be honest, they seem beginner-friendly too.

Please let me know your opinions, thanks!

284
285
286
 
 

Hey all,

I'm a big fan of my plain text and terminal -based applications for things, and I'm looking a calendar system in this spirit. I'd like for a system which:

  1. If possible, is stored in a plain-text (human-readable) format (a la calendar.txt)
  2. Has some way of managing repeating events/automating some of the process (which is my only problem with calendar.txt)
  3. Can be accessed on my phone (an iPhone---yes yes, I know, I can sense everyone's disappointment) while on the go (either through some application, or just through a plain text editor)

For the past month or two, I've been using remind, which, while fantastic in features and usage, seems relatively obscure and unsupported, and the file format isn't as human-readable as I'd prefer (take this slightly modified excerpt from my class schedule):

OMIT 2024-11-25 THROUGH 2024-11-29 MSG Thanksgiving Break
REM Tue Thu FROM 2024-08-19 UNTIL 2024-12-20 SKIP AT 09:05 DURATION [1:15] MSG Class 1
REM Tue Thu FROM 2024-08-19 UNTIL 2024-12-20 SKIP AT 10:40 DURATION [0:50] MSG Class 2
REM Tue Thu FROM 2024-08-19 UNTIL 2024-12-20 SKIP AT 12:00 DURATION [1:15] MSG Class 3

I recently heard about calcure, which I'm very curious about, as the interface seems (quite frankly) a bit nicer than wyrd, which is what I've been using for remind---but is there an easy way to interface locally with .ics files on an iPhone?

For my to-dos, I've been pretty happy with the todo.txt format, and with topydo and todooo as frontends for it---surely there is something like this, but for calendar events?

P.S.---Before someone mentions it, yes, I am familiar with org-mode, and I know it perfectly fits my bill, and perhaps it is what I will ultimately turn to---but I'd strongly prefer not to, as I'm currently rebelling against Emacs, and we all know how poorly implemented org is outside of it.

287
288
289
290
 
 

Hello everyone.

After I changed the default font in KDE Plasma 6.1.4 on Bazzite to Atkinson Hyperlegible, all desktop icons have weird line spacing in the name. Notice how .png is hanging behind tge icon for TextFile sh. Changing the font size does nothing. Only if I switch back to the defaults does it fix itself. Any idea how I can keep Atkinson as a font and fix this issue?

Edit: In edit mode (right click on desktop) I can set the Text lines to 1 which makes things bearable. Still no way to manage the weird spacing issue. Seems that not all icon are affected. Couldn't find a pattern.

291
100
PipeWire 1.2.4 released (gitlab.freedesktop.org)
submitted 4 weeks ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Highlights

  • Avoid a crash in cleanup - of globals. (#4250)
  • Use systemd-logind to scan for new devices in v4l2.
  • Some more bugfixes and improvements.

PipeWire

  • Avoid a crash in cleanup of globals. (#4250)
  • Improve RequestProcess dispatch.

Tools

  • Improve float parsing. (#4234)

SPA

  • Clear the ringbuffer when stopping in libcamera.
  • Use systemd-logind to scan for new devices in v4l2. (#3539, #3960)
  • Queue dropped first buffer in v4l2.
  • Unlink pcm devices when moving drivers to avoid broken pipe.

JACK

  • Emit buffer_size callback in jack_activate() to improve compatibility with GStreamer. (#4260)
292
78
submitted 4 weeks ago* (last edited 4 weeks ago) by avidamoeba@lemmy.ca to c/linux@lemmy.ml
 
 

Personal use numbers:

  • Ubuntu: 27.7%
  • Debian: 9.8%
  • Other Linux: 8.4%
  • Arch: 8%
  • Red Hat: 2.3%
  • Fedora: 4.8%
293
 
 
  1. I upgraded pipewire from stable to backports (I want to know ~~if this is related to my problem~~ why essential packages were removed)
Start-Date: 2024-09-18  14:59:02
Commandline: apt install libpipewire-0.3-0/bookworm-backports
Requested-By: dullbananas (1000)
Install: libpulsedsp:amd64 (16.1+dfsg1-2+b1, automatic), pulseaudio:amd64 (16.1+dfsg1-2+b1, automatic), pulseaudio-utils:amd64 (16.1+dfsg1-2+b1, automatic), libasound2-plugins:amd64 (1.2.7.1-1, automatic), policykit-1-gnome:amd64 (0.105-8, automatic), pulseaudio-module-bluetooth:amd64 (16.1+dfsg1-2+b1, automatic), libspeexdsp1:amd64 (1.2.1-1, automatic)
Upgrade: libspa-0.2-modules:amd64 (0.3.65-3+deb12u1, 1.2.3-1~bpo12+1), libpipewire-0.3-0:amd64 (0.3.65-3+deb12u1, 1.2.3-1~bpo12+1)
Remove: pipewire-pulse:amd64 (0.3.65-3+deb12u1), pipewire-audio-client-libraries:amd64 (0.3.65-3+deb12u1), t2-apple-audio-dsp-speakers161:amd64 (0.2.0-1), gnome:amd64 (1:43+1), gnome-remote-desktop:amd64 (43.3-1), pipewire:amd64 (0.3.65-3+deb12u1), gnome-shell-extensions:amd64 (43.1-1), gnome-shell:amd64 (43.9-0+deb12u2), pipewire-tests:amd64 (0.3.65-3+deb12u1), gdm3:amd64 (43.0-3), libspa-0.2-jack:amd64 (0.3.65-3+deb12u1), libspa-0.2-bluetooth:amd64 (0.3.65-3+deb12u1), pipewire-jack:amd64 (0.3.65-3+deb12u1), gstreamer1.0-pipewire:amd64 (0.3.65-3+deb12u1), t2-apple-audio-dsp-mic:amd64 (0.4.0-1), pipewire-audio:amd64 (0.3.65-3+deb12u1), pipewire-bin:amd64 (0.3.65-3+deb12u1), chrome-gnome-shell:amd64 (42.1-3), task-gnome-desktop:amd64 (3.73), gnome-session:amd64 (43.0-1+deb12u1), gnome-browser-connector:amd64 (42.1-3), gnome-core:amd64 (1:43+1), libpipewire-0.3-modules:amd64 (0.3.65-3+deb12u1), wireplumber:amd64 (0.4.13-1), gnome-shell-extension-prefs:amd64 (43.9-0+deb12u2), pipewire-alsa:amd64 (0.3.65-3+deb12u1)
End-Date: 2024-09-18  14:59:35

Start-Date: 2024-09-18  14:59:43
Commandline: apt install libpipewire-0.3-modules/bookworm-backports
Requested-By: dullbananas (1000)
Install: libconfig++9v5:amd64 (1.5-0.4, automatic), libxml++2.6-2v5:amd64 (2.40.1-3, automatic), libpipewire-0.3-modules:amd64 (1.2.3-1~bpo12+1), libffado2:amd64 (2.4.7-1, automatic)
End-Date: 2024-09-18  14:59:48

Start-Date: 2024-09-18  14:59:57
Commandline: apt install pipewire/bookworm-backports
Requested-By: dullbananas (1000)
Install: pipewire:amd64 (1.2.3-1~bpo12+1), pipewire-bin:amd64 (1.2.3-1~bpo12+1, automatic), wireplumber:amd64 (0.4.13-1, automatic)
End-Date: 2024-09-18  15:00:02
  1. I suspended the computer, and after resume, the lock screen was broken:
  • When I clicked on the password field, the text cursor only appeared for a split second, and I could not type in it
  • Clicking on the user switch button on the bottom right corner did nothing
  • A few times, the text "Authentication error" randomly appeared for a split second, probably for 1 frame
  • No way to reboot the normal way, because I could only use the power menu on the lock screen, which only has suspend
  1. I used the power button to reboot, and instead of GNOME, there was darkness
Debian GNU/Linux 12 dullbananas-macbookpro161 tty1

dullbananas-macbookpro161 login:
  1. I downgraded pipewire to stable
Start-Date: 2024-09-18  15:20:16
Commandline: apt install pipewire/stable
Requested-By: dullbananas (1000)
Downgrade: pipewire:amd64 (1.2.3-1~bpo12+1, 0.3.65-3+deb12u1), pipewire-bin:amd64 (1.2.3-1~bpo12+1, 0.3.65-3+deb12u1), libspa-0.2-modules:amd64 (1.2.3-1~bpo12+1, 0.3.65-3+deb12u1), libpipewire-0.3-modules:amd64 (1.2.3-1~bpo12+1, 0.3.65-3+deb12u1), libpipewire-0.3-0:amd64 (1.2.3-1~bpo12+1, 0.3.65-3+deb12u1)
End-Date: 2024-09-18  15:20:26
  1. I ran dpkg --verify and got this output
??5??????   /lib/modules/6.10.9-1-t2-bookworm/modules.alias
??5??????   /lib/modules/6.10.9-1-t2-bookworm/modules.alias.bin
??5??????   /lib/modules/6.10.9-1-t2-bookworm/modules.dep
??5??????   /lib/modules/6.10.9-1-t2-bookworm/modules.dep.bin
missing     /usr/share/dbus-1/services/io.snapcraft.Prompt.service
??5?????? c /etc/systemd/logind.conf
??5?????? c /etc/tlp.conf
??5??????   /lib/modules/6.10.8-1-t2-bookworm/modules.alias
??5??????   /lib/modules/6.10.8-1-t2-bookworm/modules.alias.bin
??5??????   /lib/modules/6.10.8-1-t2-bookworm/modules.dep
??5??????   /lib/modules/6.10.8-1-t2-bookworm/modules.dep.bin
??5?????? c /etc/gdm3/daemon.conf
missing     /etc/os-release.debootstrap
??5??????   /lib/modules/6.10.7-1-t2-bookworm/modules.alias
??5??????   /lib/modules/6.10.7-1-t2-bookworm/modules.alias.bin
??5??????   /lib/modules/6.10.7-1-t2-bookworm/modules.dep
??5??????   /lib/modules/6.10.7-1-t2-bookworm/modules.dep.bin
  1. I reinstalled systemd (not sure if this made a difference)
Start-Date: 2024-09-18  15:48:58
Commandline: apt install --reinstall systemd
Requested-By: dullbananas (1000)
Reinstall: systemd:amd64 (252.30-1~deb12u2)
End-Date: 2024-09-18  15:49:02
  1. I reinstalled gdm3, and immediately without me doing anything else, there was GNOME instead of darkness
Start-Date: 2024-09-18  15:51:49
Commandline: apt install --reinstall gdm3
Requested-By: dullbananas (1000)
Install: gnome-remote-desktop:amd64 (43.3-1, automatic), gnome-shell:amd64 (43.9-0+deb12u2, automatic), power-profiles-daemon:amd64 (0.12-1+b1, automatic), gdm3:amd64 (43.0-3), gstreamer1.0-pipewire:amd64 (0.3.65-3+deb12u1, automatic), chrome-gnome-shell:amd64 (42.1-3, automatic), gnome-session:amd64 (43.0-1+deb12u1, automatic), gnome-browser-connector:amd64 (42.1-3, automatic), gnome-shell-extension-prefs:amd64 (43.9-0+deb12u2, automatic)
Remove: tlp:amd64 (1.5.0-2), tlp-rdw:amd64 (1.5.0-2)
End-Date: 2024-09-18  15:52:05
  1. End of class

  2. I reinstalled tlp because installing gdm3 removed it

  3. After selecting an app search result, instead of a new window opening, an existing window was focused, and this led to me discovering that my built-in extensions were gone

  4. While writing this post, I got the idea of using the list of removed packages in the apt history log output from apt install libpipewire-0.3-0/bookworm-backports to see what packages to install again, so I did that, then I also had to uninstall firefox-esr again

  5. I rebooted, and my built-in extensions and other stuff were resurrected, so now I have full redemption

  6. Another Window Session Manager restored my windows in a way that pissed me off

(Failed attempts of recovery are not listed)

Edit: actually I made the mistake 1 minute before the start of class

294
 
 
295
 
 

Linus Torvalds Speaks on the the divide between Rust and C Linux developers an the future Linux. Will things like fragmentation among the open source community hurt the Linux Kernel? We'll listen to the Creator of Linux.

For the full key note, checkout: Keynote: Linus Torvalds in Conversation with Dirk Hohndel

The Register's summary: Torvalds weighs in on 'nasty' Rust vs C for Linux debate

296
 
 

This is a question do you know it

So I would like a private part that I would use anonymously and a public part everyone is allowed to know. AND FOR THE LOVE OF GOD DON'T RECOMMEND QUEBES it isn't good at handling GPUs that well and I do have 2 machines like one server and one client but what would be the best setup (and no 2 physical laptops to be carried arround is not a solution neither is dualboot on 1TB)... so let me know

297
298
 
 

So I've done a bunch of application development in windows in C# and Java, and while Java stuff is pretty similar in Linux with Swing I'm not as confident in C# there (not too familiar with Mono), but I also want to diversify a bit too. Any recommendations?

299
300
 
 

Folks, I just fucked up. I have a void install and an old debian install. I resized the debian install, but I forgot I got grub installed there and now it's unbootable - respectively, it displays the grub rescue shell. Is there a way to somehow get back into void and reinstall grub from there?

view more: ‹ prev next ›