1,690 questions
Score of 0
0 answers
392 views
Quickshell Battery Status Widget Not Updating
I've been trying out Quickshell for my CachyOS Hyprland environment. I made a working clock, workspace switcher, and bluetooth menu. I just can't get the battery status widget to work. The text ...
Score of 0
7 answers
500 views
Adding a program to path on Arch Linux
Say, I have a program called calc.py which takes the individual lines of a file, with each line being a calculation. It then outputs the result of this operation into the terminal e.g if there is a ...
Score of 0
0 answers
56 views
How to undefine `__LP64__` in a CMake project?
I am trying to get a legacy Windows project to compile (not link, not run) under Arch Linux.
To that very limited end I had good success to simply replace its Windows SDK 7.1a headers with those from ...
Score of 0
2 answers
186 views
Java Swing Invisible Image
Context:
I'm trying to make an app with java swing, however when trying to add a background to the Login Page, the image does not show up. It is there and moves other JComponents when adding a layout ...
Score of 2
0 answers
160 views
Neovim LuaSnip configuration problem, Lua snippets work correctly but JSON doesn't
I have an NvChad configuration for NeoVim, and I was trying to configure a LuaSnip plugin, but for some reason my Lua snippets are working correctly, but the json ones do not, and I want to figure out ...
Score of -1
1 answer
238 views
Passing kernel lsm parameter through U-boot
I'm trying to set
lsm=landlock,lockdown,yama,integrity,apparmor,bpf
on a Arch Linux ARM system.
The options seems to be set in /boot/boot.txt. In its original form, it looks like this:
# After ...
Score of 2
1 answer
114 views
Mongodb v6.0.16 boost error when building from source with scons: run_it<FutureExecutorContinuationSharedState>' has no member named 'that'
I'm trying to build an older version of Mongod on Arch Linux.
It's required by software called Deadline that I intend to use; Deadline's documentation says the following: "For maximum ...
Score of 2
1 answer
92 views
Why/how would a Github commit patch file checksum change?
https://github.com/ruby/ruby/commit/28f3e038805a4f396f228c6884c531677c075867.patch
There's an Arch AUR package that depends on this patch, and the package specifies the expected checksum for the file. ...
Score of 0
2 answers
255 views
mkinitcpio ERROR: Hook 'luks_unlock' cannot be found
I am trying to build a full-disk encryption scheme in ArchLinux. I found that GRUB cannot pass header parameters, so I think I need to write a custom hook script to guide the LUKS header and key file.
...
Score of 1
0 answers
444 views
module "org.kde.kirigami" and "org.kde.desktop" not installed
I'm following the tutorial: A full Python + Kirigami application to learn how to build Python applications using PySide6 and Kirigami for KDE, under Arch Linux and Fedora.
However, when running the ...
Score of 1
1 answer
770 views
Cannot switch from user myself back to root using `su` command, it reports authentication failure. `sudo` command not found either [closed]
I am currently using Arch Linux on WSL2, and I am new to it. In the previous time, I mostly used Ubuntu 18.04 on VMWare. I switch to Arch Linux and WSL2 is because I want to explore something new, and ...
Score of 0
1 answer
101 views
GDB not detecting GLib auto-load python scripts
Following this article, GDB is installed in the same prefix as glib (I'm using official distro packages. However, when I run info auto-load python-scripts, I get No auto-load scripts. I have enable ...
Score of 0
1 answer
322 views
Error installing ruby 3.1.0 with ruby-build on Arch Linux / Manjaro
I'm trying to install Ruby 3.1.0 on my machine, but it fails with:
BUILD FAILED (ManjaroLinux 25.0.2 on x86_64 using ruby-build 20250529.1)
It works with version 3.2.0 and up.
I can't figure what is ...
Score of 1
0 answers
406 views
Matplotlib on Arch Linux (KDE) shows QFont::fromString: Invalid description warnings, but fonts render correctly
I'm using Matplotlib on Arch Linux with KDE Plasma 6.3.5 (Wayland). My system's default Qt font is set to "WenQuanYi Micro Hei" (文泉驿微米黑), and it displays correctly in all system applications....
Score of 1
3 answers
986 views
How could I detect key events in the terminal using C?
My operating system is Arch Linux and my desktop environment uses Wayland. I've been trying to make a small renderer in the terminal which moves the camera around using WASD. I've disabled canonical ...
Score of 1
0 answers
356 views
Cargo says "Operation not permitted" when compiling on Arch Linux
I have dual-OS setup on my PC with an NTFS partition for Windows, an ext4 partition for Arch Linux and an exFAT partition for shared data.
The data partition is mounted on my Arch system like this (...
Score of 0
1 answer
513 views
How do I produce an executable file in Visual Studio Code on Linux?
I have started learning c# and installed VSCode.
After a lot of struggle I made it build.
But now it creates a DLL instead of an EXE.
I created a new project using "NET: new project / Console app&...
Score of -2
1 answer
177 views
How should I name packages for arch vs for manjaro or any other arch-based distro, which uses the same package format (.pkg.tar.[zst/xz/gz])
I want to release packages of my software for arch and manjaro and I am packaging it using makepkg and I cannot find any official way to name packages for arch or manjaro differently as opposed to for ...
Score of 0
2 answers
340 views
How TeXLive use font packages in Docker
I wanted to put TeXlLive in docker and then after I installed it I found that there was an error with the fonts of xelatex and lualatex, the fonts could not be found. I know that TeXLive has an ...
Score of 2
1 answer
1333 views
VSCode clipboard paste (Ctrl+V) suddenly stopped working
I'm using VSCode OSS on Arch Linux. I was just reorganizing my C++ project files when I found out that Ctrl+V suddenly stopped working. Every other keyboard shortcut works, like copying and saving. I ...
Score of 0
1 answer
1153 views
glfwCreateWindow fails on Wayland (Hyprland, NVIDIA): EGL context error
I'm trying to create a GLFW window through LWJGL using Hyprland (Wayland) as window manager on Arch Linux. The application fails with the following message:
[LWJGL] GLFW_PLATFORM_ERROR error
...
Score of 0
0 answers
197 views
Why am I getting strange compiler flags after switching to clang on arch?
I'm trying to compile a few programs (unity and cython scripts). I have set the compiler flags in ~/.bashrc and also in my Python setup.py file, however I am getting extra flags in my system that are ...
Score of 1
0 answers
224 views
Linker can't find mingw64 library?
"make" gave me this error message:
g++ -I src/include -L src/lib -o main main.cpp -lmingw64 -lSDL2main -lSDL2
/usr/bin/ld: cannot find -lmingw64: No such file or directory
collect2: error: ...
Score of 1
0 answers
223 views
Archlinux: pip install pgadmin4 error: Invalid version
I'm trying to install pgadmin4 on Archlinux using pip inside a virtual environment pip install pgadmin4. Versions 8.11 and above (current is 8.14) fail and raise InvalidVersion exception:
ERROR: ...
Score of 0
1 answer
290 views
Error When Importing PyAutoGUI in Archlinux
I'm having issues importing pyautogui after installing it.
Output of hostnamectl:
Static hostname: archlinux
Icon name: computer-laptop
Chassis: laptop 💻
Machine ID: ...
Score of 1
2 answers
5717 views
How to install some rare Python packages on Arch Linux?
I'm a beginner in Arch Linux, and I wanted to use Sanic in my Python project. From the Package Management, I learned that pip has been disabled on Arch Linux, therefore I tried using the pacman -S ...
Score of 0
1 answer
86 views
Kill syscall not working correctly on ArchLinux machine
I'm trying to use the signaling mechanism of UNIX to do some processing. To test out this functionality, I wrote the following code:
#include <stdio.h>
#include <signal.h>
#include <...
Score of 0
1 answer
1434 views
Tensorflow errors: cuFFT, cuDNN, cuBLAS and "Assertion '__n < this->size()' failed"
I just started with TF and Keras and found out that I can't run these on my computer. I've notice the problem first in jupyter notebook, and than recreate it in a python file.
The code to reproduce (...
Score of 0
2 answers
3795 views
How do I fix copy-paste not working in Arch?
I have Arch Linux Hyprland. Can’t copy paste things from Google Chrome to VSC. Any ideas? I feel like I’ve tried everything…
I tried xclip, xsel, updating the system, rebooting. It only doesn’t work ...
Score of 1
1 answer
1661 views
Modem Fibocom L850-GL on ThinkPad X1 Carbon not detecting SIM on Arch Linux (ModemManager serial command timeout)
I have a Fibocom L850-GL LTE modem on my ThinkPad X1 Carbon 6th gen running Arch Linux. The modem is recognized, but the SIM is not detected. Here's what I've tried and the relevant information:
...
Score of 0
1 answer
135 views
flang not found after install from AUR
I've installed flang from the AUR through
yay -Syu flang
but while it shows a successful installation
pacman -Qs flang
local/flang 18.1.8-1
ground-up implementation of a Fortran front end written in ...
Score of 2
1 answer
328 views
Header file is in the wrong location
I wanted to include xf86drmMode.h in my c code, but when I did it says there was an error in the header file as it couldn't find drm.h. It's because there is no drm.h on my system, there's only libdrm/...
Score of 0
1 answer
1170 views
Can't sign into my github account in vscode on arch linux
I have recently installed arch linux.
I installed vscode using yay -S visual-studio-code-bin.
Now when I open the vscode app.
When i click on backup and sync and the sign in, the app just stops ...
Score of 0
1 answer
160 views
C strcat buffer overflow after hundreds of iterations [closed]
I have written a status bar utility in C for DWM to display the time, date, CPU temp, and battery level. I recently noticed the program had crashed and found that it had a coredump. I recompiled the ...
Score of 0
1 answer
621 views
Docker is not using the configuration in /etc/docker/daemon
docker server on my machine is currently using /var/lib/docker as the root dir, which I'm trying to change to something on my home partition instead.
I stopped docker.service, configured data-root in ...
Score of -1
3 answers
5006 views
Error Updating Using Pacman: 'failed to commit transaction (could not find or read package)' [closed]
Every time I run error sudo pacman -Syu or yay. It always shows up
failed to commit transaction (could not find or read package)
Errors occurred, no packages were upgraded.
-> error installing ...
Score of 1
1 answer
486 views
GODOT: I can't start projects in mobile or forward
I'm learning godot 4.2.2 and I'm trying to start and edit a new project in mobile or +forward rendering and it won't let me, it just closes, I've tried other projects but it doesn't work either, the ...
Score of 0
1 answer
2191 views
How to change font size in i3wm config?
I've recently migrated from linuxmint to archlinux using typecraft's excellent video series but I'm having issues using i3-wm. I simply want to increase the font size in i3's config but I'm not able ...
Score of 0
0 answers
231 views
Using pyenv python inplace of system default
I am on archlinux and trying to run krita scripter (built-in python console) with a pyenv python version. The system default python version is 3.12, however the script I am running uses python ...
Score of 0
0 answers
2363 views
Pipewire not detecting Microphone, plugged in but static comes out of internal microphone recording
I am on an Alienware M16 running Arch Linux and Pipewire is installed and there are 2 controllers that are available, one controlled by the Nvidia Graphics card and one controlled by the AMD audio ...
Score of 1
0 answers
89 views
Recutils not compiling due to errors, which appear to be warnings
Recutils fails to build on my linux arch system. It appears the same on all of my machines which are also running Arch Linux. I have updated my pacman and run ldconfig as instructed by some post I ...
Score of 6
1 answer
1188 views
`/usr/bin/env: ‘node’: Text file busy` Error after system update
I'm working on Next.js Project from past 4 - 5 months and it was working fine till yesterday. But suddenly today I'm facing some issue.
When I run yarn dev which runs command npx nodemon index.ts it ...
Score of 5
4 answers
5101 views
Busybox build fails with ncurses header not found in archlinux (spoiler: i already have ncurses package)
I am trying to build busybox from source, installed all the necessary dependencies, but build fails every time with ncurses header not found err.
OS: Arch Linux x86_64 (On docker: archlinux image)
...
Score of 0
1 answer
1769 views
React Native - FAILURE: Build failed with an exception
I keep getting the following error when attempting to build my react native application. I've attempted manually setting various versions of the Android Gradle Plugin Version and compatible Gradle ...
Score of 0
2 answers
1591 views
Cannot launch Android Virtual Devices (avds) in Android Studio
Launching AVDs from both android studio and via the cli "emulator" command fails.
(the emulator did launch successfully on one single occasion)
Steps taken:
Create a pixel 6 avd
Install ...
Score of 0
1 answer
1032 views
How to build a .deb in archlinux if bindeb-pkg is not available?
I'm running EndeavourOS Arch, and I'm trying to build the Linux Kernel to deploy within a debian / Ubuntu system. The files are usually in .deb format, however I noticed that the bindeb-pkg package ...
Score of 0
1 answer
202 views
build flutter project on arch linux got error: " Dart Error: Can't load Kernel binary: Invalid SDK hash." [duplicate]
all error info :
[ERROR:flutter/shell/common/shell.cc(117)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
[ERROR:flutter/runtime/dart_isolate.cc(144)] Could not prepare isolate.
[ERROR:...
Score of 1
3 answers
502 views
wxWidgets application crashes on arch linux, but not on windows
I've been trying to create a wxWidgets C++ application under my EndeavourOS (should be arch linux at it's core).
My Desktop Environment is KDE Plasma (Wayland). But I the same problems occur on GNOME, ...
Score of 0
1 answer
788 views
Why the gnome icon I set does not work for JetBrains IDE
The system I am currently using is Arch Linux. The desktop environment is GNOME.
I installed JetBrains Toolbox through AUR, and then used it to install many IDEs. However, the icons of these IDEs did ...
Score of -1
1 answer
1060 views
sway exec doesn't do the same as the same command in cli
I have written an python program to handle sending notifications to dunst with notify-send. i am aware that there are better alternatives, but i wanted to make it on my own.
This is my program located ...