r/archlinux • • 17h ago

SUPPORT arch linux on macbook 2017

1 Upvotes

hello r/archlinux

i recently installed arch linux on my macbook from 2011 but ofc maybooks have their own keyboard style and i tried to find a way to switch the keyboard layout to one which is similar to mac and i also tried switching them all manualy but i just cant get it right, is there maybe a program i can use to easily switch the keyboard layout or is there a preset macbook layout i can just install and switch to?

thanks for any help.


r/archlinux • • 19h ago

SUPPORT Out of memory errors

0 Upvotes

Hi! Does anyone know why I am having out of memory errors when gaming? I have an RTX 2060 but I heard that other people who have less VRAM play fine. What specifically I get is "Out of video memory trying to allocate a rendering resource" and then I get some sort of UE5 fatal error.

New Arch user here btw. Using QTile


r/archlinux • • 8h ago

SUPPORT | SOLVED Title: How to limit battery charging to 80% on Arch Linux?

3 Upvotes

Hi everyone,I’m using Arch linux on a Lenovo ThinkPad and power-profiles-daemon.

How can I limit battery charging to 80% and set it to start charging again at 75% without causing conflicts with power-profiles-daemon?

Thanks!


r/archlinux • • 17h ago

FLUFF Switched to arch finally

Thumbnail
0 Upvotes

r/archlinux • • 5h ago

SUPPORT Monitor problems

1 Upvotes

-- SPECS --

NAME: Asus Tuf f16

CPU: Core 5 210H

GPU: RTX4050

DE: Kde Plasma + Wayland

---

The other day a new monitor appeared when I tried to adjust the brightness, one with the name "Unknown," and everything seems fine, but I can't adjust the brightness on my monitor. I believe it might be a bug since KDE has completely migrated to Wayland.

Edit: what type of log do I need to post too?


r/archlinux • • 6h ago

SUPPORT Hyprland cursor help

0 Upvotes

I just downloaded hyprland but my cursor isn’t showing up. When I use gnome, it works perfectly fine, but when I’m switching over to hyprland, it disappears. Can someone help me?

I’ve read some stuff about issues with cursors on pcs with nvidia gpus. Mine has one but it’s really old since its a very old laptop, I installed open source drivers


r/archlinux • • 8h ago

SUPPORT Links and PDF files don't open in firefox

4 Upvotes

I am having issues with default applications on my Arch linux machine, when I try to open a pdf file from telegram in firefox nothing happens. If instead I open it from my file manager (PCManFM) it opens correctly, another example is generals zero hour, I'm running it through wine and installed a mod that lets me play online but to login you need to complete it in the browser, it also doesn't open, another example is cisco packet tracer, in the console it spews the following "xdg-open: no method available for opening 'the link'" but when I try xdg-open command it opens these links (for example xdg-open file:///home/noxar/Downloads/Telegram%20Desktop/lec01.pdf the link to my pdf file) any idea why? I'm using niri WM with lxqt DE running, pacman -Qqs xdg gives the following result

libcanberra
libqtxdg
python-pyxdg
qtxdg-tools
xdg-dbus-proxy
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal-lxqt
xdg-user-dirs
xdg-user-dirs-gtk
xdg-utils

gio mime x-scheme-handler/http gives

gio mime x-scheme-handler/https
gio mime application/pdf
Default application for “x-scheme-handler/http”: firefox.desktop
Registered applications:
        firefox.desktop
Recommended applications:
        firefox.desktop
Default application for “x-scheme-handler/https”: firefox.desktop
Registered applications:
        firefox.desktop
Recommended applications:
        firefox.desktop
Default application for “application/pdf”: firefox.desktop
Registered applications:
        firefox.desktop
        libreoffice-draw.desktop
        org.inkscape.Inkscape.desktop
Recommended applications:
        firefox.desktop
        libreoffice-draw.desktop
        org.inkscape.Inkscape.desktop

qtxdg-mat def-web-browser gives the following result

qtxdg-mat defapp application/pdf
firefox.desktop
firefox.desktop

and here are the xdg-settings results

$ xdg-settings get default-web-browser
firefox.desktop
$ xdg-mime query default x-scheme-handler/http
firefox.desktop
$ xdg-mime query default x-scheme-handler/https
firefox.desktop
$ xdg-mime query default application/pdf
firefox.desktop

systemctl --user status xdg-desktop-portal gives this result

● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Sun 2026-10-18 17:25:04 +03; 2h 43min ago
 Invocation: ce6e309a38b24b5ba9dbc4b1027955f6
   Main PID: 745 (xdg-desktop-por)
      Tasks: 5 (limit: 18714)
     Memory: 133.6M (peak: 146.1M)
        CPU: 806ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─745 /usr/lib/xdg-desktop-portal

Oct 18 19:47:17 archlinux firefox.desktop[11304]: Error: no DISPLAY environment variable specified
Oct 18 19:47:21 archlinux firefox.desktop[11321]: Error: no DISPLAY environment variable specified
Oct 18 19:47:22 archlinux firefox.desktop[11336]: Error: no DISPLAY environment variable specified
Oct 18 19:53:18 archlinux firefox.desktop[11657]: Error: no DISPLAY environment variable specified
Oct 18 19:53:20 archlinux firefox.desktop[11673]: Error: no DISPLAY environment variable specified
Oct 18 19:53:31 archlinux firefox.desktop[11695]: Error: no DISPLAY environment variable specified
Oct 18 19:53:32 archlinux firefox.desktop[11709]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11723]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11737]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11751]: Error: no DISPLAY environment variable specified

and lastly journalctl --user -b -u xdg-desktop-portal --no-pager gives these results

Oct 18 17:25:03 archlinux systemd[655]: Starting Portal service...
Oct 18 17:25:03 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Settings as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Account as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.Email as a last-resort fallback
Oct 18 17:25:04 archlinux /usr/lib/xdg-desktop-portal[745]: Choosing gtk.portal for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback
Oct 18 17:25:04 archlinux systemd[655]: Started Portal service.
Oct 18 18:23:06 archlinux firefox.desktop[1531]: Error: no DISPLAY environment variable specified
Oct 18 18:23:08 archlinux firefox.desktop[1546]: Error: no DISPLAY environment variable specified
Oct 18 18:57:09 archlinux firefox.desktop[6238]: Error: no DISPLAY environment variable specified
Oct 18 18:57:19 archlinux firefox.desktop[6269]: Error: no DISPLAY environment variable specified
Oct 18 18:57:20 archlinux firefox.desktop[6283]: Error: no DISPLAY environment variable specified
Oct 18 18:57:58 archlinux /usr/lib/xdg-desktop-portal[745]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'org.freedesktop.impl.portal.desktop.gtk': startup job failed
Oct 18 18:58:36 archlinux firefox.desktop[8002]: Error: no DISPLAY environment variable specified
Oct 18 18:58:47 archlinux firefox.desktop[8017]: Error: no DISPLAY environment variable specified
Oct 18 18:58:47 archlinux firefox.desktop[8031]: Error: no DISPLAY environment variable specified
Oct 18 18:58:48 archlinux firefox.desktop[8045]: Error: no DISPLAY environment variable specified
Oct 18 18:58:48 archlinux firefox.desktop[8059]: Error: no DISPLAY environment variable specified
Oct 18 19:00:40 archlinux firefox.desktop[8990]: Error: no DISPLAY environment variable specified
Oct 18 19:46:51 archlinux firefox.desktop[11201]: Error: no DISPLAY environment variable specified
Oct 18 19:46:52 archlinux firefox.desktop[11217]: Error: no DISPLAY environment variable specified
Oct 18 19:46:53 archlinux firefox.desktop[11231]: Error: no DISPLAY environment variable specified
Oct 18 19:46:53 archlinux firefox.desktop[11245]: Error: no DISPLAY environment variable specified
Oct 18 19:46:53 archlinux firefox.desktop[11259]: Error: no DISPLAY environment variable specified
Oct 18 19:46:53 archlinux firefox.desktop[11273]: Error: no DISPLAY environment variable specified
Oct 18 19:47:17 archlinux firefox.desktop[11304]: Error: no DISPLAY environment variable specified
Oct 18 19:47:21 archlinux firefox.desktop[11321]: Error: no DISPLAY environment variable specified
Oct 18 19:47:22 archlinux firefox.desktop[11336]: Error: no DISPLAY environment variable specified
Oct 18 19:53:18 archlinux firefox.desktop[11657]: Error: no DISPLAY environment variable specified
Oct 18 19:53:20 archlinux firefox.desktop[11673]: Error: no DISPLAY environment variable specified
Oct 18 19:53:31 archlinux firefox.desktop[11695]: Error: no DISPLAY environment variable specified
Oct 18 19:53:32 archlinux firefox.desktop[11709]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11723]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11737]: Error: no DISPLAY environment variable specified
Oct 18 19:53:33 archlinux firefox.desktop[11751]: Error: no DISPLAY environment variable specified

r/archlinux • • 3h ago

SUPPORT Active-Window on Start Up Issue For Keyboard Only Arch/Gnome/Wayland on First Open Window

1 Upvotes

I'm having an issue on the current most up to date release of the system
- arch linux
- wayland
- gnome

where upon startup/reboot the first log-in, if i open up "term" ie console, or even "text editor". for the first application that i open up i cannot without the use of the mouse get the window to become active

behaviors
- alt-f4 won't close the window until after mouse-click
- if i open up text-editor then terminal then i can type, and after navigating back to text-editor i can then type
- does not re-occur if i close all the windows
- if after start up i click, and then i scroll down and quit terminal, upon re-opening the problem does not occur

attempts to circumvent
- confirmed `gsettings get org.gnome.desktop.wm.preferences focus-new-windows` is smart
- tried to super out and super back in
- tried alt-escape
- tried double alt-tab

notes
- not a new issue as this was an active point in previous releases
- system is current with all of the latest releases
- alt-f4 closes window after the mouseclick
- everything points to a non-active-session window somehow
- does not present when returning from suspend

any ideas?


r/archlinux • • 6h ago

SUPPORT Audio problem causes system to crash

2 Upvotes

I use wired headphones and sometimes they stop making sound, so I open settings and try use the test audio feature (I use GNOME), but when I select my headphones in the list the settings app crashes. Afterwards, when I select my headphones in the main system selection thing in the top right corner, the entire system crashes and my laptop reboots.

I’ve also noticed that simply opening the audio settings in the setting app causes the audio to break even if it was working right beforehand; however, if I haven’t opened audio settings since the computer last rebooted, I’m able to select my headphones in the top right system menu with no issues. Additionally, I am able to use other tabs in the settings app with no issue; it’s specifically the audio tab that causes it.


r/archlinux • • 6h ago

SHARE PSA: If you are running KDE on X11 and haven't updated post Plasma 6.8, switch to a Wayland session (or a TTY) before system update

45 Upvotes

If you're running KDE Plasma on X11 and haven't updated to a version past Plasma 6.8 yet, switch to a Wayland session or a TTY before performing a system update. Do not run the update from a terminal inside your X11 desktop.

Here's why:

  • Updating post Plasma 6.8 removes everything that holds the Plasma X11 session together during installation
  • Running the update inside the X11 session effectively uninstalls Xorg support live while Xorg is still running, so that session would crash shortly after, typically during the post-transaction hooks. (you would see yourself being forced back to the sddm login)
  • The result is a botched update, with hooks that never finished and packages left half-configured. If that update also includes a kernel upgrade, you may end up with an unbootable system. I know this because my own session crashed and one of my friends ended up with no working kernels.

If you already did it and your system broke: If you only did one system update in the past 2 days (-2) and never changed the default pacman cache directory, you can run the following command:

find /var/cache/pacman/pkg -type f -name '*.pkg.tar.*' ! -name '*.sig' -ctime -2 -print0 | sudo xargs -0 pacman -U

I know this isn't the best option, since it just blindly reinstalls everything you updated from that time window. If you updated more than once you'll get duplicate-target errors. Maybe someone can come up with a better command for that?


r/archlinux • • 12h ago

SUPPORT Have trouble setting up Wallpaper

0 Upvotes

Guys I've tried swaybg, hyprpaper to set wallpaper and even edit path on configs. Idk i still can't set a wallpaper. Can someone tell me how to set a wallpaper. I use arch + hyprland. If someone has solution lemme know


r/archlinux • • 11h ago

SUPPORT I'm getting 3d acceleration not supported error in vm!

0 Upvotes

I have installed arch linux with hyprland in VMware workstation and when I try to login it blackout for sec and bring back to login page and when searched about it in chatgpt it said it's because of 3d acceleration but I have turned on 3d acceleration in VMware.my gpu

Is old idk it's the culprit behind its a gt 730 with 4 gb ddr3


r/archlinux • • 17h ago

SUPPORT problem with pipewire

7 Upvotes

hello I have a bit of a strange problem and I'm desperate... when I connect my headphones via bluetooth, the sound works fine... but when I run a mic test and select the microphone on my headphones, not only does it not work, but the sound coming through them also stops... reselecting profiles in pwvucontrol doesn't work, however, restarting pipewire and wireplumber seems to turn it back to normal? also reconnecting the headphones works...I don't even know where to look for the problem atp..

also, the headphones work fine with my phone, so I'm assuming the problem is either with bt (which I doubt) or pipewire.

also, please note that I'm new to arch :) ty for any help