04-14-2021, 05:40 PM
(This post was last modified: 04-14-2021, 07:01 PM by ab1jx.
Edit Reason: rdump
)
It reports 78, Scroll_Lock on mine, but I'm back in Debian. Several of the keys in that area seem to be off by 1. Num_Lock is actually on the Print Screen key. And both Print Screen and Pause will toggle Num_Lock and cause numbers to print instead of letters.
How do you change it in Manajro? I saw a couple places that I'm using a 105 key generic layout but that's as close as I got. I didn't count them but it's probably more than 101.
Just because xev comes with X it doesn't mean your distribution is going to include it. I use xwd so in Debian I have the x11-apps deb installed. I do some xlib programming sometimes, when covid was just starting to hit the US I wrote a simulator in xlib: https://sourceforge.net/projects/epidemicsim/
This will do a screen dump even over an ssh connection but it requires xwd. And it doesn't do well on frame buffers. I call it rdump.
Code:
KeyPress event, serial 48, synthetic NO, window 0x2a00001,
root 0x22b, subw 0x2a00002, time 10173268, (33,37), root:(355,236),
state 0x0, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
How do you change it in Manajro? I saw a couple places that I'm using a 105 key generic layout but that's as close as I got. I didn't count them but it's probably more than 101.
Just because xev comes with X it doesn't mean your distribution is going to include it. I use xwd so in Debian I have the x11-apps deb installed. I do some xlib programming sometimes, when covid was just starting to hit the US I wrote a simulator in xlib: https://sourceforge.net/projects/epidemicsim/
This will do a screen dump even over an ssh connection but it requires xwd. And it doesn't do well on frame buffers. I call it rdump.
Code:
#!/bin/bash
datestr=`date +"%Y-%m-%d_%H-%M"`
outname=/tmp/ss_$datestr.xwd
echo "Saved as " $outname
echo "You have 5 seconds"
sleep 5
xwd -display ':0.0' -root -out $outname