0

I made some shortcuts using autokey-gtk and they worked fine. However, I need to run them on a computer that I don't have root privileges, so I can't install it using apt.

What I've tried:

  • I cloned the repo from git (I cant install it, it requires root permission)
  • Succesully installed pip3 autokey (I don't know how to use it)

How do I run the shortcut, having shortcut.py and .shortcut.json?

(In specific, those shortcuts)

Vitor Abella
  • 8,015
  • 16
  • 63
  • 115

1 Answers1

0

To run a cloned copy of AutoKey when it's not installed:

  1. Open the autokey directory that you cloned.
  2. Open the lib subdirectory.
  3. Pick one of these:
    • Run AutoKey in the background: python3 -m autokey.gtkui
    • Run AutoKey with its window open: python3 -m autokey.gtkui -c

To make a shortcut that does all of that, pick one of these after replacing the ~/path/to/autokey example path with the actual path to your cloned copy of AutoKey:

  • Run AutoKey GTK in the background: cd ~/path/to/autokey; cd lib; python3 -m autokey.gtkui
  • Run AutoKey Qt in the background: cd ~/path/to/autokey; cd lib; python3 -m autokey.qtui
  • Run AutoKey GTK with its window open: cd ~/path/to/autokey; cd lib; python3 -m autokey.gtkui -c
  • Run AutoKey Qt with its window open: cd ~/path/to/autokey; cd lib; python3 -m autokey.qtui -c
Little Girl
  • 156
  • 5