2022 Developer Survey is open! Take survey.

New answers tagged

0 votes

Failed to load module "colorreload-gtk-module"

I was getting this error while working with python opencv. For me installing kde-gtk-cofig solved this problem. on Fedora: sudo dnf install kde-gtk-config
user avatar
0 votes

repair arch linux console

Since usermod needs root privileges, and you didn't add sudo to it in your question, I guess you still have root access to your computer. So, use that to install zsh or to change the shell to bash ...
user avatar
0 votes

Should I restart after a pacman upgrade?

needrestart exists to answer that question, so install it with yay needrestart. needrestart 3.6 - Restart daemons after library updates. Authors: Thomas Liske <thomas@fiasko-nw.net> ...
user avatar
  • 5,345
1 vote
Accepted

Switching keyboard layouts

I use setxkbmap to switch between Dvorak and QUERTY. I have a bash script at ~/.local/bin/toggle_kbd (which is included in my PATH), which my window manager has bound to a shortcut. It just runs a ...
user avatar
0 votes
Accepted

CodeLLDB for VSCode not working with remote gdbserver

I finally got it to work after finding this useful little guide: https://github.com/vadimcn/vscode-lldb/wiki/Breakpoints-are-not-getting-hit Using those tips I found out that lldb had located my files ...
user avatar
1 vote

Switching keyboard layouts

I cannot comment due to a lack of reputation. I don't know the answer, just want to share my thoughts. First the worst case. Could you not recover from not being able to type in your passphrase by ...
user avatar
0 votes

rEFInd Boot Manager not loading (Arch Linux installation)

Alright, I got it working. What I ended up doing was: Burn the rEFInd CD image to a USB drive (https://www.rodsbooks.com/refind/getting.html). While in arch-chroot, I used used wget and then the ...
user avatar
0 votes
Accepted

Connecting To a WiFi with dynamic IP and Ethernet Cable with Static IP in Arch Linux and Maintaining Internet

So I have, since posting the question, figured out the reason I wasn't able to use netctl to set up both connections, it was a routing problem. I used the instructions here to change the routing ...
user avatar
  • 1
0 votes

How do I know if my microphone is mute or unmute when I have more than one microphone?

Your amixer -D 'hw:1' output actually shows the microphone state in the last line. Here's one way to extract that in a bash script: amixer -D "hw:1" sget Mic | awk -F "[\[\]]" '/\[...
user avatar
0 votes

GRUB cannot find encrypted boot partition

# encrypt boot partition root@archiso ~ # cryptsetup luksFormat /dev/sda2 change to: # encrypt boot partition root@archiso ~ # cryptsetup --type luks1 luksFormat /dev/sda2 grub2 does't support fully ...
user avatar
0 votes

$ firefox /usr/lib/firefox/firefox: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/firefox/firefox)

Error is on server side : bad package Downgrade it ! https://forum.manjaro.org/t/firefox-version-100-0-0-1-not-launching/111174/29
user avatar
0 votes

NVIDIA hdmi output not working

I was facing this same issue on archlinux on my Ryzen 7 Omen 15, which has AMD Renoir integrated GPU with NVIDIA RTX 2060 discrete GPU: OS: Arch Linux [x86_64] Host: OMEN Laptop 15-en0xxx Kernel: 5.17....
user avatar
  • 286
0 votes

How to prevent broken dependencies on own packages?

I don't know what is calamares or libkpmcore. But the problem appears because of trying to resolve a non existance library. Unix library naming usually follows the convention lib{name}.so[.major[....
user avatar
1 vote
Accepted

Left Windows/Meta key suddenly stopped working

I found a solution that worked for me: Going from Settings: -> Hardware section: Input Devices -> Advanced tab -> Position of Compose key -> Turn off "Left Win" -> Apply. It ...
user avatar
  • 111
0 votes
Accepted

Characters do not display properly in terminal (st)

The actual locale names have an underscore between the language code and the country code, i.e. your locale.conf should be: LANG="de_DE.UTF-8" LC_CTYPE="de_DE.UTF-8" Currently, ...
user avatar
  • 67k
1 vote
Accepted

vscode doesn't start on Archlinux after update

You can run code --verbose from the terminal - it should print a startup log on stdout.
user avatar
  • 1,198
0 votes

Locating source files for arch linux executables

~ $ pacman -Qi $(pacman -Qoq $(which ssh-add)) Name : openssh Version : 8.9p1-1 Description : Premier connectivity tool for remote login with the SSH protocol Architecture : ...
user avatar
0 votes

Failed to request VPN secrets #3

In my case, I had to have a look at the syslog to get useful information, and I found the following: May 9 10:05:36 mypc nm-l2tp-service[79199]: Check port 1701 May 9 10:05:36 mypc nm-l2tp-service[...
user avatar
0 votes

unplugged hdd, now boots to windows instead of refind

I solved this by using an arch live boot and reinstalling refind. This was a very simple solution and I suppose unplugging the HDD caused the windows bootloader to reset or update for some reason. ...
user avatar
1 vote
Accepted

"Could not find MDB Tools, which are required to build gmdb2" on Arch Linux

remove mdbtools then install mdbtools-beta yay -Runsc mdbtools && yay -S mdbtools-beta or install mdbtools-beta then when asked about removing conflict packages accept the removal of ...
user avatar
0 votes

Why did chown mess up my sudo.conf?

No idea how that command changed the permissions of a file in a different path. To fix, start up your host from a bootable USB drive, mount the drive change change the onership back to root. If /etc/...
user avatar
  • 4,225
1 vote

find a string in every line of a file then replace another string on the same line using bash

Your attempt is correct in principle, you just missed to close the list before the do with a semicolon, as frabjous pointed out: for x in {3600..4200}; do But please note that this will make you edit ...
user avatar
  • 11.2k
2 votes
Accepted

find a string in every line of a file then replace another string on the same line using bash

It just occurred to me that you didn't mean the literal string x-600, you meant "subtract 600 from every value found between 3600 and 4200". In that case, use perl, not sed: echo "$...
user avatar
  • 66.6k
0 votes
Accepted

SSH_AUTH_SOCK set to wrong value after login but there is nothing that sets it explicitly

It seems like issue was due to use of (deprecated) ~/.pam_environment of pam_env module. I found out that ~/.pam_environment has override for SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/ssh-agent.socket Since it ...
user avatar
  • 11
0 votes

opening default path for root user

You could be put a cd ~/Downloads/owt command in your ~/.zprofile file (which is run at login). Be warned that this may confuse software (or people) that expects to start in your home directory by ...
user avatar
  • 138
0 votes

Grey box when running JetBrains Rider on Arch Linux

I had the same problem, and it is because when you run from a "Desktop Entry" it is not exporting _JAVA_AWT_WM_NONREPARENTING What I did was: Create a shell script (runRider.sh) #!/bin/...
user avatar
  • 1
0 votes

NordVPN on Arch Linux Limited Connectivity

I have the same exact setup as you, I use Nordvpn on Manjaro KDE and sometimes I get that error. This is the script I use to fix it if the connection says 'limited' or if it drops. I put these ...
user avatar
0 votes

when i chsh to zsh it seems to get replaced with fish (garuda)

Right clicking in the fish terminal then under configure profile under command changing it to /usr/bin/zsh solve my problem. It was stuck with /usr/bin/fish
user avatar
0 votes

Arch time zone: Wrong time due to local-time hardware clock

Do not forget adjtimexconfig, that does a good job comparing/updating system time from the hardware_clock (CMOS) info. Just run adjtimexconfig.
user avatar
0 votes

Arch time zone: Wrong time due to local-time hardware clock

With my notebook optimus build commands: # hwclock --localtime (is returning the reverse) # hwclock --utc With ( timedatectl set-local-rtc 0) is like localtime set to London time and if I setup (...
user avatar
2 votes
Accepted

Unlinked libc.so.6

Arch seems to be using GNU libc, which is generally the default for most Linux distributions. As of this writing, the current version seems to be 2.35-3. By taking a listing of the Arch package ...
user avatar
  • 67k
2 votes

kded taking up X client connections?

I can confirm this on KDE neon. It started happening with recent updates. Most definitely a bug so a proper course of action is to report it at: https://bugs.kde.org/ I suppose only people that leave ...
user avatar
0 votes
Accepted

saslpasswd2 support for Berkeley

I ran into this again and compiled libsasl from scratch (https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.28/cyrus-sasl-2.1.28.tar.gz). That way de recommended ( according to ...
user avatar
  • 75.1k
0 votes

NVMe Arch Linux Dual Boot w/ Windows 10

I figured it out - My Windows 10 is installed as MBR/BIOS, which is why I’m not seeing an EFI partition. Just need to find a different guide on how to install Arch alongside a legacy install of ...
user avatar
0 votes

How to fix missing pipewire screen capture option or the black screen in OBS? [Arch Linux] [OBS v27+]

I had the same issue with Wayland on PopOS 22.04 running the Flatpak version of OBS. No Pipewire screen capture option. (Maybe happens on Ubuntu 22.04 too?) xdg-desktop-portal was installed, but not ...
user avatar
  • 101

Top 50 recent answers are included