Troubleshooting
Increase Failed auth Lockout Attempts
Manjaro will lockout a user for 10 minutes on 3 failed password attempts over 15 minutes.
Expressed as sudo not working with valid password or unable to login to the system.
/etc/security/faillock.conf
0644 root:root
deny = 5
fail_interval = 300
unlock_time = 600
Application Scaling
High DPI monitors require custom scaling settings.
⌘ ➔ system settings ➔ display and monitor ➔ display configuration
- Global scale: 150%
- Legacy applications (X11): Apply scaling themselves
Fonts look fuzzy
Fonts may not support subpixel hints or it may be disabled.
Copy custom fonts to system.
# Requires reboot if not manually loaded in Font Manager.
cp {FONTS} /usr/share/fonts
systemsettings kcm_fontinst # Font Manager in GUI.
Tweak font display for LCD's if display is still not clean.
/etc/fonts/local.conf
0644 root:root
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
~/.Xresources
0644 {USER}:{USER}
Xft.antialias: 1
Xft.hinting: 1
Xft.autohint: 0
Xft.rgba: rgb
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Merge settings, link additional profiles, and update cache.
xrdb -merge ~/.Xresources
ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/
ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
fc-cache -f -v
Caps lock as Control
Override caps lock for keyboards that do not remap caps lock key.
/etc/default/keyboard
0644 root:root
XKBOPTIONS="ctrl:nocaps"
For current session.
localectl set-x11-keymap us pc105 ,query ctrl:nocaps
Reboot to apply.
Windows Opening on Wrong Monitor
Some applications misbehave.
System Settings ➔ Apps & Windows ➔ Window Management
- Window Behavior:
- Advanced:
- Window placement: Centered
- Advanced:
- Window Rules:
- Add New:
- Description: Fix windows starting on wrong screen
- Window class (application): Unimportant
- Match whole window class: No
- Window types: Normal Window # un-select all others.
- Add Property:
- Ignore requested geometry:
- Apply Initially: Yes
- Ignore requested geometry:
- Add New:
Manjaro Updates Consistently Fail
Last update was more than six months ago and keys are expired.
/etc/pacman.conf
0644 root:root
# Only for expired PGP keys -- DANGEROUS - always revert after updates.
# SigLevel = Required DatabaseOptional
SigLevel = Optional TrustAll
pamac update
Mouse Acceleration Seems Wonky
Adaptive refresh seems to cause mouse acceleration issues in KDE Plasma Wayland.
⌘ ➔ System Settings ➔ Input & Output
- Mouse & Touchpad (All devices)
- Pointer Acceleration: None
- Display & Monitor
- Adaptive sync: Never
Recover from a Bad Upgrade with Encrypted Root Disk
Generally when Windows decides it's the boot manager and is wrong.
Boot from USB Boot Disk.
Mount LUKS Volume
ls -l /dev/{nvme,sd}*
# Mount LUKS encrypted partition.
crypt setup -v luksOpen /dev/{PARTITION} crypt_drive
# Mount and decrypt.
mount /dev/mapper/crypt_drive /mnt
# Switch to installed system root and update.
manjato-chroot /mnt
pacman-mirrors --fasttrack 5 && pacman -Syyu
# Update EFI boot manager.
efibootmgr -v
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -P
pacman -S linux
efibootmgr -v
List of User Installed Packages
Only explicitly installed by user (no dependencies).
pacman -Qqe | grep -v "$(awk '{print $1}' /desktopfs-pkgs.txt)"
Reference:
List of Package by Install Date
pacman -Syu expac
expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort -n