Linux

48535 readers
700 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
1
2
3
4
19
submitted 6 hours ago* (last edited 6 hours ago) by [email protected] to c/[email protected]
 
 
  • The --purge switch of systemd-tmpfiles (which was added in v256) has been reworked: it will now only apply to tmpfiles.d/ lines marked with the new "$" flag. This is an incompatible change, and means any tmpfiles.d/ files which shall be used together with --purge need to be updated accordingly. This change has been made to make it harder to accidentally delete too many files when using --purge incorrectly.
  • The systemd-creds 'cat' verb now expects base64-encoded encrypted credentials as input, for consistency with the 'decrypt' verb and the LoadCredentialEncrypted= service setting. Previously it could only read raw, unencoded binary data.
  • Support for automatic flushing of the nscd user/group database caches has been dropped.
  • The FileDescriptorName= setting for socket units is now honored by Accept=yes sockets too, where it was previously silently ignored and "connection" was used unconditionally.
  • systemd-logind now always obeys block inhibitor locks, where previously it ignored locks taken by the caller or when the caller was root. A privileged caller can always close the other sessions, remove the inhibitor locks, or use --force or --check-inhibitors=no to ignore the inhibitors. This change thus doesn't affect security, since everything that was possible before at a given privilege level is still possible, but it should make the inhibitor logic easier to use and understand, and also help avoiding accidental reboots and shutdowns. New 'block-weak' inhibitor modes were added, if taken they will make the inhibitor lock work as in the previous versions. Inhibitor locks can also be taken by remote users (subject to polkit policy).
  • systemd-nspawn will now mount the unified cgroup hierarchy into a container if no systemd installation is found in a container's root filesystem. $SYSTEMD_NSPAWN_UNIFIED_HIERARCHY=0 can be used to override this behavior.
  • /dev/disk/by-id/nvme-* block device symlinks without an NVMe namespace identifier are now fixed to namespace 1 of the device. If no namespace 1 exists for a device no such symlink is created. Previously, these symlinks would point to an unspecified namespace, and thus not be strictly stable references to multi-namespace NVMe devices. These un-namespaced symlinks are mostly obsolete, users and applications should always use the ones with encoded namespace information instead. This change should not affect too many systems, because most NVMe devices only know a namespace 1 by default.
  • Support for cgroup v1 ('legacy' and 'hybrid' hierarchies) is now considered obsolete and systemd by default will ignore configuration that enables them. To forcibly reenable cgroup v1 support, SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 must additionally be set on the kernel command line.
5
 
 

I have an unused Windows tablet from 2021 running some Core M processor or other that I want to put Linux on and start using again. It doesn't have a keyboard so I would have to actually use it as a tablet and not a laptop. Is there a distro built around one of the mobile desktop environments that also runs well on x86? (Last time I tried Linux mobile it was pretty much only for ARM and I never got it to work well on even an x86 virtual machine.) Or is regular GNOME deskrop still my best bet for a tablet?

6
 
 

Hi all,

I really, really like Mozilla Thunderbird; but what I have come to like even more is not leaving my terminal. Any recommendations on email clients in the terminal?

I've been thinking about aerc, but I'm curious what's working (or not) for all of you. mutt seems like it's crazy difficult to set up (which I'd rather avoid).

I need something that can handle all the account types I use with Thunderbird---namely, gmail and Microsoft exchange.

Thanks!

7
 
 

This hasn't happened to me yet but I was just thinking about it. Let's say you have a server with an iGPU, and you use GPU passthrough to let VMs use the iGPU. And then one day the host's ssh server breaks, maybe you did something stupid or there was a bad update. Are you fucked? How could you possibly recover, with no display and no SSH? The only thing I can think of is setting up serial access for emergencies like this, but I rarely hear about serial access nowadays so I wonder if there's some other solution here.

8
9
50
submitted 17 hours ago* (last edited 17 hours ago) by [email protected] to c/[email protected]
10
 
 

I though of:

Your hardware deserves better.

Also you can give some more realistic ones like my friend:

It just (not) works

11
7
Trouble with keyboard (gist.github.com)
submitted 17 hours ago* (last edited 15 hours ago) by [email protected] to c/[email protected]
 
 

Hey people! I hope you are having good time I recently installed arch, but I have trouble with my keyboard during installation and post installation which is null character (^@) printed to stdout, if I pressed function or Esc key null character stop appearing until some command wait for input (e.g. passwd) or pacman updating repo which will mess up progress bar or install conformation

I managed to install arch by enabling ssh with shell redirection, since I can't use vim or nano. I thought post installation everything should go fine since I installed base, linux, linux-firmware and amd-ucode packages, but now I can't log in as a result of null character

I should also mention that my problem across many distros like mint and mint xfce4, parrot, fedora, arch and EndeavourOS

note:

  • hot keys (sound, brightness control keys etc.) work fine on fedora, but not on EndeavourOS version (25/06/2024)
  • Keyboard response time feel slow, and I can't repeat key press by holding the key (e.g. hold backspace to delete several characters)
  • vim not working, it will switch from insert to normal mode
  • nano will go to end of file by moving line by line
  • Sometime in live arch iso systemctl log will interrupt and appear

additional note: I think Fn key is what causing the problem

the gist is output from fedora workstation 40.1 livecd I think it may help

edit: notes list format

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

Hello, I have been a linux user for close to 6 years now and I have changed my distro quite a bit ( especially in first few months of starting out linux ).

I have wen't from ubuntu, xubuntu, fedora, peppermint, arch, artix, ... in first few years. After that I have settled on arch for close to 2 years. After that long time on arch I decided to try out and test interesting distro's for at minimum 6 months every year ( and if I didn't like them I would go to arch back ) until I found something else I could main because I have found a few issues with arch that I could accept but would become annoying from time to time.

Across the two year's I started this yourney I have used gentoo ( used it for a year but then the lack of a proper retroarch package made me change the distro, plus the 3+ hours compile times when updating specific software ( looking at you qt-webengine and firefox ) ), then I choose to try out nixos which I used for 3/4 months before all that main maintainer debacle and splitting of the team I wen't back to arch because I didn't wan't a distro I'm using falling appart on me.

And here I am now, another year is soon to start and I'm searching for another different type of a distro to try out that does something differently compared to most distros, even willing to try out nixos again if the situation has stabilized now.

My only hard requirement is that the distro need's to be able to play games ( as in steam and gog ).

Edit: just to clarify, I'm chaning distro's on a yearly basis for a learning experience and fun.

13
 
 

Found some very special "make it look hacky" bash in criminal minds.

14
15
 
 

So not really sure what's going on but when using KDE I cannot mount my android phone or connect an android controller, however if I use Wayland they work

16
17
 
 

Hi,

I have a great piece of software, that apparently need HAVE_KPROBES_ON_FTRACE

To config the kernel option I'm using :

make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig

The Kernel is Linux/arm64 6.6.63

When I'm doing a search inside menuconfig i get:

Symbol: HAVE_KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:223


Symbol: KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:117
 Depends on: KPROBES [=y] && HAVE_KPROBES_ON_FTRACE [=n] && DYNAMIC_FTRACE_WITH_REGS [=n]

But I found it no where in the menu... and if I add it mannuly in the .config file, then make some more other adapations in menuconfig my manual entry disappear..

Any ideas ?

Maybe HAVE_KPROBES_ON_FTRACE is not supported in 6.6.63 ?

Thanks

18
19
 
 

The world of Linuxia beckons you! Your annoying guide flexes their gear the moment you spawn

Gentoo USB (Rare):
=> USE flags: Can rebuild itself
   with or without the other
   three attributes
=> March native: Increases attack
   speed by 1% or -1%
=> Slot: Can use two versions of any
   attribute at the same time
=> PGO: The USB memorizes when you
   attack to increase speed, trading
   off for lower speed elsewhen.
   Requires two rebuilds.

Charm of systemd (common):
=> nspawn: Can build with deeper focus
=> Wisdom tax: The wise are less
   likely to feel neutral toward you
   (+2 or -2 charisma)
=> Chant of systemd: By chanting
'systemd-analyze calendar "Fri *-*-13"',
   the caster instantly knows when
   the next Friday the 13th is.

Let's have some fun! Spells, items, and dungeons oh my!

20
 
 

I'm relatively new to the linux space, I was introduced by the steam deck which uses kde, and it's pretty similar to windows in terms of how it works so that's the DE i'd be leaning towards when I eventually switch. I've never used gnome so i'm not sure if it'd be worth using I guess?

So I'm just looking for some input from the community, do you use Gnome or Plasma, why do you use it, and what's kind of like a pros and cons kinda thing between the two?

21
 
 

Hi so am using Cinnamon(Not Linux Mint),i kinda liked Kdes features but i found it buggy so i had to give up kipper and switch to cinnamon,I tried Diodon(too buggy,a little old and doesnt store images) and Gpaste (doesnt store images,and only store clipboard while open) thanks.

22
23
118
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

Around a year ago my grandparents asked me to update their computers to Windows 10. One from 7 and one from 8.1. I couldn't update from 7 to 10 so I just reinstalled directly to 10. The license was lost but grandfather didn't mind that "activate windows". And for office I installed libreoffice (or onlyoffice, I dont remember). On 7 he was using Chrome so I installed him Brave, which is similar enough and has an adblocker. He never complained about anything... until now.

Both grantfather and grandmother on the same day they got some notification (probably fullscreen, otherwise they wouldn't even told me) about end of 10 and that they should upgrade. So I told them Windows 10 support is ending in about a year. I gave them 3 options:

  1. Buy a new computer for windows 11
  2. Use windows 10 without updates - more likely to be hacked.
  3. Try linux. As soon as I said "Linux" my grandfatger said: "Linux, thats something... lightweight... right?". I'm a gentoo user and I forced my brother and sister to install linux but I never mentiond a word to my grandparents. I have no idea where he heard that. But I'm happy he did!

So the main question: What distro? I'm thinking of Fedora with Gnome. Something stable, modern, secure, and simple. Gnome is different, I know, but I also think Gnome is the simplest. Should I go with Silverblue or normal version? I will also definitely install rustdesk and make backups of windows. And I will first try liveusb so they can decide if they like gnome.

Edit: I'm currently trying to liveboot linux. I rebooted the computer and windows started updating...

Edit: I livebooted Fedora and Mint DE, they said they like Mint more so I installed Mint. Grandfather's scanner and printer were detected out of the box with preinstalled apps, ptinter sadlly doesn't work but that was also with windows - probably hardware failed. Now I'm Installing Brave for grandfather and uBlock Origin for firefox for grandmother. Everything good so far!

24
116
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

I remember a story where people asked about blobs included in Ventoy and there were no comments from the devs, leading to suspicion.

At the time it wasn't clear to me if there was any substance to the story or if it was the usual Internet exaggeration, so I resolved to ignore it for the time being and saved a reminder to look into it after a while.

Now my reminder fired off and I looked around, but couldn't find how the story ended... do you know?

25
 
 

Can he? What would he be able to take and leave? What would that do to Linux?
This question has been on my mind for a long time, but never got around to asking it.

view more: next ›