Skip to content

Instantly share code, notes, and snippets.

Update The Workflows

Update the action versions

  1. Open the .github/workflows directory.
  2. Check the action versions:
    1. Check the `build.yml`_ file:
@Elliria
Elliria / autokey_run_clones_in_a_vm.md
Last active January 14, 2025 17:31
AutoKey run clones in a VM

AutoKey run clones in a VM

Prepare the machine for AutoKey development:

sudo apt install autokey-gtk
sudo apt install autokey-qt
sudo apt install git
sudo apt install libcairo2-dev
sudo apt install python3.12-venv
sudo apt install python3-tk
@Elliria
Elliria / AutoKeyVMNotes.md
Last active January 14, 2025 16:41
AutoKey VM Notes

AutoKey VM Notes

Contents of the Note widget

===============================================================
CLONE AUTOKEY AND RUN IT:
cd Desktop
git clone https://github.com/autokey/autokey.git
cd autokey
@Elliria
Elliria / autokey_run_tests_and_provide_feedback_on_a_pull_request.md
Last active January 16, 2025 05:09
AutoKey run tests and provide feedback on a pull request

AutoKey run tests and provide feedback on a pull request

🛑 Caution: Although the steps below have you creating and using a clone of AutoKey, the clone shares the same configuration folder as the installed copy of AutoKey. Since there's always a risk of corruption of files when one is testing new code, it's best not to run these tests on a system where the installed copy of AutoKey contains valued custom phrases and/or scripts. I recommend creating a virtual machine instead.

  1. Make sure that the system you'll be doing the tests on already has a working copy of AutoKey installed on it (so that you'll already have all the necessary apt dependencies).
  2. Install the git package in Kubuntu.
  3. Install the tox package in Kubuntu.
  4. Open the directory you'd like to create the cloned autokey directory inside of in a terminal window.
  5. Clone the PR:

Manage The Wiki Locally

Clone the AutoKey wiki:

  1. Open the directory you'd like to put the clone's directory into in a terminal window.
  2. Clone the wiki, which will create the autokey.wiki directory inside of the current directory:
    git clone https://github.com/autokey/autokey.wiki.git

Update the clone and check the wiki for changes: