1
17
submitted 1 day ago* (last edited 1 day ago) by innocentz3r0@programming.dev to c/archlinux@lemmy.ml

cross-posted from: https://programming.dev/post/45148310

Supac is a declarative package manager written in Rust fully scriptable in nushell. It's meant to make it easy to use the native package managers in existing distros without going through the associated headaches of using Nix, while maintaining the ergonomics of structured data in nushell.

Currently supported backends are:

  • Archlinux and derivatives
  • flatpak
  • cargo/cargo-binstall
  • uvx (packages only for now)
  • rustup toolchains

I daily drive it, and it works well. Feel free to give it a try!

2
23

I am always tinkering with my setup. Isn't that that normal for many linux users, especially Arch users?

I have for many years used GRUB, and have touched on using systemd-boot. I ditched systemd-boot rather quickly because I wanted to be able to list snapshots within GRUB and was happy with that until one day I couldn't for the life of me get snapshots to restore upon loading one.

So I started looking around; and found Limine, limine-snapper-sync, and Liminie-mkinitcpio-hook

After finding those, I pulled out a spare machine to test doing a clean install with Limine and proceeded to install snapper, and the above packages for syncing, along with snap-pac. I found it quite easy to use. I even tested restoring a snapshot. It was flawless for my use case.

So I then converted my laptop from GRUB to limine, and then my gaming rig.

I am quite happy with it.

What bootloader do you use, and why?

3
7
submitted 1 week ago* (last edited 1 week ago) by Interstellar_1@lemmy.blahaj.zone to c/archlinux@lemmy.ml

I'm using hyprland, and I have a wallpaper where I want the visualizer to go behind objects. I have an overlay, but I don't know what the best way to get the overlay in front of the buildings is. I have tried using hyprpaper and mpvpaper, but neither seemed to support transparency.

4
16
submitted 3 weeks ago by dave@feddit.uk to c/archlinux@lemmy.ml

I’ve been running Arch (vanilla) on a dell laptop for more than a year now, and really happy with it. I also just installed Omarchy on an ancient machine both to try to give it a bit more life and try out a tiling window manager.

I’m now planning to move my main desktop machine over from windows 10, but it has a 1070ti graphics card—which I’m quite happy with as I don’t game at all, and only occasionally run small local LLM models for messing around. I don’t need a newer card, but of course, Nvidia…

So, would I be better off replacing it now with AMD or something else, or just using the older drivers? Will the 580xx- driver still give me a few years before I need to worry.?

I will miss RTX Voice, but happy to give noisettorch a go.

5
44
submitted 1 month ago* (last edited 1 month ago) by Cornflake@pawb.social to c/archlinux@lemmy.ml

Just installed updates from Pacman, not even touching the AUR. Now when I reboot machine, this happens. It just reboots itself and the cycle repeats itself. Any solutions?

6
22
New in Arch Linux : chess-tui (thomas-mauran.github.io)
submitted 1 month ago by lemmyreader@lemmy.ml to c/archlinux@lemmy.ml
7
9
submitted 1 month ago* (last edited 1 month ago) by Cornflake@pawb.social to c/archlinux@lemmy.ml

I don't know how I ganked it. Was trying to screw with config stuff to set up MPD because I've never done it before. Now I turn on the machine and it is missing the ly greeter. Instead, I type in my username and password and it gives me a terminal. I have no idea what to do now. Got me considering the nuclear option (wave a white flag and install over this drive with Debian).

Help?

Edit: the ly display manager bit the dust for some reason. Just installed sddm and now I'm back in business!

Edit 2: Apparently ly just needed a new symlink because they changed something and the old one no longer works. Back to using my favorite display manager and using my computer as I usually do. Thanks for the help, folks! Y'all are great <3

8
8
submitted 1 month ago by E_coli42@lemmy.world to c/archlinux@lemmy.ml

Is there a FOSS only repo like Debain's main? I couldn't see anywhere in The official repos if core allows non-free repos.

9
2
submitted 1 month ago* (last edited 1 month ago) by solomonschuler@lemmy.zip to c/archlinux@lemmy.ml

Hi everyone, I'm trying to install vivado (2025.2) on my recent install of arch Linux. I've seen this error occur in a lot of Linux distros, and usually it was resolved by installing libncurses and other packages ( which i did successfully do on fedora and other distros). That said, with arch it seems these packages aren't available since it cannot be found by the package manager.

I'm wondering if anyone knows what dependencies are needed, if there are alternatives, to get vivado to work on arch.

10
4

Hello again guys.

I'd like to be able to mute discord notification sounds in addition to toggling off the dunst popup (the latter of which I already have working) but I cant seem to be able to find a way to do so, and control it through the sxhkd keybind.

Here is my keybind to disable notifications:

# Toggle notifications on/off
super + shift + comma
	sh -c 'if dunstctl is-paused | grep -q "true"; then dunstctl set-paused false; notify-send -t 2500 "Notifications enabled"; else notify-send -t 2500 "Notifications disabled"; sleep 2.5; dunstctl set-paused true; fi'

However even after I toggle notifications off, I still hear the discord pings which frankly is annoying when I'm trying to concentrate on something, or watching a movie or whatever.

Anyone have any idea how to do this without breaking too much of my setup haha?

Thanks in advance as always, and of course if you need more info do ask.

11
9

Hello everyone, I've had an issue with discord on Arch Linux for a long time, but only now had the time to document the error (had to photograph it with phone and transcribe it).

Its a weird one, buckle up.

At random times, discord crashes which causes my polybar to crash, as well as my sxhkd, which obviously means my computer is practically useless until I hard shutdown using the power button on my case. Whats weird is that sometimes it will go weeks without crashing, and other times it will crash frequently in a short time span (e.g. it crashed a couple times yesterday, and once today).

Here is the error as I photographed it:

And here it is after I manually copied it into a text editor (keep in mind I might have missed a character here or there because of this).

A JavaScript Error occurred in the main process

Uncaught exception:
Error: EROFS: read-only file system, write
	at writeSync (node:fs:923:3)
	at SyncWriteStream._write (node:internal/fs/sync._write_stream:275)
	at writeOrBuffer (node:internal/streams/writable:572:12)
	at _write (node:internal/streams/writable:501:10)
	at Writeable.write (node:internal/streams/writable:510:10)
	at console.value (node:internal/console/constructor:298:16)
	at console.warn (node:internal/console/constructor:405:26)
	at transport.writeFn (/opt/discord/resources/app.asar/node_modules/electron-log/src/node/transports/console.js:45:7)
	at transport (/opt/discord/resources/app.asar/node_modules/electron-log/src/node/transports/console.js:51:15)
	at Logger.processMessage (/opt/discord/resources/app.asar/node_modules/electron-log/src/core/Logger.js:175:11)

Anyone have any idea how I can troubleshoot this?

I also tried checking the following directory but it doesn't exist on my PC:

/opt/discord/resources/app.asar/node_modules/electron-log/src/core/

I only have the file /opt/discord/resources/app.asar So obviously something is going on there that shouldn't be happening.

I've got no idea how to troubleshoot node apps, so would appreciate any help from those of you who have those skills.

Thanks in advance! Please let me know if you need more info or need me to run commands and show you the output, and Ill do so.

12
21
submitted 2 months ago by exu@feditown.com to c/archlinux@lemmy.ml
13
7

I want a display manager that shows the desktop as the background, instead of a background image or video. I'm thinking of auto-logging in on boot, and adding another startup command to Hyprland to lock the desktop and show the display manger. My searches didn't yield anything. The closest I could find is hyprlock which blurs the desktop, but that's just a lock screen & not a proper display manager.

14
6
submitted 3 months ago* (last edited 3 months ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hello everyone!

I would like certain windows to remain in full screen even if another tiled/floating window is opened on the same workspace. I would also like the tiled/floating windows to remain above the full screen window so that they don't disappear if I click on the full screen window.

The primary use case for this is games such as Eve Online, where I use a number of external tools which may or may not spawn new windows over the game window (e.g. the Rift Intel tool, which spawns a new small floating window whenever someone writes in one of the intel channels you set Rift to monitor). I dont want it to exit full screen mode. If a tiled or floating window is opened on the same window then Eve also goes into tiled mode.

Reading up a little about this I came across the concept of layers in bspwm, but I'm not entirely sure if they fit for this use case. Here's an example of what I don't want to happen:

(The Hostile Reported popup window is from Rift and spawns wherever focus is)

Normally I have it be entirely fullscreen. I'd like to be able to interact with these and other popup windows in tiled/floating mode without pulling Eve out of fullscreen.

How can I begin to work on this? Of course if you would like more info please ask and I'll provide it.

Thanks in advance!

[SOLUTION (I think)] I had to add this rule for my Eve client:

bspc rule -a "steam_app_8500" state=fullscreen layer=below border=off focus=on

but also had to add this rule for the Rift Intel tool:

bspc rule -a "dev-nohus-rift-MainKt" state=floating layer=above

I guess this is the way to do it for any set of programs where you want one to keep its fullscreen status but have others above it

NOTE: This also applied the same behaviour to the eve launcher since the way steam proton works both the launcher and the clients have the same WM_CLASS. If anyone knows any way to distinguish them in bspwm please let me know. Here is what I get for each when running xprop:

$ xprop | grep -E 'CLASS|NAME'
_NET_WM_NAME(UTF8_STRING) = "EVE Launcher" WM_ICON_NAME(STRING) = "EVE Launcher" WM_NAME(STRING) = "EVE Launcher" WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "steam_app_8500", "steam_app_8500"
# Click on launcher

$ xprop | grep -E 'CLASS|NAME'
_NET_WM_NAME(UTF8_STRING) = "EVE" WM_ICON_NAME(STRING) = "EVE" WM_NAME(STRING) = "EVE" WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLASS(STRING) = "steam_app_8500", "steam_app_8500"
# Click on client

Ive tried rewriting the rule as such:

bspc rule -a "steam_app_8500:steam_app_8500:EVE" state=fullscreen layer=below

and also adding a rule for the launcher specifically (before the client rule):

bspc rule -a "steam_app_8500:steam_app_8500:EVE Launcher" state=tiled layer=normal

But the launcher still opens in fullscreen. The client however seems to be fine - it opens in fullscreen on the 'below' layer so when a new window is opened on the same workspace it isn't forced into tiled mode.

15
4
submitted 3 months ago* (last edited 3 months ago) by promitheas@programming.dev to c/archlinux@lemmy.ml

Hello everyone :)

I have this in a script which I call from my .zshrc:

#!/bin/zsh

# ~/.bin/check_last_update.sh

GREEN='\033[92m'
YELLOW='\033[93m'
RED='\033[91m'
RESET='\033[0m'

# Check if there are available updates for packages
num_packages_to_update=$(checkupdates | wc -l)

if (( num_packages_to_update >= 0 && num_packages_to_update <= 20 )); then
	echo -e "${GREEN}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
elif (( num_packages_to_update > 20 && num_packages_to_update <= 50 )); then
	echo -e "${YELLOW}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
else
	echo -e "${RED}Available updates: $num_packages_to_update${RESET}" >> /dev/tty
fi

# Kernel version check
running_kernel=$(uname -r)
installed_kernel=$(pacman -Q linux | awk '{print $2}' | cut -d '-' -f1 | cut -d '.' -f1,2,3)

running_kernel_base=$(echo "$running_kernel" | cut -d '-' -f1)

if [[ "$running_kernel_base" != "$installed_kernel" ]];
then
	echo -e "${RED}Kernel mismatch detected. Reboot recommended.${RESET}" >> /dev/tty
fi

It works, but when I open a new terminal it may take up to 2 seconds for the prompt to show up. Is there a way of speeding this up?

Would it be a good idea to perform the checks in the background every hour or so, maybe with a systemd timer or something, and cache the results (or possibly to make it even more efficient, just store a file somewhere out of the way containing the number of updates and if there is a kernel mismatch - maybe on separate lines so when I open a terminal I can easily query the file and get exactly what I need) so that when I open a new terminal instead of checking with the live repositories it checks the cached data? Also, I guess this would mean that if a package has become available for update after the last time the check script runs, then the number it tells me will be less than the actual number of available updates, right?

Thanks in advance!

16
22

I have a 500MB boot partition, and I keep only the linux and linux-lts kernels.

Recently I see that the partition only has about 23Mb free.

Is there some recent change which increased the kernel's size significantly?

17
5
submitted 4 months ago by Linearity@piefed.au to c/archlinux@lemmy.ml

I plan on installing Arch on the ROG Ally X because:
1: I need it as my daily driver.
2: Don’t want the OS to be immutable.
3: Don’t want a “handheld OS” with Steam preinstalled (Steam is a privacy nightmare and I plan on at least using it within a sandbox).

Is there anything I should know / do before the installation or any tips anyone has for better compatibility? Or anyone who’s gone through the process whom I can learn a thing or two from.

Thank you in advance <3

18
-3
submitted 4 months ago by blisscast@lemmy.world to c/archlinux@lemmy.ml

I have decided that, simply put, I am very, very tired of my computer acting against me and gaining new problems every day as if they were achievements in a video game, so I’m going to take advantage of my Linux experience with the Steam Deck and Raspberry Pi OS to finally start moving away from Windows!

19
11
submitted 5 months ago* (last edited 5 months ago) by helix@feddit.org to c/archlinux@lemmy.ml

Hello everyone,

I'm experiencing an issue while trying to run dracut on my Arch Linux system. When I execute the command dracut -f, I receive the following error:

Can't write to /efi/f515a4a11be148a580c14dcbdcc58ef9/6.16.4-zen1-1-zen: Directory /efi/f515a4a11be148a580c14dcbdcc58ef9/6.16.4-zen1-1-zen does not exist or is not accessible.

  • Kernel Version: 6.16.4-zen1-1-zen
  • Dracut Version: 108
  • The EFI partition is mounted correctly:
    /dev/nvme1n1p1 on /efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
    
  • The permissions for the /efi directory are as follows:
    drwxr-xr-x 4 root root 4096 Nov 21  2022 /efi/EFI
    
  • There are no logs in /var/log/dracut.log.
  • I have not made any recent changes to my system that I believe would affect the boot process.
  • Interestingly, when I update the kernel using yay linux, dracut can regenerate the initrd without any issues:
    /efi ❯❯❯ yay -S linux
    Sync Explicit (1): linux-6.16.4.arch1-1
    warning: linux-6.16.4.arch1-1 is up to date -- reinstalling
    ...
    (3/4) Updating initramfs with dracut
    --> Building initramfs for linux (6.16.4-arch1-1)
    

Questions:

  • Has anyone encountered a similar issue or can provide guidance on how to resolve this?
  • Are there any additional checks or commands I should run to diagnose the problem further?

Thank you for your help!

20
15
submitted 5 months ago by Binette@lemmy.ml to c/archlinux@lemmy.ml

I got a bunch of firmware issues afte updating my system (i don't think it was an arch linux update, but still), and then I start getting awful lag spike, and my computer crashes, stating lack of ram. My caps lock light doesn't toggle, so I think it's a lower level issue.

Anyways, I tried going on the forums to see if anyone had similar issues lately, but it seems to be down.

Has anyone got issues with their drivers, or is it just my laptop getting too old?

21
16
submitted 5 months ago by jroid8@lemmy.world to c/archlinux@lemmy.ml

Recently I noticed when updating that pacman doesn't resume where I stopped it (a few minutes before) which is not nice since my internet is slow. After a lot of searching I found out every time I run pacman -Syu it makes a new folder in /var/cache/pacman/pkg named download-xxxxxx where the x's are randomized characters then it puts the downloaded .tar.zst files into that new folder ignoring the previous folder it created last time. My workaround was to move the contents of the previous download folder to it's parent directory but what would be a permanent solution? I remember when this wasn't the case so it must be a new "feature" I can hopefully disable.

22
23
submitted 5 months ago by Agility0971@lemmy.world to c/archlinux@lemmy.ml

If you ever wanted to chroot into the generated initramfs here are the steps. I thought it was interesting so wanted to share.

mkdir -p /mnt/initramfs
cd $_
lsinitcpio -x /boot/initramfs-linux.img
mount --bind /proc ./proc
mount --bind /sys ./sys
mount --bind /dev ./dev
SHELL=/bin/ash chroot .
23
33

My Linux mint pc just crashed because I was moving a lot of files from the home folder to the root directory. I got error that the drive is getting full. After clicking show error my pc rebooted and there was an error something like "can't create user journal no space left" I've been running mint for 4 years now. But arch for 2 years on my laptop (hyprland) and main pc (kde). So for this pc I thought why not also arch. Put the install drive in and booted and got this fancy screen. I've never seen this screen so nice. Why is that, I always just saw the text.

24
9
submitted 6 months ago* (last edited 6 months ago) by chaoticnumber@lemmy.dbzer0.com to c/archlinux@lemmy.ml

Hi, am I the only one experiencing performance variability in games from install to install?

I periodically install other distros to see if the green is grassier on the other side and I decided to do a cleanup, migrate to lvm for my arch install while I'm at it.

I have gone through 5-6 installs in the last 3 weeks, several iterations of arch as well. I always play the same 3-4 games and I know how they should perform already and I am experiencing some weird performance variability, what do I mean by this?

  • Some installs have lower fps but stable 1% lows
  • Sometimes if feels stuttery, even though the frametimes are stable
  • Other times its just perfect

I am not doing anything out of the ordinary, archinstall with my setup, install steam, start my games.

  • All AMD system
  • single NVME
  • Plasma with wayland

I'm stumped, I feel like an idiot looking at this issue because it makes no sense whatsoever. I finally nailed the setup after figuring out how to get LVM running, got everything going and now, it's a stuttery mess.

Edit: Things eliminated or fixed:

  • stutters removed by lowering mouse polling rate to 1000hz
  • wayland as a possible overhead by launching my games from the tty with gamescope
25
35
submitted 6 months ago by dudesss@lemmy.ca to c/archlinux@lemmy.ml

I'm using Endeavor OS. My computer lost power during system update. Now I can boot into it.

view more: next ›

Arch Linux

9444 readers
9 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS