You are not logged in.
I have dwm installed, and I found that my keyboard repeat rate is change whenever dwm is opened. To fix this I tried using the xset command like this:
xset r rate 10 10It returned:
xset: error while loading shared libraries: /usr/lib/libXmuu.so.1: file too shortHas anyone else had this problem or know of any other answers?
Last edited by Catten (2024-09-12 15:25:59)
/\____/\
| o o |
\___w_/
cat
Offline
Reinstall libxmu. Then check for any other (presumably) zero-length files under /usr/lib.
Did you recently have something go wrong during and upgrade (like a sudden power loss)?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I just tried reinstalling libxmu with sudo pacman -S libxmu, and it returned with a big output of errors:
error: failed to commit transaction (conflicting files)
libxmu: /usr/include/X11/Xmu/Atoms.h exists in filesystem
libxmu: /usr/include/X11/Xmu/CharSet.h exists in filesystem
...
( there are a lot of these )I haven't had any power loss and I don't think anything else happened during an upgrade.
How should I check for other zero-length files?
/\____/\
| o o |
\___w_/
cat
Offline
pacman -Qkk (you can grep away 0 altered and backup files)
To install libxmu, install it --dbonly first
Online
Another quick check:
find /usr/lib -empty -name '*.so*'If there are other libs in that output, those packages would also need to be fixed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Just tried Inspector Parrot's check:
find /usr/lib -empty -name '*.so*' > empty.txtIt found a lot of empty packages, too long to list here.
I then tried seth's libxmu reinstall with --dbonly first:
pacman -S --dbonly libxmu
pacman -S libxmu...And that worked!
xset r rate 10 10Worked without any errors.
I'm guessing there actually was some problem during the install, and I just don't remember it because if reinstalling it was all that was needed, then it must have never been installed correctly or something.
Thank you!
(also as I'm currently figuring out right now, 10 10 is way too fast, don't set it that fast like me lol)
Last edited by Catten (2024-09-12 15:21:58)
/\____/\
| o o |
\___w_/
cat
Offline
sudo pacman --root /mnt -Qkk | grep -v ', 0 altered files' | grep -v backup > /tmp/howbadisit.txt
cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.st # post the link you get and look at the fileThere's possibly more damaged packages...
Online