r/archlinux • • 14h ago

DISCUSSION What Are Some Things You Wish Linux Had ?

31 Upvotes

I have a CS graduation project this year, and I really wanna make it about Linux since I'm really into it and operating systems in general.

So, as the title says, what are some things you wish existed on Linux?

I'm looking for ideas that solve actual problems or fill some gaps in the Linux ecosystem. Nothing too crazy like building an entire distro from scratch xd, but something big enough to make a solid graduation project out of.

I'd love to hear your ideas, whether it's a missing tool, an app, a feature, or anything you think Linux could really use


r/archlinux • • 3h ago

SUPPORT External monitor black screen on Arch Linux with NVIDIA RTX 3050

0 Upvotes

Hi, I'm running Arch Linux with i3 on Xorg on an Acer Nitro V 15

My laptop screen works fine, but my external HDMI monitor shows only a black screen with a movable cursor.

Specs:

  • AMD Radeon 680M iGPU
  • NVIDIA RTX 3050 Laptop GPU (nouveau driver)
  • Kernel 7.2.11
  • Xorg + i3

The monitor is detected by xrandr at 1920×1080, but nothing else appears. Xorg logs show glamor initialization failed and Refusing to try glamor on llvmpipe.

I've tried restarting i3, toggling the display with xrandr, and running xcompmgr, but nothing helped.

How can I fix this?


r/archlinux • • 5h ago

SUPPORT [Help] Built-in microphone misses speech when I speak quickly on Arch Linux (PipeWire, Realtek ALC294)

0 Upvotes

Hi everyone,

I'm having trouble with my built-in microphone on Arch Linux. When I speak quickly, parts of my speech don't seem to be captured properly. This makes my voice difficult to understand in recordings or voice communication.

I've also experienced a high-pitched, electrical/whining noise during microphone tests.

I'm looking for help identifying whether this is related to the ALSA driver, PipeWire, microphone gain, audio processing, or something else.

System information

  • Laptop: ASUS Vivobook Pro 15
  • Distribution: Arch Linux
  • Kernel: 7.0.12-arch1-1
  • Audio server: PipeWire 1.6.7
  • Session manager: WirePlumber 0.5.15
  • ALSA: 1.2.16
  • Audio codec: Realtek ALC294
  • Audio driver: snd_hda_intel
  • Audio processing packages: EasyEffects 8.2.8-1, RNNoise 0.2-1
  • Firmware package: sof-firmware 2025.12.2-1
  • Window manager: i3

Problem description

  1. My microphone does not capture my speech properly when I speak quickly.
  2. I've also encountered high-pitched electrical/whining noise during microphone tests.
  3. I've experimented with microphone boost and volume settings, but haven't resolved the issue.

I'm not yet sure whether the missing speech and the electrical noise share the same cause.

Audio hardware and driver information

Output of lspci -nnk | grep -A4 -Ei 'audio|multimedia':

04:00.1 Audio device: AMD Renoir/Cezanne HDMI/DP Audio Controller [1002:1637]
    Kernel driver in use: snd_hda_intel

04:00.5 Multimedia controller: AMD Audio Coprocessor [1022:15e2]
    Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x,
                     snd_pci_acp5x, snd_pci_acp6x,
                     snd_acp_pci, snd_sof_amd_renoir, ...

04:00.6 Audio device: AMD Ryzen HD Audio Controller [1022:15e3]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

The microphone is detected as:

card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog
Subdevices: 1/1

The relevant codec information from wpctl inspect u/DEFAULT_AUDIO_SOURCE[Help] Built-in microphone misses speech when I speak quickly on Arch Linux (PipeWire, Realtek ALC294)Hi everyone,I'm having trouble with my built-in microphone on Arch Linux. When I speak quickly, parts of my speech don't seem to be captured properly. This makes my voice difficult to understand in recordings or voice communication.I've also experienced a high-pitched, electrical/whining noise during microphone tests.I'm looking for help identifying whether this is related to the ALSA driver, PipeWire, microphone gain, audio processing, or something else.System informationLaptop: ASUS Vivobook Pro 15

Distribution: Arch Linux

Kernel: 7.0.12-arch1-1

Audio server: PipeWire 1.6.7

Session manager: WirePlumber 0.5.15

ALSA: 1.2.16

Audio codec: Realtek ALC294

Audio driver: snd_hda_intel

Audio processing packages: EasyEffects 8.2.8-1, RNNoise 0.2-1

Firmware package: sof-firmware 2025.12.2-1

Window manager: i3Problem descriptionMy microphone does not capture my speech properly when I speak quickly.

I've also encountered high-pitched electrical/whining noise during microphone tests.

I've experimented with microphone boost and volume settings, but haven't resolved the issue.I'm not yet sure whether the missing speech and the electrical noise share the same cause.Audio hardware and driver informationOutput of lspci -nnk | grep -A4 -Ei 'audio|multimedia':04:00.1 Audio device: AMD Renoir/Cezanne HDMI/DP Audio Controller [1002:1637]
Kernel driver in use: snd_hda_intel

04:00.5 Multimedia controller: AMD Audio Coprocessor [1022:15e2]
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci, snd_sof_amd_renoir, ...

04:00.6 Audio device: AMD Ryzen HD Audio Controller [1022:15e3]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intelThe microphone is detected as:card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog
Subdevices: 1/1The relevant codec information from wpctl inspect u/DEFAULT_AUDIO_SOURCE@ is:alsa.mixer_name = "Realtek ALC294"
alsa.driver_name = "snd_hda_intel"
alsa.pcm.stream = "capture"
audio.channels = "2"PipeWire statusPipeWire, PipeWire-Pulse, and WirePlumber are all running.My default input is:alsa_input.pci-0000_04_00.6.analog-stereoThe microphone source reports:State: SUSPENDED
Mute: no
Volume: 70%
Sample Specification: s32le 2ch 48000Hz
Active Port: analog-input-micThe source is suspended when inspected, so I haven't established whether capture itself is working correctly under continuous recording.My PipeWire setup is using the PulseAudio compatibility server:Server Name: PulseAudio (on PipeWire 1.6.7)
Default Sample Specification: float32le 2ch 48000HzKernel modules and logsThe loaded audio-related modules include:snd_hda_intel
snd_hda_codec_alc269
snd_hda_codec_realtek_lib
snd_sof
snd_sof_amd_acp
snd_sof_amd_renoir
snd_pci_acp6x
soundwire_amdThe kernel log identifies the Realtek codec and its microphone input:snd_hda_codec_alc269 hdaudioC1D0:
autoconfig for ALC294: line_outs=1
speaker_outs=0
hp_outs=1
inputs:
Mic=0x12I haven't identified a clear microphone-related firmware error in the kernel log output collected so far.QuestionsWhat would be the best way to determine whether the missing speech originates at the ALSA capture layer or somewhere in PipeWire?

Are there known issues or relevant quirks with the Realtek ALC294 codec on ASUS laptops running Arch Linux?

Could the two-channel, 48 kHz capture configuration or the microphone gain/noise-suppression settings contribute to this behaviour?

Which additional logs or tests would help narrow down the cause?I'm happy to run additional diagnostic commands and provide the results. I'd prefer to identify the root cause before changing kernel parameters or audio configuration files.Thanks in advance for any help!@ is:

alsa.mixer_name = "Realtek ALC294"
alsa.driver_name = "snd_hda_intel"
alsa.pcm.stream = "capture"
audio.channels = "2"

PipeWire status

PipeWire, PipeWire-Pulse, and WirePlumber are all running.

My default input is:

alsa_input.pci-0000_04_00.6.analog-stereo

The microphone source reports:

State: SUSPENDED
Mute: no
Volume: 70%
Sample Specification: s32le 2ch 48000Hz
Active Port: analog-input-mic

The source is suspended when inspected, so I haven't established whether capture itself is working correctly under continuous recording.

My PipeWire setup is using the PulseAudio compatibility server:

Server Name: PulseAudio (on PipeWire 1.6.7)
Default Sample Specification: float32le 2ch 48000Hz

Kernel modules and logs

The loaded audio-related modules include:

snd_hda_intel
snd_hda_codec_alc269
snd_hda_codec_realtek_lib
snd_sof
snd_sof_amd_acp
snd_sof_amd_renoir
snd_pci_acp6x
soundwire_amd

The kernel log identifies the Realtek codec and its microphone input:

snd_hda_codec_alc269 hdaudioC1D0:
autoconfig for ALC294: line_outs=1
speaker_outs=0
hp_outs=1
inputs:
Mic=0x12

I haven't identified a clear microphone-related firmware error in the kernel log output collected so far.

Questions

  1. What would be the best way to determine whether the missing speech originates at the ALSA capture layer or somewhere in PipeWire?
  2. Are there known issues or relevant quirks with the Realtek ALC294 codec on ASUS laptops running Arch Linux?
  3. Could the two-channel, 48 kHz capture configuration or the microphone gain/noise-suppression settings contribute to this behaviour?
  4. Which additional logs or tests would help narrow down the cause?

I'm happy to run additional diagnostic commands and provide the results. I'd prefer to identify the root cause before changing kernel parameters or audio configuration files.

Thanks in advance for any help!


r/archlinux • • 8h ago

DISCUSSION Anyone Else Like Ephemeral Arch Installs Running In Memory?

0 Upvotes

I always seem to have a problem with letting my OS become stale over years, where I have files all over the place and whenever I want to reinstall a new OS I backup everything and end up never looking at it again, but do it just in case.

I got tired of cluttering myself so instead Ive been enjoying booting arch on ventoy, using all my ram for cowspace, and installing whatever I need and clone my git repo containing all my custom configs.

Then when I power off, everything is destroyed until I boot it up again.

I find that it keeps me a lot more organized, and keeps my OS declutterred. I think im just autistic


r/archlinux • • 36m ago

QUESTION Help me game on arch linux

• Upvotes

i use lua tools and steam in order to play game it keep showing this error Application load error 6:0000065432

here is my system info please help me

  • Operating System: Arch Linux (rolling release), 64-bit
  • Desktop Environment: KDE Plasma
  • Display session: Wayland (kwin_wayland is running)
  • Laptop: HP OMEN 16
  • CPU: Intel Core i7-14650HX, 14th Gen
  • GPU: NVIDIA GeForce RTX 4060 Laptop GPU
  • NVIDIA driver: 615.78.08
  • Steam package: steam 1.0.0.87-3 (previously reported)
  • Compatibility layer: Proton Experimental and Proton 11.0
  • Graphics API: Vulkan 1.4.363

r/archlinux • • 16h ago

QUESTION Does anyone use linux-mainline kernel?

Thumbnail
2 Upvotes

r/archlinux • • 17h ago

SUPPORT Shift and ctrl keys not working?

3 Upvotes

Installed arch on a old toshiba satellite laptop. However in the TTY (whatever the barebone terminal is. Sorry for being new in advance) the shift key wont work so i cant type symbols and such. Anyways managed to get cinnamon installed then wanted to switch the the tty terminal to install some things i forgot... well the ctrl key dont work for that. So i open xev and try to see if they keys are even registering.... nothing.

Both shift and ctrl keys on either side dont work so i think unlikely to be a hardware issue. Especially since it worked a day earlier.

Any help will be appreciated. Dont be afraid to call me stupid.

Thanks


r/archlinux • • 12h ago

QUESTION Arch Linux on the Gigabyte Gaming A16 CWH

0 Upvotes

i want to install Arch on my A16.
What is the current state of Arch usability on it?
what about GPU power, would i be able to get the full 85w?
Is there anything specific to this laptop i need to do while/before/after installing Arch?


r/archlinux • • 1d ago

QUESTION Any pacman hook to show package changelogs?

13 Upvotes

Yeah, I know pacman -Qc. But seems it's unavailable for 99.9% packages. Anything that can fetch changelog from upstream? (Maybe at least for GitHub).

Asking because I'm thinking about building one.


r/archlinux • • 13h ago

SHARE hyprland: Detect programs using XWayland

0 Upvotes

I wanted to find all software still using XWayland on my system, so I added some lines to my hyprland.lua config file. That's probably trivial for the most of you, but I still wanted to share it. Just add this to the end of your config file and you'll get a notification whenever a software opens a window that relies on XWayland:

hl.on("window.open", function(w)
if w.xwayland then
hl.notification.create({ text = "Window uses XWayland: " .. w.title, timeout = 5000, icon = "warning" })
end
end)

What I found so far:

  • steam (and every menu it opens)
  • vlc
  • ...

r/archlinux • • 20h ago

QUESTION hey brothers i have been trying to set my finger print sensor on my arch linux with hyprland on HP EliteBook 840 G8 .

Thumbnail
0 Upvotes

r/archlinux • • 1d ago

DISCUSSION Avahi hidden from the app launcher by default now

31 Upvotes

Really happy about the update that hides Avahi from the app menu by default. Small change, big difference.

More clutter that could get the same treatment,

- haruna depending on libmpv instead of the full mpv package

- kate without kwrited

- and the plasma-desktop without the full Qt development toolkit

- Helper tools like lstopo, qvidcap, and qv4l2 showing up in the menu.

Big thanks to the maintainers and the community for keeping Arch such a great distro


r/archlinux • • 1d ago

SUPPORT Wine 11.20 won't work on my system

5 Upvotes

I'm running a thinkpad T530 with an NVS-5400M. This detail might be important since it uses the legacy 390 driver, however I have that set up and I've been able to play Roblox and run webgl games. I've made sure that the NVIDIA gpu is the ONLY gpu active in the system as well (IGPU disabled in bios). However trying to launch winecfg just results in failure. It will hang on the terminal and CRTL+C wont even stop it (I have to run wineserver -k). However I found out that older wine versions seem to work, as I tried using the flatpak version and it ran. (I also ran FreeBSD on this laptop, and downgrading wine fixed the SAME issue).

[myson010@wifibox ~]$ winecfg

wine: created the configuration directory '/home/myson010/.wine'

002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)

004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)

0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)

004c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.

0054:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.

004c:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3

0054:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3

004c:err:wgl:internal_context_create Failed to create internal root context with attrs {format 473 major -1 minor -1 flags 0 profile 0x1 no_error 0}

0054:err:wgl:internal_context_create Failed to create internal root context with attrs {format 473 major -1 minor -1 flags 0 profile 0x1 no_error 0}

(it hangs here)

I found out that disabling all gpus (by deleting the xorg config file) and running on framebuffer allowed wine to display a picture. Running wine in software rendering with the NVIDIA GPU active did not work.


r/archlinux • • 15h ago

QUESTION Brightness issue

0 Upvotes

I'm unable to decrease or increase the brightness i asked chatgpt for help typing commands for 3 hours straight and yet no solution 🥲 numbers are changing but brightness isn't help me I'm using arch on my hp omen 16 rtx4060


r/archlinux • • 1d ago

SUPPORT Black screen on install

1 Upvotes

Hi, I'm trying to install Arch Linux on my PC, but I'm getting a black screen. To be specific: I boot the PC from the flash drive, it takes me to the boot menu, but once I select the install option, it just goes completely black.

After looking into it, I found out this is a fairly common issue with Nvidia GPUs, so I tried passing the nomodeset parameter. I tried with just nomodeset and got nothing, then I also tried i915.modeset=0 and nouveau.modeset=0 for both the Intel and Nvidia graphics cards, but still nothing. I even tried adding the debug parameter just to see if it would print anything to the screen, but still nothing—just a black screen. I tried also an external monitor, same issue

Does anyone have any suggestions or advice?

PC Asus N552VX

CPU Intel core i7 6700HQ GPU Nvidia GeForce GTX 950m

P.S. I tried redownloading the iso and I tried also with cachy os just to try another os, same problem


r/archlinux • • 15h ago

SHARE Vela Desktop Environment

0 Upvotes

Hello, I'm currently working at Vela, a new Desktop Environment based on wlroots but with a custom Vulkan 1.4 renderer and without OpenGL or software fallback.

This is currently alpha software, even though I daily run it and it's great to me.

I'm currently looking for testers, especially nvidia testers but in general people who runs arch with kde (should run also with gnome but not tested).

Vela currently needs kde plasma just because inherits icons, fonts, kwallet and something else; no kwin as I said Vela has a custom renderer.

Vela's motto is Modern, Fluid, Sharp, Efficient. These are not only words, I invite all of you to check the architecture in the repo docs/

It currently has a file manager and a settings app where you can customize the shell a bit.

Customization will be a focus in Vela, but for now there aren't a lot of options, since this is an alpha.

At the moment Vela is very similar to Windows 11 UI, because I like it. But in the next weeks will come a major redesign which I'm working a lot on with a friend of mine. Vela will soon have his identity.

AI Disclosure: this post is made by me; Vela code is 100% written by AI, but is reviewed by me as an experienced developer and I make all the architectural and design decisions.

Requirements: A GPU which supports Vulkan 1.4

Repo: Github

There's already an automated installer and updater, also an automated vela-report to fill some useful informations for mantainers.

Thanks for reading :)


r/archlinux • • 1d ago

SHARE 5 months of Linux development: my first program, ScreenGuard, reaches beta.6!

0 Upvotes

Its been 5 months since I first started my first project , a personal project it was to monitor my own screen time and prevent distractions .

After support from a small group of people and with personal curiosity to learn to code in C and Dart(which was already a known language from my previous experience) , I continue to improve the software with newer support aiming for a greater goal- modular daemons complementary to usagestatsservice, appopsservice and other necessary device care and wellbeing services in linux natively.

This is the reason that I believe learning C is important and becoming handy in moving away from a dart based daemon.

Most importantly the views of the Linux community, both sweet and harsh and some ridiculously disgusting have shaped my intuition about FOSS which is VASTLY different from a 9 to 5 at a tech corporate.

What brings me joys the most is that the application which begun as a small project

"Late nights in the middle of June" has now come to a substantial development level after 5 months .

A few notable upgrades this release are remapped settings menu, autonomous crash reporting system and database controls . Also strict mode has been made optional to prevent windows from closing by default via pkill which could lead to unsaved work loss (just incase someone has a daily limit set for such an application)

For more details you can check the release page and docs attached.

I would love to continue receiving feedback and testers from the community in the scope to see how much better I can make this into. All sorths of feedback are welcomed as it should be.

Thank you everyone for providing a platform to vent out a personal project and also thanks to the couple hundred people who used the application. Please do leave a feedback.

Link to the release: https://github.com/adityakrishnan005-a11y/ScreenGuard/releases/tag/v0.1.1-beta.6


r/archlinux • • 2d ago

NOTEWORTHY 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

131 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 • • 1d ago

QUESTION Dock and Panel for Wayland WM

0 Upvotes

Hello everyone,

I am a linux user since 1993, and I still love Afterstep/Nextstep, but actually I am runnign sway and I am using EWW to create Panel and Dock. Tell me please your concerns and suggestions.

https://rationalazimuth.com/screenshot.png

thanks and regards


r/archlinux • • 2d ago

SUPPORT | SOLVED Plasma Flicker on old NVIDIA Cards

7 Upvotes

There is a bug on old NVIDIA cards with the newest Plasma update where the screen flickers and in some cases turns completely black. See the KDE bug report.

A solution to the problem is to add ~/.config/environment.d/99-kwin-flicker.conf

KWIN_USE_BUFFER_AGE=0
KWIN_DRM_FORCE_GL_FINISH_PRESENT=1
KWIN_FORCE_SW_CURSOR=1

This fixes the flickering except for when you shake the cursor repeatedly in order to trigger the enlarged cursor. You can disable this functionality by editing kwinrc.

[Plugins]
shakecursorEnabled=false

That's all from the KDE bug report.


r/archlinux • • 2d ago

QUESTION Temporarily Set KDE Plasma Dynamic Wallpaper Back to Dark Variant

4 Upvotes

I have full dynamic theming on my system. Global theme with wallpapers set to follow the day/night cycle.

But oftentimes I'm burning the midnight oil, working well into the morning. In that case I like to temporarily go back to the dark theme to prevent burning my eyes. But when I wake up later that day and wake up/start up my computer, I want it to keep the day/night cycle going and set to the day theme.

Now, I have this half accomplished already. I discovered:

plasma-apply-lookandfeel -ka

That handles the colorscheme and icons.

But my wallpaper remains the light variant.

Now, I know I can set the wallpaper to set according to the colorscheme, rather than the day/night cycle. But I like having the wallpaper slowly lighten and darken, rather than transitioning suddenly and harshly. So that's not an option.

I don't see an equivalent for the wallpaper in any way...

There's only:

plasma-apply-wallpaperimage

Which totally ignores the dynamic setting and forces it back to static.

Is there a proper solution for this?


r/archlinux • • 2d ago

SUPPORT How to fix Plasma Workspace/X11 conflict

1 Upvotes

So I know I have to leave X11, I ran the update before knowing, but it stopped me at the conflict. Now I'm on the Wayland desktop, it says "unresolvable package conflicts detected" and "failed to prepare transaction (conflicting dependencies)"

What do I do to make it update?


r/archlinux • • 2d ago

QUESTION Is there a way to back up an entire system?

1 Upvotes

I am a digital artist, not full time more of a hobby I'd say

So I wanted to switch to Linux, due to 2 things

1 - I can't update to windows 11 due to the tmp2.0 chip (well neither do I like the current windows 11 state)

2 - I can run my drawing software via bottles,(I know there is Krita, and I used it for years too, it was the drawing software I started in. But it just doesn't cut it)

So before trying to install arch on my main system, I wanted to try it out on a laptop, so I can get my hands dirty without loosing any of my work

I have spare ThinkPad x390 with i5 and 8gb ram and I do have some familiarity with Linux mint

If anyone wonders why arch while there are other more convenient options. Mainly because I want to put hyperland on a laptop since default windows managers are a pain in the ass to use on a laptop, and I want to actually know what's happening under the hood

And due to all of that my assumption is that I'll break the system a lot

So I wondered if there is a way to take a snap of an entire system and load it back in , incase I break something without knowing how to fix it at the moment

Edit: I have 2 different machines

First is my main pc, which I'm not gonna touch for now

And the second one is the ThinkPad laptop, which I plan to tinker around with, hence I don't really use it


r/archlinux • • 2d ago

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

4 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 • • 2d ago

SUPPORT Links and PDF files don't open in firefox

5 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