06-01-2021, 08:42 PM
(06-01-2021, 01:26 PM)jms429 Wrote: Hi. I did 1 and for 2 I added this line to the shutdown code:
# Set shut down, restart and locking features
bindsym $mod+0 mode "$mode_system"
bindsym XF86PowerOff mode "$mode_system"
My only thought is maybe its a different key code on ANSI keyboard?
Your response is quite incomplete.
Does 1 (inhibit power button) works ? after editing logind.conf, systemctl restart systemd-logind.service, or reboot.
Does your bind mod+0 works ? If it doesnt, not a problem of keycode, but code, in your conf.
Assuming you use i3, you must use x11, so try use xev to get your keycodes (mine is ansi too).