From 7891d475020cbfb46478f4e52ca8d49e5043ae2c Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 22 Sep 2019 17:07:44 +0200 Subject: [PATCH] Improve installation on linux --- docs.html | 6 ++++++ install/linux.md | 32 ++++++++++++++++++++++++++------ 2 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 docs.html diff --git a/docs.html b/docs.html new file mode 100644 index 0000000..5e1feff --- /dev/null +++ b/docs.html @@ -0,0 +1,6 @@ +--- +title: Documentation +layout: default +showParticles: True +--- +TODO \ No newline at end of file diff --git a/install/linux.md b/install/linux.md index f89c34e..5a767d5 100644 --- a/install/linux.md +++ b/install/linux.md @@ -8,12 +8,11 @@ have many problems making it work on others. * [Ubuntu/Debian](#installing-on-ubuntu--debian) * [Manjaro/Arch](#installing-on-manjaro--arch) -* [Others](#installing-on-other-distros) #### Installing on Ubuntu / Debian -Espanso depends upon the `X11 Record Extension`, the `XDO library` and the `xclip` command, -so you will need to install those first with the following command: +Espanso depends upon the `X11 Record Extension`, the `xdo library` and the `xclip` command, +so you will need to install those first with the following commands: ``` sudo apt update @@ -41,8 +40,29 @@ If you now type `:espanso` in any text field, you should see "Hi there!" appear! #### Installing on Manjaro / Arch -TODO +Espanso depends upon the `X11 Record Extension`, the `xdo library` and the `xclip` command, +so you will need to install those first with the following commands: -#### Installing on Other Distros +``` +sudo pacman -Sy +sudo pacman -S libxtst xdotool xclip +``` -TODO \ No newline at end of file +You can now download the latest espanso release: +``` +curl -L https://github.com/federico-terzi/espanso/releases/latest/download/espanso-linux.tar.gz | tar -xz -C /tmp/ +``` + +And then move it to the `/usr/local/bin/` directory + +``` +sudo mv /tmp/espanso /usr/local/bin/espanso +``` + +You should now have espanso installed in your system. To start it, type the following command: + +``` +espanso start +``` + +If you now type `:espanso` in any text field, you should see "Hi there!" appear! \ No newline at end of file