Linux

48323 readers
919 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
201
 
 

It is reportedly plug-n-play for basic features, but for more advanced features, something like this project would need to be patched to add support for the camera.

https://github.com/samliddicott/guvciew-meet4k

202
 
 

Saw a post without noticing the community and commented a genuine comment with good intentions.

Apparently it was against the rules of that community and I was banned.

Original post:

My (removed) comment:

And yeah, the last comment was sarcasm.

I just don't really understand why is there a community for shitting on Linux? Like I can get not liking it, and hating the Linux die hard fans, but it really is an amazing thing that is integral to almost all modern computing... Kind of like hating social media by having a facebook page for it.

203
204
 
 
205
 
 

Hey there i consider myself a relative noob, but I’ve been using Linux as my main operating system for about four years now, transitioning from Windows 7 to Linux Mint and then to MX Linux. Recently, I encountered a login issue, and I know I’m partially to blame for this. When I try to install projects from GitHub and things don’t work out, I often give up without deleting or cleaning up the configurations and fragments. Over time, this has led to a huge clutter on my system, which is why I’ve been wanting to do a fresh install for a while now, and I’m taking this as the opportunity to finally do it. My Hardware:

CPU: AMD Ryzen™ 7 5800X
GPU: AMD Radeon™ RX 6700 XT
RAM: 32 GB

What I'm Looking For:

I’d love suggestions for a Linux distro that:

Has relatively up-to-date updates
Can optimize the performance of my hardware
Supports both programming and gaming

Currently, I have a minimal installation of Windows 11 set up for dual boot, but I’m considering moving it to a VM if the performance impact is manageable. If that doesn’t work out, I’d like to continue with Windows 11 in dual boot. I want to play games like Space Marines 2, and while I know about tools like Proton, Wine, and Lutris, I just don’t wanna dive into that right now. Please, no fundamental debates about how I don’t really NEED Windows. I fucking know! And just wanna know if its possibly or not. ;)

Additional Preferences:

I’d like to use Flatpaks wherever possible, except for programs that aren’t available or those where permissions issues arise, like password managers with browser integrations.
I’m interested in some "ricing" but don’t want to spend all my time troubleshooting or making constant adjustments.
I’d like to run a local AI on the machine so i hope for something that can squeze the last drop of performance out of my hardware.
I appreciate the extensive guides available for Debian-based systems but am open to exploring new options.

I’m excited to hear your recommendations!

Thanks in advance!

Edit: I loaded Fedora Kde, Nebora and AuroraDX on Ventoy and explored the systems.MyFavorite at this time is AuroraDX

206
 
 

Since https://www.reddit.com/r/linux/comments/1gdhy7u/experimental_flathub_release_of_newpipe_on_linux/ got a bit of traction yesterday, this is WhatsApp straight from Meta running on Linux desktop using android-translation-layer.

android-translation-layer (ATL) is a Wine-like approach to run Android applications on Linux. Rather than running an Android container like for example Waydroid does this instead implements the Android API. Note that right now it's very much work in progress and almost no app will work yet, but the fact that they have apps like Newpipe and WhatsApp running already is very promising!

Join the Matrix chat at #android-translation-layer:matrix.org and follow along!

207
208
 
 

(this post obviously assumes the recent removal of russian devs due to sanctions is bad; no need to comment if you disagree)

a lot of people i know are considering jumping ship to some bsd after the recent MAINTAINERS debacle, but i'm skeptical it would make any difference. afaik, they're just as us-centric as linux if not more (it's the berkeley software distribution, after all). also, my biggest gripe about the bsds and the main reason i've never had any interest in them is their permissive licensing. permissive licenses suck

would there be any difference wrt sanctions in the bsds or moving away from linux to *bsd bc of that would be pointless?

209
 
 

I'm getting sick every day at this Microsoft Windows slowness and bloat. I am trying to use as much Linux VMs as possible. I feel so unproductive on Windows. I also tried installing Linux on the office laptop. The problem is that Windows is officialy supported and the Linux is DYI. Once the IT departament changes it will sync up with Windows but Linux can be broken and you are no longer able to work. Next job I want to have full Linux laptop or at least Mac.

Besides:

  • Microsoft Office
  • Active Directory
  • Some proxy and VPN bullshit

Everything seems manageable and even better on Linux.

What is your experience?

210
211
14
submitted 3 weeks ago* (last edited 3 weeks ago) by mobsenpai@lemmy.world to c/linux@lemmy.ml
 
 

Edit: Solved, check the comments

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

Using this works:

    services.greetd = {
      enable = true;
      settings = {
        initial_session = {
          command = "Hyprland";
          user = "yashraj";
        };
        default_session = {
          command = "${lib.getExe pkgs.greetd.tuigreet} --time --cmd Hyprland";
          user = "yashraj";
        };
      };
    };

But using this doesn't:

    services.greetd = {
      enable = true;
      settings = {
        default_session = {
          user = "yashraj";
          command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --sessions ${pkgs.hyprland}/share/wayland-session --remember --remember-session";
        };
      };
    };

I wan't to be able to use --sessions. what could I be doing wrong? I am using latest nixos stable.

The only error returned here is after I enter my username 'yashraj' then my password 'nixos' is: expected Args or Cancel, got Pamresponse {resp: some("nixos")}

Notes:

I haven't commited the greetd file to my github yet. But I've still attached the link to my github if it may be relevant to solve this issue.

Please give any info

212
 
 

This is really interesting stuff, found it on Hacker News. It's like WINE, but for Android <-> Linux: https://gitlab.com/android_translation_layer/android_translation_layer/

213
214
 
 

From time to time, often after I've restored from sleep or finished playing a Steam game, one of my CPU cores is pinned at 100% with no indication of what might be doing it. Running htop, btop, or GNOME system monitor all show the same thing: CPU0 at 100% while the rest are doing near-nothing, and no process in particular seems to be using those resources.

If I restart, it's back to normal, and sometimes I can play a game in Steam or let the computer go to sleep and it doesn't do this, but it happens often enough that's annoying/confusing so I'd like to know if there's a way to either (a) diagnose which processes are using which CPU cores, or (b) somehow "reset" the checking of these values to make sure that something's not just being misreported.

This is a desktop system running Arch & GNOME.

215
434
submitted 3 weeks ago* (last edited 3 weeks ago) by Sparky@lemmy.blahaj.zone to c/linux@lemmy.ml
 
 

Too bad the desk space sucks...

High res image

Caption: Picture of a giant display in a big event/concert space. The display shows a terminal with the output from hyfetch. End caption

High res image

Anyways here's the real setup that was controlling that big ass screen

Also sorry if the text formatting is messed up (I am posting from mobile)

216
 
 

I am contemplating buying one of the Seagate OneTouch Hub external hard drives as a backup for my media that's currently stored on some other external hard drives connected to my home server since they are always spinning.

My local retailers don't give me many options as far as large storage storage solution goes, and the only other viable option now is a WD My BOOK 14 TB.

However, the retailer I will be buying it from goes out of its way to state that Windows or macOS is required. Is there any reason I should believe that I will run into troubles under Linux? I've had no issues whatsoever with some other Seagate hard drives (Expansion 5 TB), which I just instantly reformat to ext4 and use as normal. My guess is that this is just for the included software? I just want to make sure before I order.

(More long term I will set up a NAS, but for now time to learn and configure is more scarce than money, so I just want a solution that will prevent me from losing my data)

EDIT: For anyone coming to this later wondering the same thing, I can confirm that it works just fine. It is just the included backup software that is not compatible. I've formatted it to ext4 and currently using rsync to backup my media.

217
 
 

Can someone point me to a helpful beginners resource explaining some Linux basics? Like what is the difference between "distro", which is what, like Ubuntu, fedora, Debian (? Or is that a category of distro?) And desktop environment which is what, KDE, Lubuntu, gnome? Like I don't even know I have these categories right let alone understand why I'd pick one over another and what practical effects it will have- which apps will I/won't I be able to install, etc...

I'm not expecting anyone to answer these questions for me, but if you could point me to something already written, I'd appreciate it.

218
 
 

Welcome to a new issue of "This Week in KDE Apps"! Every week we cover as much as possible of what's happening in the world of KDE apps.

This week's changes and improvements cover a wide range of applications, from audio apps (including the classic Amarok, which is making a comeback) to Kate getting improvements to its integrated Git features.

In between, you have everything from new functionalities for note-taking utilities and media players, to upgrades in financial software and mobile apps.

219
 
 

TLDR;

It literally hurts me personally to see this happening. It's like a kick in the gut. I used to be proud about having had an involvement with the Linux kernel community in a previous life. This doesn't feel like the community I remember being part of.

220
 
 

This is something I have been stuck on for a while.

I want to use Wayland for that variable refresh rate and some better handeling of screen recordings.

I have tried time and time again to get a wayland session running with the proprietary nvidia driver, but have not gotten there yet.

Only the X11 options are listed on the login screen. When using the fallback FOSS nvidia driver however, all the correct X11 and Wayland options show up (Including Gnome and KDE, both in X11 and Wayland).

Wasn't this fixed, like, about a year ago? I have the "latest" proprietary nvidia driver, but the current debain one is still pretty old (535.183.06).

output from nvidia-smi

Sun Oct 27 03:21:06 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.06             Driver Version: 535.183.06   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1060 6GB    Off | 00000000:01:00.0  On |                  N/A |
| 25%   43C    P0              25W / 120W |    476MiB /  6144MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      6923      G   /usr/lib/xorg/Xorg                          143MiB |
|    0   N/A  N/A      7045    C+G   ...libexec/gnome-remote-desktop-daemon       63MiB |
|    0   N/A  N/A      7096      G   /usr/bin/gnome-shell                         81MiB |
|    0   N/A  N/A      7798      G   firefox-esr                                 167MiB |
|    0   N/A  N/A      7850      G   /usr/lib/huiontablet/huiontablet             13MiB |
+---------------------------------------------------------------------------------------+

221
 
 

;-)

222
223
 
 

I run a qemu/KVM setup in which I have different VMs for different use cases/profiles. Very similar in theory to something like Qubes OS. So far when I want to swap to another VM I have to first un-fullscreen, then click the other VM display window and fullscreen that. I was beginning to work on hotkeys and scripts to allow switching between VMs by assigning Ctrl+NumPad# to specific VMs and then having the triggered VM appear in full screen. But I'm imagining there's probably already a VM display manager that streamlines this.

Does anybody have any suggestions?

The biggest factor is that the display needs to be responsive as I'm using these VMs for daily tasks.

Bonus points if the display manager can output a variable for the currently focused VM so I can script the keyboard backlight to change to an assigned color as well as change the power profile of the base operating system to match the currently highlighted VM better.

224
 
 

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

https://gitlab.com/christosangel/chaftrix

This program written in C will render the matrix effect in the terminal window in the background, while rendering an image in the foreground, allowing animation of this image in one or two dimensions.

video.png

Image rendering is done with chafa.

This program is the continuation and evolution of other projects:

https://gitlab.com/christosangel/matrix_clone

https://gitlab.com/christosangel/ascii-matrix

https://gitlab.com/christosangel/animatrix

225
 
 

Does anyone here use Starlabs computers? I'm thinking of buying one of their laptops and I'm interested in how well their products are supported in the long term. Specifically, firmware updates and spare parts & repairs.

Thanks

view more: ‹ prev next ›