1

I would like to remap the key combination Ctrl+Shift+Left/Right to the Home/End keys, but I cannot figure out how to do that.

Should it be done with xmodmap? Or with XKB configuration?

2
  • What Linux are you wish to make that change? Archlinux or Gentoo?
    – Jorge Luiz
    Commented Nov 15, 2021 at 1:47
  • hi @JorgeLuiz, I don't think there is any difference in this case but I am using Gentoo.
    – Jimmy2027
    Commented Nov 15, 2021 at 8:00

1 Answer 1

1

assuming you're using X, use xdotool or xvkbd to send keyboard events to the screen.

xdotool key Home

OR

xvkbd -text '\[Home]'

to map them, use a keyboard shortcut manager like sxhkd, xbindkeys, or the one built into your DE or WM

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .