1
0
submitted 2 months ago by NotAnArdvark@lemmy.ca to c/linux@lemmy.ml

I have a very specific questions about Linux Traffic control and u32 filters in particular. However, I don't know where the right place is to ask such a question as it's fairly niche.

The Linux Advanced Routing & Traffic Control site says it has a mailing list for questions, but the last post was from 2019. There is also the incredibly busy 'linux-netdev' mailing list, but, the traffic there looks like strictly source changes.

Any ideas?

The question I'm trying to find an answer to is: The u32 tc filter seems to support negative byte offsets which allows you to examine the Ethernet frame header (I don't think I even found documentation on this, this is thanks to ChatGPT). However, when using u32 values to examine 8 bytes I can only use offsets in increments of 4 - like "at -8" or "at -12", with any other increment giving me the error Illegal "match".

This seems like only a curiosity, but, I've been struggling to get my bit-matching to match the way I expect, and I'm wondering if this suggests that matching doesn't function the way I think.

2
1
submitted 3 months ago by jackpot@lemmy.ml to c/linux@lemmy.ml

hi all, i tried installing through apt and got an older 0.6.4 and i tried installing through an appimage but for some reason nvchad didnt accept it. also what is nerdfonts and is that the default for linux mint? been at this for an hour and am very confused

3
1
submitted 3 months ago by SSUPII@sopuli.xyz to c/linux@lemmy.ml

Whenever I am using an X11 session or a XWayland window, there is a chance the keyboard will stop working (globally for X11, only in XWayland windows if session is Wayland) until the session is restarted.

Nothing gets written in any log, the keyboard just stops getting registered in X11/Xwayland contexts. It will happen usually after heavy operations of the keyboard (like holding a shift key, or multiple buttons get pressed repeatedly or too quickly). It happens almost every time I play videogames, and happened only once during normal typing.

Attaching an external keyboard doesn't matter, as it will have the same synthoms.

This is the only proper mention of my issue online https://bbs.archlinux.org/viewtopic.php?id=274456

I am using a ASUS VivoBook Pro 15 N580VD laptop. Running Debian 12 and KDE Plasma. This is not a faulty keyboard, as doesn't happen on Windows and in strict Wayland contexts.

4
1
submitted 3 months ago by savbran@feddit.it to c/linux@lemmy.ml
5
1
submitted 3 months ago by Hiro8811@lemmy.world to c/linux@lemmy.ml

I recently reinstalled arch but I have a problem with efi partition, user can acces it and the fstab is fucked up

Static information about the filesystems.

See fstab(5) for details.

>

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f >/ ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot vfat >rw,relatime,fmask=0022,dmask=0022,codepage=>437,iocharset=ascii,shortname=mixed,utf8,errors>=remount-ro 0 2

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f >/ ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot/grub vfat >rw,relatime,fmask=0022,dmask=0022,codepage>=437,iocharset=ascii,shortname=mixed,utf8,erro>rs>=remount-ro 0 2

/dev/nvme0n1p2

UUID=e085a3ed-42c6-4329-ae32-9fe68d6ea02f / ext4 rw,relatime 0 1

/dev/nvme0n1p1

UUID=81F6-B0FD /boot/grub vfat >rw,relatime,fmask=0022,dmask=0022,codepage=>437,iocharset=ascii,shortname=mixed,utf8,error>s=remount-ro 0 2

I have tried modifying and regenerating fstab but it dosen't work. Also grub can't be accessed when I'm booted, nor does grub theme. How to I fix this?

6
1
submitted 3 months ago by beta_tester@lemmy.ml to c/linux@lemmy.ml

Which convertible / tablet can you guys recommend?

I am looking for a replacement for my laptop.

It should run smooth. I don't run games on it. It's for writing prose and analysis with vscodium.

Microsoft surface go?

7
1
submitted 3 months ago by ajayiyer@mastodon.social to c/linux@lemmy.ml

Gentle reminder to everyone that support for #windows10 ends in about 90 weeks. Many computers can't upgrade to Win 11 so here are your options:

  1. Continue on Win 10 but with higher security risks.
  2. Buy new and expensive hardware that supports Win11.
  3. Try a beginner friendly #Linux distro like #linuxmint. It only takes about two months to acclimate.

@nixCraft @linux @windowscentralbot

8
1
submitted 3 months ago by edu4rdshl@lemmy.world to c/linux@lemmy.ml

Let's talk about #Linux on the desktop, #Gnome and the state of #Wayland in 2024.

9
1
submitted 3 months ago* (last edited 3 months ago) by tester1121@lemmy.world to c/linux@lemmy.ml

I am currently using EndeavourOS, but am annoyed by the constant daily updates of 1GB and pacman not installing important dependencies automatically (ex: spell checker for document editor). I like the way Fedora works: you update whenever, important dependencies are downloaded automatically, and packages are recent-ish, but I don't like that it takes forever to run dnf. I don't want to use Manjaro (apparently it breaks quickly?), and the distro needs to support KDE. I know about Flatpak, but I don't want to download 1GB of data for each app. Are there any good options?

(Yes, I can probably deal with Fedora, but dnf is slower than apt, and I don't want to deal with external repositories for non-free software.)

EDIT: I do not want to tweak or edit configuration files, I just need something that has up to date packages and "just works".

10
1
submitted 3 months ago* (last edited 3 months ago) by wwwgem@lemmy.ml to c/linux@lemmy.ml

Hello,

The NixOS community has been great in helping me with my first steps in this distro. So I'll ask again few neovim-related issues I couldn't figure out after 3 days of search.

First, let me tell you that I'm trying to import a working neovim setup from another distro. Then let's see how I've configured neovim. I have this in my home.nix file:

programs.neovim = {
  enable = true;
  withPython3 = true;
  extraPython3Packages = (ps: with ps; [
    pynvim
    unidecode
    black
    isort
  ]);
  plugins = with pkgs.vimPlugins; [
    { plugin = *plugin_name*;
    type = "lua";
    config = builtins.readFile *config_file_path*;
    }
    ...
    ];
};

(my init.lua file is in the $HOME/.config/nvim folder)

With that most of my plugins work. Most because few are troublesome. Let's focus on three of them:

  1. I have pkgs.vimPlugins.nvim-comment installed but neovim reports that the command CommentToggle is not an editor command

  2. I have pkgs.vimPlugins.nvim-treesitter installed but the command TSInstall markdown returns "could not create parser dir '/nix/store/.../nvim-treesitter/parser ': Vim:E739: read-only file system '"

  3. I have pkgs.vimPlugins.mason-nvim and pkgs.vimPlugins.mason-lspconfig-nvim installed but runngin checkhealth mason returns few warnings:

  • mason.nvim is not the latest version (I use the unstable channel)
  • pip: not available spawn: python3 failed with exit code 1 and signal 0. /run/current-system/sw/bin/python3: No module named pip (note that python3_host_prog and python3_host_prog pip are marked "OK")

Thanks again for your assistance.

11
1
submitted 3 months ago by Libretto@iusearchlinux.fyi to c/linux@lemmy.ml

I love Flatpaks, the programs are nicely separated so they don't interfere with each other. They also don't have flaws like Snap's low performance or Nix's complexity.

But being limited to only graphical apps seems like a real drawback. If one wants to use Flatpaks as their primary package manager there have to be some awkward workarounds for cli programs.

E.g., the prime Flatpak experiene is supposed to be on immutable distros like Silverblue. But to install regular cli programs you are expected to spin up a distrobox (or toolbox) and install those programs there.

Having one arch distrobox where I get my cli programs from will not work, as the package entropy over time will get me the very dependency issues that Flatpak wants to solve.

So what is the solution here? Have multiple distroboxes and install packages in those in alternation and hope the boxes don't break? Use Nix alongside Flatpak? Use Snaps?

12
1
submitted 3 months ago* (last edited 3 months ago) by wwwgem@lemmy.ml to c/linux@lemmy.ml

Hello,

I'm experiencing with NixOS and would like to know what would be the nicest way to add a specific line to a system file.

As an example, how would you configure NixOS so the line
auth sufficient pam_fprintd.so
is added to the /etc/pam.d/doas file? As a bonus, it would be nice to know how to change an option (and not add an entire line) to a system file for which there is no NixOS default extraConfig/extraRules support for.

This would allow me to add this line or not depending on the machine NixOS will be installed on.

Thanks in advance for your suggestions.

13
1
submitted 3 months ago by ForgottenFlux@lemmy.world to c/linux@lemmy.ml

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

• Firefox now displays images and descriptions for search suggestions when provided by the search engine.

• The translations feature received an improvement in the quality of translated webpages. The results should be much more stable. This fixes issues where the content of a page could disappear when translated, or interactive widgets could break.

• Firefox now supports creating and using passkeys stored in the iCloud Keychain on macOS.

• MDN Web Docs article suggestions from Firefox Suggest will be available in the address bar for users searching for web development-related information.

• The line breaking rules of Web content now match the Unicode Standard. This improves Web Browser compatibility for line breaking. An additional improvement for East Asian and South East Asian end users, Firefox now supports proper language-aware word selection when double-clicking on text for languages including Chinese, Japanese, Burmese, Lao, Khmer, and Thai.

• Firefox now ships with a new .deb package for Linux users on Ubuntu, Debian, and Linux Mint.

• Various security fixes.

For more information, visit https://www.mozilla.org/en-US/firefox/122.0/releasenotes/

Firefox for Android

• Firefox for Android can now be set as the default PDF reader.

• Firefox for Android now supports enabling Global Privacy Control. With this feature, Firefox informs websites that the user doesn’t want their data to be shared or sold. This feature is enabled by default in private browsing mode and can be enabled in normal browsing in Settings → Enhanced Tracking Protection -> Tell websites not to share & sell data toggle.

• To reduce user fingerprinting information and the risk of some website compatibility issues, the OS version is now always reported as "Android 10" in Firefox for Android's User-Agent string.

• Various security fixes.

For more information, visit https://www.mozilla.org/en-US/firefox/android/122.0/releasenotes/

14
1
submitted 3 months ago by ForgottenFlux@lemmy.world to c/linux@lemmy.ml
15
1
submitted 3 months ago* (last edited 3 months ago) by harsh3466@lemmy.world to c/linux@lemmy.ml

I’ve been homelabbing for a few years now, and recently I’ve really been focusing in on learning how to use gnu/linux. I thought it might be fun to periodically share the things I’ve been learning. The stand outs for me this past week were:

  1. Use the full path when referencing files and directories in bash scripts (Edit: when it makes sense, which is something I’m also still learning. This mkaes sense when the files will always be located in the same place.)
  2. In a bash script, the variable ${file##*/} will get you the name of the file your script is handling (example, when looping over files in a directory. I believe that’s a shell/bash standard variable, but I need to learn where it came from and how it works)
  3. Ubuntu gets a ton of justifiable criticism, but I find Canonical’s Multipass to be a great tool for spinning up Linux virtual machines. Especially on Apple silicon macs.
  4. Piping the output of ls to grep as a variable in a path is a great way to change to a directory you know exists but can’t remember the exact name of. (Example: cd ~/movies/“$(ls ~/movies | grep movie-name)”)
  5. The reason Mac cli utilities have syntax variations compared to the standard gnu/linux utilities is because macOS and its cli utilities are BSD based. This was information I knew at a high level, but had never really understood the implications of until this week.
  6. Related to point 5, if you’re on macOS trying to learn and you’re annoyed by the syntax differences between bsd and gnu utilities, you can run this script from darksonic37 on github to remove the bsd utilities from macOS and replace them with their gnu counterparts. (I have not run or reviewed the script. I found mulitpass first, and so far I’m happy using the Ubuntu virtual machine)
16
1
submitted 3 months ago by joojmachine@lemmy.ml to c/linux@lemmy.ml

We recommend running Element to join, as you'll be able to have access to everything related to the event with its widgets, but you can use any Matrix client to join and have the YouTube livestream on another tab!

17
1
submitted 3 months ago by AapoL@sopuli.xyz to c/linux@lemmy.ml

A website with the make log is linked. I'm having a problem with installing drivers on my Fedora install. I have an RX6600 and would like to install the amdgpu drivers. I've tried trough dnf and the official amdgpu-install script. Any ideas why this compile error is happening? Actually considering going to Arch or Ubuntu because of this. I've had a lot of problems with AMD drivers on Fedora. I would like to also use Blender GPU Rendering. This is what their page says about it. The drivers I had previously were the normal ones. Now I'm having problems installing any drivers.

HIP – AMD

HIP is supported on Windows and Linux and requires a AMD graphics card with the Vega architecture or newer. Both discrete GPUs and APUs are supported.

Supported GPUs include:

    Radeon VII

    Radeon RX Vega Series

    Radeon RX 5000 Series

    Radeon RX 6000 Series

    Radeon RX 7000 Series

    Radeon Pro WX 9100

    Radeon Pro W6000 Series

Minimum driver versions:

    Windows: Radeon Software 21.12.1 or Radeon PRO Software 21.Q4

    Linux: Radeon Software 22.10 or ROCm 5.3

Please refer to AMD’s website for more information about AMD graphics cards and their architectures.

Would I need to install ROCm? Trough their AMD's install script it was represented as an option, but I ran into the same problem here.

18
1
submitted 3 months ago by someacnt_@lemmy.world to c/linux@lemmy.ml

I installed Pop_OS in place of ubuntu last week, and loving it so far. Most things worked out-of-the-box, but there is this one thing that has been bothering me.

Whenever I open the lid of my laptop, the fan goes crazy and becomes very loud. Strangely, changing the battery option to "High Performance" seems to silence it. Why is this happening, and how can I remedy this issue?

  • My laptop is ASUS ROG Zephyrus, and yes I should not have chosen this one.
19
1
submitted 3 months ago* (last edited 3 months ago) by crschnick@sh.itjust.works to c/linux@lemmy.ml

I'm proud to share a status update of XPipe, a shell connection hub and remote file manager that allows you to access your entire server infrastructure from your local machine. It works on top of your installed command-line programs and does not require any setup on your remote systems. So if you normally use CLI tools like ssh, docker, kubectl, etc. to connect to your servers, you can just use XPipe on top of that.

Since the last status update some months ago, a lot of things have changed thanks to the community sharing a lot of feedback and reporting issues. Overall, the project is now in a much more stable state as all the accumulated issues have been fixed. Furthermore, many feature requests have been implemented.

Large connection sets

A lot of work went into improving the application for large use cases when you're managing hundreds of connections. This includes hierarchical organization features to group all your connections into different categories and subcategories. Furthermore, there have been multiple processing and memory optimizations to ensure that the user experience stays smooth all the time. As a side effect, the memory footprint also has gone down. For people who have to use a potato as their workstation, there's also now a performance mode setting to disable any visual effects that are not required.

You can also now tag connections by color for organizational purposes to help in situations when many connections are opened in the file browser and terminals at the same time. These colors will be shown to identify tabs everywhere within XPipe and also outside of XPipe, for example in terminal titles using unicode color symbols.

Connections

A new scripting system

XPipe 1.7 comes with a new scripting system, so now you can take your shell environment everywhere. The idea is to create modular and reusable shell scripts in XPipe that you can then use for various different use cases.

You can set certain scripts to be run on init for every connection independently of your profile files, allowing you to set up a consistent environment across all remote systems without any manual setup. In addition, you can choose to bring scripts to all your remote systems. This will make XPipe automatically copy and update these scripts to a target system if needed and put them in your PATH so that you're able to call them from anywhere.

As of now, there is one set of predefined scripts included for enabling the starship prompt in your shells, mainly as a proof of concept. What you will use the scripting system for is up to you. If you like, you can contribute scripts to be included by default.

Scripts

Other news

  • You can now sync your connection configurations with your own remote git repository

  • You can create fully customized SSH connections by using the OpenSSH config format within XPipe

  • Additional actions for containers have been added, such as attaching to a container or printing the live logs of a container in a terminal session

  • A transparency slider has been added so that you can make all windows partially transparent just as you like

  • Support for many more terminals and text editors across all platforms has been added

  • Support for BSD systems and special login shells like pfSense and OPNsense has been added

  • There's now support to open an SSH connection in your default installed SFTP client or Termius

  • The .deb and .rpm releases now correctly report all required dependencies. So you can install it on embedded systems or WSL2g without any hassle

  • There are now ARM releases for Linux

  • Support for VMware desktop hypervisors has been added

  • There have been many performance improvements to reduce the startup time, memory usage, file browser loading speed, and more

  • The homepage at https://xpipe.io/ got an upgrade

  • There's an official xpipe nixpkg available that you can install. This one is however not always up to date and is currently missing crucial bugfixes that were released a short while ago. There is also a repository that contains the latest up-to-date nixpkg releases: https://github.com/xpipe-io/nixpkg

  • Of course, a lot of bugs have been fixed across the board

  • If you are interested in a video demo, there is a nice YouTube video about it

Going full-time

A few messages I received and the demand for XPipe so far convinced that there is a market for developing XPipe full-time and financing it by special commercial and enterprise plans for interested customers. It essentially encompasses support for enterprise systems and tools that you normally don't find outside of enterprises.

This will improve the development speed and quality as I can now fully focus on creating the best possible application. The scope is very small and only involves me, so no investors or other employees. This drastically lowers the break-even value compared to most other tools and allows me to implement a very lenient commercialization.

Essentially, you can use most current features without any limitation for free. Furthermore, most upcoming features will also be included in the free version. The open-source model and license also won't change. The only features that require a license are integrations for enterprise systems. For example, if you're trying to connect to a licensed RHEL system or an OpenShift cluster, it will ask you to buy a license. Conversely, with a Rocky Linux system and a k3s cluster, you can use everything for free. These commercial-exclusive implementations will probably not be included in the repository though. Other than that, there are no restrictions.

Outlook

So if you gave this project a try a while ago or it sounds interesting to you, you can check it out on GitHub! There are still more features to come in the near future. I also appreciate any kind of feedback to guide me in the right development direction. There is also a Discord and Slack workspace for any sort of talking.

Enjoy!

20
1
submitted 3 months ago* (last edited 3 months ago) by 0x0@social.rocketsfall.net to c/linux@lemmy.ml

As of Linux 6.7 I'm getting hard freezes that require a power cut to reset (sysrq doesn't work.) Happens at both idle and load anywhere from 5 minutes in to an hour. Running journalctl --follow and dmesg -w (both as root) reveal nothing at the time of the crash. Kernel version 6.6 continues to be 100% stable.

System:

  • Distro/Kernel: Arch Linux 6.7.arch3-1
  • CPU: AMD Ryzen 5 2600X
  • GPU: AMD RX580 8GB via AMDGPU
  • RAM: Some configuration of 16GB at 2667 MT/s.
  • WM: SwayWM

I'm unsure how to go about properly reporting a bug if no errors are being generated.

Any advice?

I'm not alone on this apparently (warning, it's reddit.)

21
1
submitted 3 months ago* (last edited 3 months ago) by beta_tester@lemmy.ml to c/linux@lemmy.ml

@nooter692@lemmy.ml is mod of this forum without any comment or posts.

@agreeablelandscape@lemmy.ml hasn't posted in 3 months.

@marcellusdrum@lemmy.ml hasn't posted in 6 months

@cypherpunks@lemmy.ml do you need help? It looks like you are the only one who's active on lemmy

22
1
On "Wasting disk space" (www.ypsidanger.com)
submitted 3 months ago by beta_tester@lemmy.ml to c/linux@lemmy.ml

Flatpaks aren't huge at all. This is a debunked myth. I can't recommend reading this article enough.

23
1
submitted 3 months ago* (last edited 3 months ago) by Hellmo_Luciferrari@lemm.ee to c/linux@lemmy.ml

So, I am making the switch to using Arch full time instead of Windows.

Here is the rundown:

I have windows installed on one NVME and installed Arch on another NVME. After installing Arch on the one drive, and rebooting Arch hung at loading initial ramdisk. It never completed, I force shutdown my PC.

I went back into bios, and there wasn't an entry for my Arch drive whatsoever.

In fact, before this happened I had all bootable drives go missing from within my bios.

So, after the reboot, I left the boot options default, and it did in fact boot to windows.


Other potentially important details:

I used archinstall rather than walking through manually.

UEFI

Secureboot off

GRUB bootloader

Unified Kernel Images on

Luks encrypted BTRFS partitions

Audio Pipewire

Kernels: Linux and Linux-Zen

Network Manager

Hardware:

CPU: i7-12700KF

Motherboard: TUF GAMING Z690-PLUS WIFI D4

GPU: EVGA GeForce RTX 3090 FTW3

RAM: Corsair VENGEANCE® RGB PRO 16GB (x4)

PSU: EVGA SuperNOVA 1000 GT 1000W

Drives: 1tb WD Black SN750 (Drive intended for Arch to be installed on)

1tb Samsung 980 Pro (Drive windows is installed on)

2tb Samsung 980 Pro (separate data drive)


Should I remove my windows drive while installing Arch on another drive?

Rather, what would be the best approach to this?

Could anyone provide any help regarding this?


Edit: More details

24
1
submitted 3 months ago by Jtskywalker@lemm.ee to c/linux@lemmy.ml

Pretty much all of the PDF readers I have tried will work for form filling, however I have some similar issues with all of them.

I mainly use Okular or Atril.

Issue 1 is when filling out multiple fields in a PDF, it becomes extremely slow, to the point of typing some text, and having to wait for 5-10 second for it to show up and I can continue.

Issue 2 is that both Okular and Atril will insert the text with a much larger font size and/or different font than the document. Even in cases where the fields have some pre-populated text, if I touch the field, the font changes. Sometimes the change is significant enough that the text is not readable, or makes surrounding elements not readable.

The best way I have found that works is to use FireFox. The form filling in that works fast and doesn't mess up the fonts, but the way FireFox handles saving PDFs is tedious. I can't just click ctrl+s to save, as it prompts me to choose a location to save at and makes me overwrite the original file every time, rather than just editing it in place.

Is there any PDF reader that people are aware of that does not have these issues? Or is this something that is weird with my setup?

I'm running Debian 12 with the KDE Plasma desktop environment

25
1
submitted 3 months ago by shreddy_scientist@lemmy.ml to c/linux@lemmy.ml
view more: next ›

Linux

41785 readers
1 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 4 years ago
MODERATORS