You are not logged in.

#1 2024-09-12 02:53:07

Catten
Member
Registered: 2024-09-12
Posts: 3

[SOLVED] Changing Keyboard Repeat Rate with xset returns error

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 10

It returned:

xset: error while loading shared libraries: /usr/lib/libXmuu.so.1: file too short

Has 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

#2 2024-09-12 03:04:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

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

#3 2024-09-12 03:21:35

Catten
Member
Registered: 2024-09-12
Posts: 3

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

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

#4 2024-09-12 06:29:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,813

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

pacman -Qkk (you can grep away 0 altered and backup files)

To install libxmu, install it --dbonly first

Offline

#5 2024-09-12 12:26:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

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

#6 2024-09-12 15:19:36

Catten
Member
Registered: 2024-09-12
Posts: 3

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

Just tried Inspector Parrot's check:

find /usr/lib -empty -name '*.so*' > empty.txt

It 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 10

Worked 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

#7 2024-09-12 15:25:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,813

Re: [SOLVED] Changing Keyboard Repeat Rate with xset returns error

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 file

There's possibly more damaged packages...

Offline

Board footer

Powered by FluxBB