Linux

48665 readers
519 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
76
 
 

I recently found a very overpowered for the price mini-PC and I plan to use it to replace my Android TV box that is really starting to show its age.

I think I want something bazzite-like and probably immutable but more media focused than gaming, with already working and set up waydroid and remote control support.

Thanks in advance

77
 
 

cross-posted from: https://lemmy.world/post/23017061

https://gitlab.com/christosangel/stackabrix

stackabrix is a simple terminal game, written in Bash, where the user, against the clock and with the least moves possible, must sort the blocks according to their color, and stack them in the respective stack.

During the game, the user can move left and right, pick blocks and drop them in other stacks.

The aim is to sort the blocks, and stack them in the respectively named stacks, fast as possible, and with the least moves possible.

The play's score is the sum of the time achieved in seconds and of the moves made.

If the score is among the 10 best scores achived, it makes it in the Top Ten Highscores.

win_game

Any feedback is welcome.

78
 
 
79
80
81
82
54
submitted 1 week ago* (last edited 1 week ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 
  • 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.
83
 
 

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?

84
 
 

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.

85
 
 

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!

86
87
9
Trouble with keyboard (gist.github.com)
submitted 1 week ago* (last edited 1 week ago) by 1_4M_N008@programming.dev to c/linux@lemmy.ml
 
 

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

88
89
 
 

I though of:

Your hardware deserves better.

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

It just (not) works

90
61
submitted 1 week ago* (last edited 1 week ago) by crony@lemmy.cronyakatsuki.xyz to c/linux@lemmy.ml
 
 

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.

91
 
 

like what if linux still was open source but had a lot of proprietary dependencies and packages and became more popular and therefore proprietary software came to it?? but it still would let you use any desktop environment and there would be a new proprietary desktop environment which was like gnome but easier

92
93
 
 

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

94
 
 

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

95
 
 

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

96
97
 
 

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.

98
99
 
 

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!

100
 
 

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?

view more: ‹ prev next ›