can i avoid arrow keys and use any other shortcut that might be easy to access from home keys

Ask Ubuntu Asked by Rao Zaeem Shahid on December 16, 2020

I’m using dvorak layout, during programming or writing, it’s difficult for me to move my hands from home keys to arrows key again and again, so can I create a shortcut such as ctrl+shift+alt+h that’ll alternative to left arrow key, and ctrl+shift+alt+s alternative to right arrow, accessing to arrow key distract my focus from screen and I’ll have to look at the keyboard again again, sometime I even forget what was I about to write.

2 Answers

To make things simple:

  1. Go to your system-settings(in Ubuntu) and choose Devices (i think, 'Apparaten' in Dutch) in the leftside panel, or just type 'keyboard' in Search;
  2. Select 'Keyboard & Mouse' and look for Keyboard 'Shortcuts' panel and make new or change old shortcuts on the fly.

Answered by frankmcpeeters on December 16, 2020


Don't downvote, I keep it here until someone could take that workaround to work with some kind of keybinding. I'll delete it when that time has come

Take a look at xdotool and its documentation.

 $ apt show xdotool
Package: xdotool
Version: 1:3.20160805.1-4
Priority: extra
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Daniel Kahn Gillmor <[email protected]>
Installed-Size: 125 kB
Depends: libc6 (>= 2.15), libx11-6, libxdo3 (>= 1:3.20150503.1)
Task: ubuntu-budgie-desktop
Download-Size: 41.5 kB
APT-Sources: focal/universe amd64 Packages
Description: simulate (generate) X11 keyboard/mouse input events
 xdotool lets you programmatically (or manually) simulate keyboard
 input and mouse activity, move and resize windows, etc. It does this
 using X11's XTEST extension and other Xlib functions.

sudo apt install xdotool

You can then bind xdotool commands with these commands in Setting > Keyboard shortcut. enter image description here

In your case, the xdotool patterns would be :

xdotool key Left
xdotool key Right

For up and down, it's... Up and Down

Answered by B. du Garay on December 16, 2020

Add your own answers!

Related Questions

“Konversation” Dictionary

0  Asked on November 18, 2021 by ron-piggott


How can I record sound in background

0  Asked on November 18, 2021


Configure GRE tunnel to start on reboot?

1  Asked on November 16, 2021 by gulamerah


Can’t install aptik package on ubuntu 15.04

2  Asked on November 16, 2021 by user1099913


KDE Apps on Ubuntu 20.04 – Right Click Issue

1  Asked on November 16, 2021 by timothy-c-quinn


Where are the Xubuntu download verification check sums?

2  Asked on November 16, 2021 by friendfx


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir