r/archlinux • • Jul 04 '18

FAQ - Read before posting

583 Upvotes

First read the Arch Linux FAQ from the wiki

Code of conduct

How do I ask a proper question?

Smart Questions
XYProblem
Please follow the standard list when giving a problem report.

What AUR helper should I use?

There are no recommended AUR helpers. Please read over the wiki entry on AUR helpers. If you have a question, please search the subreddit for previous questions.

If your AUR helper breaks know how to use makepkg manually.

I need help with $derivativeDistribution

Use the appropriate support channel for your distribution. Arch is DIY distribution and we expect you to guide us through your system when providing support. Using an installer defeats this expectation.

Why was the beginners guide removed?

It carried a lot of maintenance on the wiki admin as it duplicated a lot of information, and everyone wanted their addition included. It was scrapped for a compact model that largely referenced the main wiki pages.

Why Arch Linux?

Arch compared to other distributions

Follow the wiki. Random videos are unsupported.

<plug>Consider getting involved in Arch Linux!</plug>


r/archlinux • • 18h ago

NOTEWORTHY Fake Arch Linux packages push malware with root privileges

Thumbnail bleepingcomputer.com
195 Upvotes

r/archlinux • • 3h ago

QUESTION Is the Plasma 6.8 / Baloo bug patched in Arch?

3 Upvotes

Or should I wait?

For baloo 6.31.1-1? or Plasma 6.8.1?

Bug Report: https://bugs.kde.org/show_bug.cgi?id=524392


r/archlinux • • 6m ago

SUPPORT Keybinds broke

Thumbnail
• Upvotes

r/archlinux • • 43m ago

SUPPORT My Pc struggles to connect with my router.

• Upvotes

So I am a newbie to arch, but I am having troubles connecting to the 5ghz band of my network and it barely sustains connection to the 2.4ghz band and when it does, it crawls. It always says failed to connect. I am not sure if this part of the log would help but I see “NetworkManager[590]: <info> [1791858175.5678] device (wlp2s0): state change: ip-config -> failed (reason 'ip-config-unavailable', managed-type: 'full')”

I have tried restarting the network manager and I am almost thinking if reinstalling the os would be the best move. Do you guys have anyway to help?


r/archlinux • • 5h ago

SUPPORT [Help] Physical power button stopped working for suspend after updating to KDE Plasma 6.8 on Arch Linux

2 Upvotes

Hi everyone,

I'm using Arch Linux with KDE Plasma 6.8, and after updating KDE, my PC no longer responds when I press the physical power button.

My setup

  • OS: Arch Linux
  • Desktop environment: KDE Plasma 6.8
  • Display manager: plasma display manager
  • Power button action: Set to Sleep/Suspend in KDE Power Management

The problem

When I press the physical power button, absolutely nothing happens. Previously, I expected the computer to suspend.

However, running the following command in a terminal works perfectly:

systemctl suspend

The PC suspends and wakes up normally, so the suspend functionality itself appears to be working.

What I've tried / checked

  • Verified that the power-button action is set to Sleep/Suspend in KDE Power Management.
  • Confirmed that manual suspension using systemctl suspend works.
  • The issue appeared after updating to KDE Plasma 6.8.

My questions

  1. Could this be a KDE Plasma 6.8 / PowerDevil regression?
  2. How can I determine whether the physical power-button event is being detected by the kernel or systemd-logind?
  3. Is there a way to troubleshoot PowerDevil's handling of the power button without changing my working suspend configuration?

Any suggestions or diagnostic commands would be appreciated. Thanks!Hi everyone,I'm using Arch Linux with KDE Plasma 6.8, and after updating KDE, my PC no longer responds when I press the physical power button.My setupOS: Arch Linux

Desktop environment: KDE Plasma 6.8

Display manager: plasma display manager

Power button action: Set to Sleep/Suspend in KDE Power ManagementThe problemWhen I press the physical power button, absolutely nothing happens. Previously, I expected the computer to suspend.However, running the following command in a terminal works perfectly:systemctl suspendThe PC suspends and wakes up normally, so the suspend functionality itself appears to be working.What I've tried / checkedVerified that the power-button action is set to Sleep/Suspend in KDE Power Management.

Confirmed that manual suspension using systemctl suspend works.

The issue appeared after updating to KDE Plasma 6.8.My questionsCould this be a KDE Plasma 6.8 / PowerDevil regression?

How can I determine whether the physical power-button event is being detected by the kernel or systemd-logind?

Is there a way to troubleshoot PowerDevil's handling of the power button without changing my working suspend configuration?Any suggestions or diagnostic commands would be appreciated. Thanks!


r/archlinux • • 2h ago

SUPPORT Power button triggers does nothing after Plasma 6.8

0 Upvotes

Hello!
I upgraded to plasma 6.8 like 2 hrs ago, It was a massive upgrade and everything seemed okay.
But when I press the power button nothing happens, the global shortcuts are cleared too.
I did the EVTest for power button but no avail.
Can someone guide me to this.

Operating System: Arch Linux

KDE Plasma Version: 6.8.0

KDE Frameworks Version: 6.31.0

Qt Version: 6.12.0

Kernel Version: 6.18.57-1-lts (64-bit)

Graphics Platform: Wayland

Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz

Memory: 8 GiB of RAM (7.6 GiB usable)

Graphics Processor: Intel® UHD Graphics 620

Manufacturer: Dell Inc.

Product Name: Latitude 5490


r/archlinux • • 15h ago

SUPPORT | SOLVED To fix QEMU mouse lag on Wayland with mouse integration use -device virtio-tablet-pci

6 Upvotes

So I was still on X11 on my QEMU guest since using -usb -device usb-tablet as recommended by the Wiki caused the guest mouse to lag. Now that X11 was removed I had to switch.

Replacing the above command with -device virtio-tablet-pci fixed the issue for me. Hope someone else finds it useful.


r/archlinux • • 5h ago

SUPPORT Volume freaks out, when i join a minecraft server

0 Upvotes

So, I have a new pair of headphones, that are kinda buggy on linux. I had an issue with volume scaling, that i managed to fix. Now, when I join a minecraft server, the headphones freak out. It starts connecting and disconnecting. The headphones are Fifine H6 (the older Fifine H6 worked fine before they broke and I had to get a new pair)


r/archlinux • • 4h ago

QUESTION Hello im new here lil help?

0 Upvotes

Hello, im a gamer and a beginner 3d artist, i recently got told to switch to linux and after a few tutorials on youtube i think that arch is the distro that suits me best, altough i dont know wich version of arch i should install (or in wich way idk im very confused) i know endavour OS but i also noticed that this new thing called omarchy is teking youtube by storm, my question now is what method should i use to install manually thru a script or thru an iso that makes it easier than installing ubuntu?


r/archlinux • • 7h ago

QUESTION how do i enable fingerprint login on my arch linux?

Thumbnail
0 Upvotes

r/archlinux • • 2h ago

QUESTION New epic launcher in AUR?

0 Upvotes

Please people, Put it on aur. So I can update it with my system. (I don't know if it's already exists. If so you people are awesome.)


r/archlinux • • 22h ago

SUPPORT Anyone know solve the Waydroid problem with new kernel updates?

Thumbnail
3 Upvotes

r/archlinux • • 1d ago

SHARE xhidecursor finally maintained in the AUR

6 Upvotes

Hey guys! I am the maintainer of xhidecursor, a minimal (fr) X11 utility that efficiently (nocap) hides the cursor on key presses and shows it again on mouse movement. Just wanted to announce that I’ve taken over and updated the AUR package, which had been orphaned and out of date for a while.

I wrote xhidecursor because xbanish (a popular alternative) couldn’t satisfy my OCD for minimalism. xhidecursor prioritizes a simple implementation and efficient event processing, ignoring redundant input events.

Let me know if there are any issues and if it runs as expected on your system. Thank you!


r/archlinux • • 1d ago

SUPPORT Steam not opening "Steam now requires namespaces to be enabled."

22 Upvotes

I had played on steam normally today, everything was working normally. Around 2 hours ago, i had to delete remake my global wine prefix to fix a corrupted file, after that, i tried to launch a game on steam, but none of my games were launching. I closed steam, and when i tried to open it again a pop up showed up saying:
"Error: Steam now requires user namespaces to be enabled.

This requirement is the same as for Flatpak, which has more detailed

information available:

https://github.com/flatpak/flatpak/wiki/User-namespace-requirement"
i went to the github page and set my bwrap to unprivileged but that still didnt fix the steam error.

when i tried to run the "steam --reset" command on the terminal, it said:
"steam.sh[185687]: Running Steam on arch rolling 64-bit

steam.sh[185687]: STEAM_RUNTIME is enabled automatically

setup.sh[185747]: Steam runtime environment up-to-date!

steam.sh[185687]: Log already open

steam-runtime-check-requirements[185801]: W: Child process exited with code 1: bwrap: execvp true: Permission denied"

i have looked and tried solutions for about an hour at this point and i have no idea what i could do. any help is appreciated!!


r/archlinux • • 13h ago

SUPPORT Update bricked my system

0 Upvotes

So I run KDE plasma and an RTX3080 (thought it was worth mentioning for diagnosing)

Normally wayland is too buggy for me, but had success running it for the last few weeks. Today I went to run my near-daily update of pacman. I happened to notice something about removing “plasma-x11” and replacing it with “plasma-sessions” (might not have been “plasma”, because I didn’t pay it much attention tbh).

After the update, it kicked me out to an unfamiliar login screen (lost some progress, it’s annoying that there was no warning). Logging back in worked, but my screen had an offset bug again (common for me in wayland).

So I went to reboot into x11, but I don’t have any boot options now, only “reboot into firmware interface” which is just UEFI. I haven’t backed up my 2 recent projects, and I super dooperly don’t want to have to start over again (one project is f-ing davinci resolve, so you can recover, you have to be properly logged in!!! God, why do I use davinci still?)


r/archlinux • • 19h ago

QUESTION Any way to remove the app icon in Code - OSS

0 Upvotes

Trying to customize the editor and i want to get rid of the app icon on the left-superior corner. Is there a way?

User cofigs:

{
  // WORKBENCH / UI LAYOUT
  "workbench.commandPalette.showAskInChat": false,
  "workbench.activityBar.autoHide": true,
  "workbench.activityBar.compact": true,
  "workbench.sideBar.location": "right",
  "workbench.settings.showAISearchToggle": false,
  "workbench.editor.decorations.colors": false,
  "workbench.activityBar.location": "top", // Move the activity bar (Explorer, Git, etc.) to the top
  "window.commandCenter": false, // Disable the large command center search bar
  "workbench.iconTheme": "symbols", // Minimal icon pack
  "workbench.colorTheme": "Min Dark", // Color theme
  "workbench.statusBar.visible": false, // Hide the status bar for a cleaner UI
  "window.newWindowDimensions": "inherit", // New windows inherit the current window size
  "window.nativeFullScreen": true, // Use OS native fullscreen behavior
  "breadcrumbs.enabled": false, // Disable breadcrumbs navigation bar

  // FONTS & TYPOGRAPHY
  "editor.fontFamily": "Brass Mono, monospace", // Main editor font
  "editor.fontSize": 14, // Editor font size
  "editor.lineHeight": 1.6, // Improve readability of code spacing
  "editor.letterSpacing": 0.3, // Slight spacing between letters (optional aesthetic tweak)

  // TERMINAL APPEARANCE
  "terminal.integrated.fontFamily": "Brass Mono, monospace", // Terminal font
  "terminal.integrated.fontSize": 14, // Terminal font size
  "terminal.integrated.lineHeight": 1.6, // Extra spacing for terminal readability

  // FORMATTER / CODE STYLE
  "editor.defaultFormatter": "esbenp.prettier-vscode", // Use Prettier as the default formatter
  "prettier.tabWidth": 2, // Number of spaces per indentation level
  "prettier.useTabs": false, // Use spaces instead of tabs

  "editor.formatOnSave": false, // Format files automatically when saving
  "editor.insertSpaces": false, // Use spaces instead of tabs
  "editor.tabSize": 2, // Number of spaces per indentation level

  "files.trimTrailingWhitespace": true, // Remove trailing whitespace when saving
  "files.insertFinalNewline": true, // Ensure every file ends with a newline (POSIX standard)
  "files.trimFinalNewlines": true, // Remove multiple blank lines at end of file

  "css.lint.unknownAtRules": "ignore", // Ignore Tailwind warnings
  "scss.lint.unknownAtRules": "ignore", // Ignore Tailwind warnings
  "less.lint.unknownAtRules": "ignore", // Ignore Tailwind warnings

  // EDITOR BEHAVIOR
  "editor.detectIndentation": false, // Disable indentation auto-detection, Forces your manual indentation rules
  "editor.snippetSuggestions": "top", // Place snippets at top of autocomplete suggestions
  "editor.emptySelectionClipboard": true, // Copy line if nothing is selected
  "editor.copyWithSyntaxHighlighting": false, // Copy plain text instead of colored syntax

// MINIMALIST UI (REMOVE VISUAL NOISE)
  "editor.minimap.enabled": false, // Disable minimap on right side
  "editor.lineNumbers": "off", // Hide line numbers
  "editor.guides.indentation": false, // Remove vertical indentation guides
  //"editor.folding": false, // Optional: remove code folding controls

// DIFF / GIT COMPARISON
  "diffEditor.ignoreTrimWhitespace": false, // Show whitespace differences in git diffs
  "diffEditor.renderSideBySide": true, // Side-by-side diff view instead of inline

  // NAVIGATION BEHAVIOR
  "editor.gotoLocation.multipleReferences": "goto", // If multiple results exist, jump directly instead of showing picker
  "editor.gotoLocation.multipleDefinitions": "goto", // If multiple results exist, jump directly instead of showing picker
  "editor.gotoLocation.multipleDeclarations": "goto", // If multiple results exist, jump directly instead of showing picker
  "editor.gotoLocation.multipleImplementations": "goto", // If multiple results exist, jump directly instead of showing picker
  "editor.gotoLocation.multipleTypeDefinitions": "goto", // If multiple results exist, jump directly instead of showing picker

  "workbench.editor.enablePreviewFromQuickOpen": false, // Prevent preview tabs from Quick Open (Ctrl+P)

// AI / EXTENSIONS
  "chat.disableAIFeatures": true,
  "chat.agent.enabled": false,
  "chat.agentsControl.enabled": "hidden",

// FILE EXPLORER
"files.exclude": {
"**/.next": true,
"**/node_modules": true
},

// Editor
  "editor.accessibilitySupport": "off",
  "editor.matchBrackets": "never",
  "editor.wordWrap": "on",
  "editor.autoIndentOnPaste": true,
  "editor.smoothScrolling": true,
  "editor.wrapOnEscapedLineFeeds": true,
  "editor.experimental.asyncTokenization": false,
  "editor.cursorBlinking": "smooth",
  "editor.minimap.autohide": "mouseover",

  // Files
  "files.autoSave": "afterDelay",
  "files.autoSaveWhenNoErrors": true,

  "git.autofetch": true,
  "zenMode.showTabs": "single",
  "explorer.confirmDragAndDrop": false,
  "redhat.telemetry.enabled": true,
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
  },
  "jdk.maven.userSettings": "",
}

r/archlinux • • 1d ago

SUPPORT Issues with new plasma 6.8 (Arch)

Thumbnail
6 Upvotes

r/archlinux • • 21h ago

SUPPORT paranoia about an aur malware check script

0 Upvotes

I really wanted to check my aur packages and see if theres something so I installed this: https://github.com/lenucksi/aur-malware-check

I'm not good in reading code, so if someone can help me and see if it's fine this would be great help, thanks! (and yes I get it "don't download random scripts from the internet, I know that but I'm just very, very stupid ok.)


r/archlinux • • 1d ago

QUESTION stripe-cli taken over by malware?

0 Upvotes

apparently the stripe-cli in the AUR has been taken over by malware is this true?


r/archlinux • • 1d ago

QUESTION Archinstall, Snapper Rollbacks, and Btrfs Assistant. What's Your Setup?

0 Upvotes

I’m testing out a standard Arch setup for work (installed via Archinstall with its default Btrfs layout) after spending a long time on Fedora. The thing that caught my attention the most was trying to do a system rollback with Snapper. I gave it a few shots—even following AI guides—but just couldn't get it to work. So I turned to a method I had previously dismissed back on Fedora: Btrfs Assistant, a really simple and user-friendly GUI. And well, it worked on the very first try to roll back my root partition.


r/archlinux • • 1d ago

SUPPORT | SOLVED AMD FRL screen blackouts

8 Upvotes

Update: switched out to a different HDMI cable (48gbps certified) and it works.

Original post:

Hi, long time reader, first time "pls help me 🙏" post

Amd Rx 6900xt, Samsung q80t screen, hdmi2.1, Wayland, gnome

Been routinely checking in for years to see if the hdmi2.1 fiasco has resolved and was delighted to see that as of June, hdmi2.1 support has been merged into the kernel.

Enabled with setting dc feature mask to 0x400.

I enabled this last night and getting full 8 bit rgb at 4k at 120hz finally worked, however, every 30 seconds or so the screen goes black for about a second.

I spent last night troubleshooting; nothing I did helped the issue, and no relevant kernel or GPU logs pointed to the issue. (Also checked gnome and mutter logs). The issue occurs on plasma as well.

I see amd provided a patch for Linux 7.4 (December 2026), which I may pull their dev branch and just compile it as a stab in the dark to see if that happens to include the fix for wtv is happening.

Just wondering if anyone's experienced this, and if they figured out what was going on.

(The wiki was obv checked briefly last night and no mention of any of this)


r/archlinux • • 1d ago

SHARE I made a librewolf/firefox bwrap script that runs Its dbus instance on different user. Also extra security measurements made.

4 Upvotes

What this script provides?

Different machine-id to /etc/machine-id so your machine-id never tracked.

Different dbus instance working in /home/$USER/$BROWSER-dbus Which provides mpris info about your music/video.

Different /home for sandbox.

Different /etc/passwd and /etc/groups so sandbox doesnt see your users and groups.

No root needed only bwrap.

Downloads go to the your /tmp/$USER/Downloads folder.

Minimal sys exposure.

Why?

Because I can.

About Script

(I made a copy paste mistake 6 hours ago while editingt duplicate lines. its fixed now.)

I tried to keep it minimal exposure at possible but you can give recommendations and I will fix it. Also I noticed I exposed /sys/devices/pci0000:00 as my gpu, You supposed to switch this with your cpu pci port number.

It is intended to use this with gentoo's simple sandbox https://wiki.gentoo.org/wiki/Simple_sandbox

Tested on arch, Right now I am using arch and writing from a browser that runs in this script. Hopefully its good enough for you.

#!/bin/sh
# wayland socket 
# --ro-bind "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}" "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}"\
set -u

USER="librewolf"
BROWSER="librewolf"
XDG_CACHE_HOME="/home/$USER/$BROWSER/.cache"
XDG_DATA_HOME="/home/$USER/$BROWSER/.local/share"

NEW_HOME='/home/restricted'
NEW_XDG_CACHE_HOME="/home/$USER/$BROWSER/.cache"
mkdir -p -m 755 "/home/$USER/$BROWSER/firefox/"
mkdir -p -m 755 "/home/$USER/$BROWSER/.local/share/firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.cache/mozilla"
mkdir -p -m 755 "/home/$USER/$BROWSER/Downloads"
mkdir -p -m 755 "/home/$USER/$BROWSER/firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.mozilla"
mkdir -p -m 755 "/home/$USER/$BROWSER/.firefox"
mkdir -p -m 755 "/home/$USER/$BROWSER/.$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.local/share/$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.cache/$BROWSER"
mkdir -p -m 755 "/home/$USER/$BROWSER/.config/pulse"
mkdir -p -m 755 "/tmp/$USER/Downloads"
mkdir -p -m 755 "/home/$USER/$BROWSER-dbus"
echo -e "default-server = unix:/tmp/pulse-sock" > /home/$USER/$BROWSER/.config/pulse/client.conf
[ -f $BROWSER-machine-id ] && echo "" || dbus-uuidgen >> $BROWSER-machine-id
[ -f passwd ] && echo "" || echo "$USER:x:$UID:$UID:Sandbox User:/home/$USER:/bin/bash" >> passwd
[ -f group ] && echo "" || echo "$USER:x:$UID:" >> group


/usr/bin/bwrap \
--unshare-all \
--share-net \
--new-session \
--die-with-parent \
--clearenv \
--setenv HOME "$NEW_HOME" \
--setenv PATH "$PATH" \
--hostname localhost \
--symlink usr/lib /lib \
--symlink usr/lib64 /lib64 \
--symlink usr/bin /bin \
--symlink usr/bin /sbin \
--ro-bind /home/$USER/passwd /etc/passwd \
--ro-bind /home/$USER/group /etc/group \
--ro-bind /usr/lib /usr/lib \
--ro-bind /usr/lib64 /usr/lib64 \
--ro-bind /usr/bin /usr/bin \
--ro-bind /usr/lib/$BROWSER /usr/lib/$BROWSER \
--tmpfs /tmp \
--dev /dev/ \
--dev-bind /dev/dri /dev/dri \
--ro-bind /sys/dev/char /sys/dev/char \
--ro-bind /sys/devices/pci0000:00 /sys/devices/pci0000:00 \
--ro-bind /sys/bus/pci /sys/bus/pci \
--ro-bind /usr/share/drirc.d /usr/share/drirc.d \
--ro-bind-try /etc/firefox/policies/policies.json /etc/firefox/policies/policies.json \
--ro-bind /etc/fonts/ /etc/fonts/ \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--bind /home/$USER/$BROWSER /home/restricted \
--bind /tmp/$USER/Downloads /home/restricted/Downloads \
--proc /proc/ \
--ro-bind /home/$USER/$BROWSER-machine-id /etc/machine-id \
--ro-bind /usr/share/gtk-3.0 /usr/share/gtk-3.0 \
--ro-bind /usr/share/fontconfig /usr/share/fontconfig \
--ro-bind /usr/share/icu /usr/share/icu \
--ro-bind /usr/share/drirc.d /usr/share/drirc.d \
--ro-bind /usr/share/fonts /usr/share/fonts \
--ro-bind /usr/share/glib-2.0 /usr/share/glib-2.0 \
--ro-bind /usr/share/glvnd /usr/share/glvnd \
--ro-bind /usr/share/icons /usr/share/icons \
--ro-bind /usr/share/libdrm /usr/share/libdrm \
--ro-bind /usr/share/mime /usr/share/mime \
--ro-bind /usr/share/X11/xkb /usr/share/X11/xkb \
--ro-bind /usr/share/icons /usr/share/icons \
--ro-bind /usr/share/gtk-4.0 /usr/share/gtk-4.0 \
--ro-bind-try /usr/share/gtk-5.0 /usr/share/gtk-5.0 \
--ro-bind /usr/share/glib-2.0 /usr/share/glib-2.0 \
--ro-bind /usr/share/dbus-1 /usr/share/dbus-1 \
--ro-bind /usr/share/X11 /usr/share/X11 \
--ro-bind /usr/share/gtksourceview-4 /usr/share/gtksourceview-4 \
--ro-bind /usr/share/glycin-loaders /usr/share/glycin-loaders \
--ro-bind /usr/share/pixmaps /usr/share/pixmaps \
--ro-bind /etc/fonts /etc/fonts \
--ro-bind /etc/resolv.conf /etc/resolv.conf \
--ro-bind /usr/share/ca-certificates /usr/share/ca-certificates \
--ro-bind /etc/ssl /etc/ssl \
--ro-bind /etc/ca-certificates /etc/ca-certificates \
--bind /tmp/.X${DISPLAY#:}-lock /tmp/.X${DISPLAY#:}-lock \
--bind /tmp/pulse-sock /tmp/pulse-sock \
--bind /home/$USER/$BROWSER-dbus /run/$BROWSER-dbus \
--setenv XDG_RUNTIME_DIR /run/$BROWSER-dbus \
--setenv DISPLAY $DISPLAY \
--setenv MOZ_ENABLE_WAYLAND 0 \
sh -c '
dbus-daemon \
--session \
--nofork \
--address=unix:path=/run/$1-dbus/bus &
buspid=$!

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/$1-dbus/bus
/usr/lib/$1/$1
status=$?

kill $buspid 2>/dev/null
wait $buspid 2>/dev/null
exit $status
' sh $BROWSER#!/bin/sh

I want to add It runs on seperate xwayland session using cage So my real wayland socket or xwayland never exposed. I run it like this cage bash -- /home/myuser/sway/scripts/runlibrewolf.sh and runlibrewolf.sh contains this

#!/bin/bash
set -e
USER=librewolf
PROGRAM=$USER

/usr/bin/xhost si:localuser:$USER && sudo -i -u librewolf ~librewolf/librewolf.sh 

Edit: Also checking playerctl info like this sudo -i -u $USER DBUS_SESSION_BUS_ADDRESS=unix:path=./librewolf-dbus/bus playerctl play-pause


r/archlinux • • 1d ago

QUESTION Minecraft dungeons 1 on arch

4 Upvotes

I need help installing proton to play minecraft dungeons 1 on arch linux. I have a liscence for the microsoft store, but every proton tutorial ive found online has failed at some stage, because what it say would be there just wasnt. Do any of you know any good and working tutorials?


r/archlinux • • 2d ago

FLUFF Shower thought: The Chaotic-AUR is under-appreciated

80 Upvotes

What the title says. I was just thinking about the similarities between the Chaotic AUR and the nixpkgs Nix repository, and they are much more similar than people realize. Both are pretty open to contributions by pretty much anyone without an entry barrier, but they require verification by a trusted user to be accepted. Most of the praise people give nixpkgs due to its large ecosystem size can also be attributed to chaotic-aur, although it's not as big as nixpkgs, it's still quite big.

So yeah, that's pretty much it, just a random thought that chaotic-aur is really under appreciated, and I think more people should check them out, especially those worried by the "AUR scares" and that think there's no real Arch alternative to it besides accepting the risks yourself.

Thank you, chaotic-aur maintainers!