Linux

47761 readers
1078 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
426
 
 

Ever had a question about Linux but felt too afraid to ask? Well now's your chance, ask any question about Linux, no matter how noob or repeated it is, and I and others will help answer them.

Previous noob question thread: https://lemmy.ml/post/14261893

427
428
 
 

Obviously, a bit of clickbait. Sorry.

I just got to work and plugged my surface pro into my external monitor. It didn't switch inputs immediately, and I thought "Linux would have done that". But would it?

I find myself far more patient using Linux and De-googled Android than I do with windows or anything else. After all, Linux is mine. I care for it. Grow it like a garden.

And that's a good thing; I get less frustrated with my tech, and I have something that is important to me outside its technical utility. Unlike windows, which I'm perpetually pissed at. (Very often with good reason)

But that aside, do we give Linux too much benefit of the doubt relative to the "things that just work". Often they do "just work", and well, with a broad feature set by default.

Most of us are willing to forgo that for the privacy and shear customizability of Linux, but do we assume too much of the tech we use and the tech we don't?

Thoughts?

429
430
431
22
submitted 1 month ago* (last edited 1 month ago) by data1701d@startrek.website to c/linux@lemmy.ml
 
 

Original Post: https://startrek.website/post/13283869

Update: Nope, I'm still having the problem. It seems to be an ACPI problem. I found a potential solution, which I will test soon. The issue seems to only occur when using the charger and Bricklink Studio. These seems to be a common issue on Lenovo.

Another update: I fixed it, but I can't remember what I did. I'm having a great experience again. I'll see if I can find the fix for other owners of this laptop.

Update: I remember what I did, and have detailed it and where I found the fix here: https://startrek.website/post/14342770 . You should probably update the firmware for the sake of a clean journalctl, though.

After using this laptop a few weeks, I have one important note. I was having a problem for a while where, usually after waking from sleep, in some rooms my Wi-Fi card would disconnect and I'd have to reboot to get my network connection back. Based on journalctl, it seemed to be some sort of weird firmware error.

I found the fix was to install updated firmware, specifically the version of firmware-realtek from testing, upon which the problem has stopped ocurring. As firmware packages tend to not have a lot of dependencies, I do want to see if I can get a bookwork-backports package uploaded so it's easier to install.

432
 
 

The operating system for Hackers, Security Specialists, Sysadmins, Network Engineers, and Political Dissidents. The ultimate framework for your Cyber Security operations

433
 
 

I wanna share /mnt so I can download stuff to my hard drives

434
 
 

Edit: it went away after I finshed the t2linux setup

435
126
submitted 1 month ago* (last edited 1 month ago) by ruff@lemmy.ml to c/linux@lemmy.ml
 
 

Hi everyone,

I’m excited to share that I’ve started working on a new project called Journal Helper. Its a journal viewer built from scratch using Qt6 and C++. The goal is to provide a fast, visually integrated journal viewer for Linux, particularly for KDE/Plasma users.

While there are existing tools like journal-viewer (https://github.com/mingue/journal-viewer), which uses WebKit, I found that its GUI doesn’t integrate well with the Qt/Plasma ecosystem. I also wanted to improve performance and create a more seamless visual experience. Therefore, I decided to create a new viewer from scratch that should be quicker and more efficient.

The project is still in its early stages, but I’d love to get more people involved, especially those who are interested in Qt development. As a beginner myself, I’m eager to learn from others and collaborate on making this tool as good as it can be.

How to Get Involved

GitHub Repo: https://github.com/rughinnit/journal-helper-qt

AUR Package: https://aur.archlinux.org/packages/journal-helper-qt

Any contributions, whether it’s in the form of code, design ideas, or feedback, would be incredibly valuable. If you’re experienced with Qt, C++, or even just interested in contributing, please feel free to fork the repo or reach out.

I’m aware of tools like KJournalDBrowser (https://apps.kde.org/kjournaldbrowser/), but I had some trouble with installation without using Snap. My goal is to create something simple and accessible for all users.

Looking forward to any thoughts, contributions, or advice you might have!

436
 
 

I know you can build a Debian system with debootstrap. Using debootstrap it should be possible to create a custom image. The main partition could be read only with separate mounts for anything that need to be read write.

Using containers it should be possible to create a filesystem image. I think the tricky part it testing the image and then updating the existing partition. Maybe some custom ostree tool could do the trick. If not there is always rsync and btrfs snapshots.

437
 
 

And Linux isn't minimal effort. It's an operating system that demands more of you than does the commercial offerings from Microsoft and Apple. Thus, it serves as a dojo for understanding computers better. With a sensei who keeps demanding you figure problems out on your own in order to learn and level up.

...

That's why I'd love to see more developers take another look at Linux. Such that they may develop better proficiency in the basic katas of the internet. Such that they aren't scared to connect a computer to the internet without the cover of a cloud.

Related: Omakub

438
16
submitted 1 month ago* (last edited 1 month ago) by neidu2@feddit.nl to c/linux@lemmy.ml
 
 

I have a Dell Latitude 5420 laptop with LMDE, running kernel 6.1.0-12. This laptop has a builtin I219-LM ethernet controller that I can see via lspci. Some research indicates that this needs the e1000e kernel module, so I grabbed it from Intel, compiled it, and installed it. There were some complaints during the compilation, but nothing more than the average compilation process. Plus, it shows up in lsmod. Afterwards, lspci -vv displays it with the e1000e driver:

0000:00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (13) I219-LM (rev 20)
        Subsystem: Dell Ethernet Connection (13) I219-LM
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        IOMMU group: 15
        Region 0: Memory at a6100000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [c8] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Kernel modules: e1000e

However, when I do lshw, it is listed as unclaimed:

  *-network:1 UNCLAIMED  
       description: Ethernet controller  
       product: Ethernet Connection (13) I219-LM  
       vendor: Intel Corporation  
       physical id: 1f.6  
       bus info: pci@0000:00:1f.6  
       version: 20  
       width: 32 bits  
       clock: 33MHz  
       capabilities: pm msi cap_list  
       configuration: latency=0  
       resources: memory:a6100000-a611ffff  

...and of course, it's still not showing in ifconfig. So, where do I go from here? Did I miss anything obvious?

And just for the record, I know that the ethernet port is working. It worked fine in Win11 before wiped the PC completely.

439
49
submitted 1 month ago* (last edited 1 month ago) by Churbleyimyam@lemm.ee to c/linux@lemmy.ml
 
 

Does anyone know how I can select my audio output via the command line? I'm frequently switching between using my monitors inbuilt speakers and a USB audio interface and I'm finding it laborious to navigiggerate graphically through the settings in GNOME to do so.

What I'd like to do is set up a couple of bash aliases and do it in my terminal.

What's the best way for me to do that?

Many thanks

440
 
 

Apparently I installed that thing in 2006 and I last updated it in 2016, then I quit updating it for some reason that I totally forgot. Probably laziness...

It's been running for quite some time and we kind of forgot about it in the closet, until the SSH tunnel we use to get our mail outside our home stopped working because modern openssh clients refuse to use the antiquated key cipher I setup client machines with way back when any longer.

I just generated new keys with a more modern cipher that it understands (ecdsa-sha2-nistp256) and left it running. Because why not 🙂

441
 
 

Ubuntu Core Desktop is an immutable distro, takes a different path than most other immutable distros.

  • The entire OS is built using snaps, including the kernel and bootloader
  • Uses snaps instead of flatpak
  • Prefers LXD over distrobox and other projects that use podman
442
443
 
 

My laptop isn't under my supervision most of the time. And I'd hate it if someone were to steal my SSD, or whole laptop even, when I'm not around. Is there a way to encrypt everything, but still keep the device in sleep, and unclock it without much delay. It's a very slow laptop. So decryption on login isn't viable, takes too long. While booting up also takes forever, so it needs to be in a "safe" state when simply logged out. Maybe a way that's decrypt-on-demand?

I'm on Arch with KDE.

444
36
Gnome mutter 47.rc tagged (gitlab.gnome.org)
submitted 1 month ago* (last edited 1 month ago) by that_leaflet@lemmy.world to c/linux@lemmy.ml
 
 

Notable changes

  • Add experimental color management protocol support
  • Use libadwaita for server-side decorations on GNOME (on Xorg and Xwayland apps)
  • Let scaling-aware Xwayland clients scale themselves
  • Add initial PipeWire explicit sync support
445
 
 
446
 
 

Beside DE and terminal commands , is there anything else I should try in a linux distro ?

447
 
 

I’ve been using Arch for just over a year on my older Dell laptop, and have been regularly running sudo pacman -Syu but not once have I had a problem or anything break. What am I doing wrong?

448
 
 

So, I have a Steelseries M800 keyboard and a Corsair mouse. Unfortunately neither of them are supported by Open RGB, and so I'm stuck with my RGB making rainbows.

Well, sort of. My keyboard still has the configuration it had from when I still used Windows over 2 years ago. But my mouse does not.

I use an XP Pen tablet for making art, and the official driver from XP Pen doesn't come with any options to adjust and calibrate the screen's colours, but I managed to figure out how to access these hardware settings through command line. Now this has me wondering if it's possible to do the same for my keyboard and mouse.

449
 
 

I like my Linux installs heavily customized and security hardened, to the extent that copying over /home won't cut it, but not so much that it breaks when updating Debian. Whenever someone mentions reinstalling Linux, I am instinctively nervous thinking about the work it would take for me to get from a vanilla install to my current configuration.

It started a couple of years ago, when dreading the work of configuring Debian to my taste on a new laptop, I decided to instead just shrink my existing install to match the new laptop's drive and dd it over. I later made a VM from my install, stripped out personal files and obvious junk, and condensed it to a 30 GB raw disk image, which I then deployed on the rest of my machines.

That was still a bit too janky, so once my configuration and installed packages stabilized, I bit the bullet, spun up a new VM, and painstakingly replicated my configuration from a fresh copy of Debian. I finished with a 24 GB raw disk image, which I can now deploy as a "fresh" yet pre-configured install, whether to prepare new machines, make new VMs, fix broken installs, or just because I want to.

All that needs to be done after dd'ing the image to a new disk is:

  • Some machines: boot grubx64.efi/shimx64.efi from Ventoy and "bless" the new install with grub-install and update-grub
  • Reencrypt LUKS root partition with new password
  • Configure user and GRUB passwords
  • Set hostname
  • Install updates and drivers as needed
  • Configure for high DPI if needed

I'm interested to hear if any of you have a similar workflow or any feedback on mine.

450
 
 

cross-posted from: https://lemy.lol/post/30548063

I have an old hp pavilion dv6 and I installed windows 7. Then i tried installing Ubuntu 24.04 and the USB wouldn't boot, it just showed "GRUB" in the top left of the screen. I tried with another USB and the same issue emerged.

view more: ‹ prev next ›