Linux

49687 readers
766 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
476
 
 

Hello there,

Just wondering whether anyone can recommend a particular carrier/option/choice for a SIM card to use in IoT hardware?

UK networks only please!

477
70
submitted 2 months ago* (last edited 2 months ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

This release adds the following features:

  • Add a power quirk for Framework systems
  • Speed up writing firmware to the new Dell dock

This release fixes the following bugs:

  • Deinitialize DRM after getting GPU marketing name to fix Xorg startup
  • Do not show 'Device has been removed' as a dock device error
  • Fix a warning about legion-hid2 progress going backwards
  • Fix some small memory leaks in realtek-mst and dell-kestrel
  • Only mark supported Logitech devices as updatable
  • Parse FDTs with missing END tokens to work on more ChromeBooks
  • Reduce the device emulation RSS requirement by ~40%
  • Skip checking BootXXXX entries when the partition does not exist

This release adds support for the following hardware:

  • Primax Ryder Mouse
478
 
 

The openSUSE community is excited to announce the official release of Leap Micro 6.1.

Leap Micro continues its alignment with SUSE Linux Enterprise Micro, ensuring robust container and virtual machine hosting capabilities. The release has a new opensuse-migration-tool, whic simplifies upgrades for smoother transitions between releases. Some enhanced features include soft-reboot support. Two-factor authentication (TOTP) for PAM logins improves security. There are additional tools like vhostmd for SAP Virtualization and improvements to the jeos-firstboot wizard and more.

The release of Leap Micro 6.1 signals the End of Life (EOL) for Leap Micro 5.5. Users are strongly encouraged to upgrade to either Leap Micro 6.0 or 6.1 to continue receiving updates and support.

479
 
 

Hi,

The SBC Raspberry Pi 4 boot on an sdcard with two partition /boot and /

So I managed to encrypt the partition / with cryptsetup

Here the partition of my sd-card

device FILESYS LABEL UUID
sdb1 vfat BOOT ( 9 characters )
sdb2 crrypto_LUKS ( 36 characters )

I've modified the /boot/cmdline.txt

to ( on one line )

console=serial0,115200
console=tty1
root=UUID=#If I try the UUID of sdb2 it fail and also the UUID when I use `cryptsetup luksOpen /dev/sdb2 b2open`
rootfstype=ext4
fsck.repair=yes
loglevel=5
net.ifnames=0
firmware_class.path=/lib/firmware/updates/brcm
rootwait
cryptdevice=UUID=#I dont know which one:b2open

any ideas ?

Thanks.

480
50
submitted 2 months ago* (last edited 2 months ago) by overgrown@lemmings.world to c/linux@lemmy.ml
 
 

cross-posted from: https://lemmings.world/post/17468408

I am thinking of buying a relatively cheap laptop that is reasonably powerful. I am at loss when it comes to new CPU naming and its compatibility with Linux (from both Intel/AMD). I prefer Ryzen 5 or Core 5 above with atleast 16GB RAM.

Framework laptops are not available where I live.

I saw some Reddit posts claiming AMD being not optimized for Linux particularly for arch related distros (I use EndeavourOS). I am thinking of buying a Thinkbook from Lenovo, but confused b/w team blue & red.

Which of these CPUs are better for running Linux long-term with respect to optimizations, power management, thermals, track pad support etc. If anyone has a laptop recommendation, please feel free to comment down below.

Also, should I go for a high end Laptop like Asus Zenbook S14? A lot of reviews are picking it as the best compact laptop to buy this year. Its expensive. But if it keeps working for a long time, like 6+ years, then I don't mind investing.

Edit: I use Gnome as my DE with EndeavourOS, but can also try Debian 12 with Gnome.

481
 
 

Hi Does any of you use this mouse on their Linux machine. Apparently its pretty good mouse other than the fact that software is atrocius and you cant change RGB howewer you want or configure dps and deafult rgb setting apparently suck. Buuut obviusly i wont be using windows software on linux but probably piper or whatewer else i can find . So my question is does linux fix the flaws of that mice or perhaps quite the opposite ? How do gaming mouses even work on linux in general ?

482
483
 
 

I'm trying to find a higher paying job and I came across one for a "Syslog-ng Admin/Engineer." The pay seems promising and the requirements aren't that long but does ask for experience in syslog-ng. I've never heard of this before today. What is syslog-ng and what can I do to get experience with it?

484
485
 
 

cross-posted from: https://leminal.space/post/12999238

Hi,

when running an Android app in Waydroid, what data can it see? Can it read my local hard drive? Can it scan my network? Can I manage it to just live in it's container and get nothing but an internet connection?

486
487
11
submitted 2 months ago* (last edited 2 months ago) by sgibson5150@slrpnk.net to c/linux@lemmy.ml
 
 

Final edit: I got all the Linux stuff right but made a dumb mistake generating the image on the Windows side. Watching the VM boot right now. Thanks to all for your support!

cross-posted from: https://slrpnk.net/post/15860280

Contemplating Fedora Kinoite for work daily driver. Need to prove that I can virtualize an existing physical Windows 11 machine. Using Bazzite on a personal laptop as a host test bed.

Test host seems to be set up correctly. I layered the packages in the virtualization group, layered virtio-win (from downloaded rpm package), added my user to the libvert group, and enabled libvirtd. After a reboot or two, I can connect with the Virtual Machine Manager and define my VM.

On physical machine I used Disk2vhd to generate a vhdx. Moved that file to the test host and converted to qcow2. Copied disk image to /var/lib/libvert/images and added it as my drive image when I defined the VM.

VM starts but will not boot. Stupid question: Should I have installed virt-win-gt-x64.msi from the virtio-win ISO on the source Windows install before I created the vhdx?

Edit: Since I posted, I installed a Debian guest from scratch in this environment and it runs like a champ. πŸ‘

488
489
47
submitted 2 months ago* (last edited 2 months ago) by Artemis_Mystique@lemmy.ml to c/linux@lemmy.ml
 
 

I have been facing this issue since yesterday, but basically at some point the system becomes insanely slow, and the restart and shutdown options disappear from the menu, tty3-7 dont work, it freezes at the shutdown -now command(at which point I just manually cut the power(bad Idea I know)),

but today I stuck around as my system got insanely borked, eventually freezing up and giving me the screen above. the problem shows up after I wake it up from suspend but not always: My system specs:

OS: Fedora Linux 41 (Workstation Edition) x86_64 
Host: TECRA R940 PT439V-03U02WAR 
Kernel: 6.11.10-300.fc41.x86_64 
Uptime: 23 mins 
Packages: 2282 (rpm), 43 (flatpak) 
Shell: bash 5.2.32 
Resolution: 1600x900 
DE: GNOME 47.1 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-3540M (4) @ 3.700GHz 
GPU: AMD ATI Radeon HD 7550M/7570M/7650M 
Memory: 1845MiB / 7879MiB 

here are the journalctl entries that I think are relevant

entries for events 40 min before that.

and this is from when it happened earlier in the day

490
491
 
 

cross-posted from: https://lemmings.world/post/17422969

Yesterday I did an update (using yes | yay) for about 75 packages on my 6 year old EndeavourOS system. I do updates every 2 weeks in general. Rebooted, did some work and left the screen on, for an hour (I usually do this). Came back and saw my screen having weird doubling text glitch, [like this screenshot above]. This issue also visible on my firmware setting (BIOS) screen, which leads me to believe this might be a h/w issue, though not sure.

I want to know whether an arch update can break my display. One particular thing I noticed this morning was, when i adjusted my display brightness, the screen went back to normal for a minute or so.

Also recently I changed my battery about 2 months ago. This was my second battery replacement. After I did my first battery replacement (3 years ago), my laptop had similar display issues with Intel integrated graphics on Windows a month later. which forced me to switch. It was fine on Linux, up until now. So it got me thinking if there is any connection with battery replacements and display issues. I know it sounds weird. Earlier there were not display anomalies on the BIOS screen, but now there is.

Is there a way to fix this.

System info: HP Envy, EndeavourOS Linux 6.12.1-arch1-1, Intel(R) Core(TM) i7-8550U with Intel UHD Graphics 620

[Update 1]
I hooked up my laptop to an external monitor and everything looks fine on the monitor screen. So the issue is only with my Laptop’s screen I guess.

[Update 2]

Packages I upgraded yesterdayalsa-card-profiles alsa-ucm-conf alsa-utils sqlite npth systemd-libs libsysprof-capture gnupg file systemd pacman archlinux-keyring bash-completion btrfs-progs c-ares dav1d dkms edk2-ovmf ell eos-translations fastfetch spirv-tools glslang libpipewire pipewire pipewire-audio libwireplumber wireplumber pipewire-jack libjxl shaderc libplacebo pixman ffmpeg noto-fonts firefox flatpak fluidsynth fwupd gst-plugin-pipewire iwd js115 js128 less libbpf libsynctex libtool openal mpv noto-fonts-extra passt perl-image-exiftool pipewire-alsa pipewire-pulse pkgconf plocate pv qt6-translations qt6-base qt6-declarative qt6-multimedia-ffmpeg qt6-multimedia qt6-svg qt6-wayland sudo systemd-resolvconf systemd-sysvcompat ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols virtiofsd webkit2gtk-4.1 webkitgtk-6.0 welcome xterm librewolf-bin librewolf-bin-deb

492
 
 

This is a reminder to user sudoedit. Especially useful for Vim and Neovim users who have a rich and personal configuration.

sudoedit /etc/fstab

is also an option. sudoedit is a short form for sudo -e. It uses the default editor set int EDITOR or VISUAL variable. The difference to sudo vim FILE or sudo nano FILE is, that sudoedit FILE will use the editor configuration from the current user instead from the root. For me this makes a huge difference, because my plugins and settings for Neovim are not used when doing sudo vim.

Man page: https://linux.die.net/man/8/sudoedit

-e' The -e (edit) option indicates that, instead of running a command, the user wishes to edit one or more files. In lieu of a command, the string "sudoedit" is used when consulting the security policy. If the user is authorized by the policy, the following steps are taken:

  1. Temporary copies are made of the files to be edited with the owner set to the invoking user.

  2. The editor specified by the policy is run to edit the temporary files. The sudoers policy uses the SUDO_EDITOR, VISUAL and EDITOR environment variables (in that order). If none of SUDO_EDITOR, VISUAL or EDITOR are set, the first program listed in the editor sudoers(5) option is used.

  3. If they have been modified, the temporary files are copied back to their original location and the temporary versions are removed.

If the specified file does not exist, it will be created. Note that unlike most commands run by sudo, the editor is run with the invoking user's environment unmodified. If, for some reason, sudo is unable to update a file with its edited version, the user will receive a warning and the edited copy will remain in a temporary file.

493
 
 

I have a Surface Go tablet that I switched over to Linux a while back, and just came across a problem that I don't know how to approach. I use an iDataLink Maestro module in my car to make an aftermarket stereo do what I want it to do. I want to check for a firmware update on it, but the management software tool is windows or mac only.

So I installed WINE and the PlayonLinux front end. I successfully installed the tool (Weblink) but the keyboard doesn't work so I can't log into it. The trackpad works though, and this is a directly connected keyboard/trackpad, so for one to work but not the other seems weird. I can find threads about non-functional keyboards with some games, but I honestly don't understand the guidance being dished out.

How can I troubleshoot and fix this keyboard issue?

494
495
496
 
 

Not sure why that is, but I have 32 GB of RAM and I would like my system to utilize it as much as possible, but as you can see in the screenshot, the system is only using 5.66 GB of the physical RAM, but swap is still being used in a high number. Is this normal? Should I lower the swappiness to lower than 10? Should I let it be? Thanks
Here is the screenshot

497
21
submitted 2 months ago* (last edited 2 months ago) by JoMiran@lemmy.ml to c/linux@lemmy.ml
 
 

I want to start uploading my musical tidbits online and I am looking for tools that can help me auto-generate videos off my music. I do all my music on Linux and I'd like the virtualization tool to also be Linux based. These can be visualizers or image screensaver style transitions. Anything that isn't generative "AI" because I'd rather not inadvertently steal others art. Any suggestions on apps?

498
 
 

On Windows, if you click MMB on some windows, your mouse cursor will turn into a little ↕️ icon, and then you can scroll by moving the mouse cursor up and down, with it going faster the further you drag away from the position it was originally at.

This is one (1) behaviour I miss from Windows. Hours upon hours of scroll-wheeling makes my joints quite tired.

But well. Linux is nothing if not customisable, so I'm wondering if there's a way to recreate this behaviour on it.

I'm on KDE Plasma.

499
500
 
 

Hi,

I have an air gaped[^1] device. ( Devuan )

How do you manage to install packages/software on off-line[^1] device ?

I've heard of apt-offline but it seem to bug and I don't know if it's still maintained (last release two years ago)

of course I've tried manually but the dependencies relations are too crazy to do that fully manually

Dependence tree (not complete even) to install for example apt-offline

β”œβ”€β”€ Depends
β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Depends
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python3-dbg_3.9.2-3_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ libcurl4-gnutls-dev_7.74.0-1.3+deb11u14_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python3-pycurl-dbg_7.43.0.6-5_amd64.deb
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python-pycurl-doc_7.43.0.6-5_all.deb
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python3-httplib2_0.18.1-3_all.deb
β”‚Β Β  β”‚Β Β  └── python3-pycurl_7.43.0.6-5_amd64.deb
β”‚Β Β  β”œβ”€β”€ iso-codes_4.6.0-1_all.deb
β”‚Β Β  β”œβ”€β”€ python3-pysimplesoap_1.16.2-3_all.deb
β”‚Β Β  └── python-apt-common_2.2.1_all.deb
β”œβ”€β”€ python3-apt_2.2.1_amd64.deb
└── python3-debianbts_3.1.0_all.deb

Any ideas ?

Thanks.

[^1]: air gaped, off-line
https://en.wikipedia.org/wiki/Air_gap_(networking)

view more: β€Ή prev next β€Ί