Add Windows instructions and Linux
This commit is contained in:
parent
602f17ad27
commit
166a7bb356
|
@ -49,7 +49,7 @@ If you want to see more interesting projects, visit my website: https://federico
|
|||
{% endunless %}
|
||||
|
||||
{% unless page.hideTitle or layout.hideTitle %}
|
||||
<h2 class="page-title mt-4 mb-4">{{page.title}}</h2>
|
||||
<h2 class="page-title mt-4 mb-4 text-center">{{page.title}}</h2>
|
||||
{% endunless %}
|
||||
|
||||
{{ content }}
|
||||
|
|
|
@ -23,13 +23,31 @@ h1, h2, h3, h4 {
|
|||
img {
|
||||
display: block;
|
||||
margin: auto;
|
||||
max-width: 100%;
|
||||
max-width: 800px;
|
||||
height: auto;
|
||||
|
||||
@media screen and (max-width: $screen-tablet) {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
h2, h3, h4 {
|
||||
margin: 30px 0 20px 0;
|
||||
}
|
||||
|
||||
.mybtn {
|
||||
font-weight: 700;
|
||||
font-size: 1.2em;
|
||||
background-color: $mainColor;
|
||||
color: white !important;
|
||||
padding: 10px 25px 10px 25px;
|
||||
border-radius: 40px;
|
||||
border: 0;
|
||||
|
||||
@media screen and (max-width: $screen-tablet) {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.light-text {
|
||||
|
|
48
install/linux.md
Normal file
48
install/linux.md
Normal file
|
@ -0,0 +1,48 @@
|
|||
---
|
||||
title: Install on Linux
|
||||
layout: default
|
||||
---
|
||||
The linux installation depends on the distro you are using.
|
||||
Espanso has been tested in the following distros, but you shouldn't
|
||||
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:
|
||||
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt install libxtst6 libxdo3 xclip
|
||||
```
|
||||
|
||||
You can now download the latest espanso release:
|
||||
```
|
||||
curl 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!
|
||||
|
||||
#### Installing on Manjaro / Arch
|
||||
|
||||
TODO
|
||||
|
||||
#### Installing on Other Distros
|
||||
|
||||
TODO
|
22
install/win.md
Normal file
22
install/win.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: Install on Windows
|
||||
layout: default
|
||||
---
|
||||
The installation on Windows is straightforward, download the installer by
|
||||
clicking on the button below and follow the instructions.
|
||||
|
||||
<div class="text-center">
|
||||
<a class="btn btn-lg mybtn" href="https://github.com/federico-terzi/espanso/releases/latest/download/espanso-win-installer.exe" role="button">Download the Installer</a>
|
||||
</div>
|
||||
|
||||
#### Problems you may experience
|
||||
|
||||
Because espanso is not digitally signed, you may experience a warning from
|
||||
Windows Smartscreen. In this case, just click on "More info" (1) and then
|
||||
on "Run anyway" (2), as shown in the picture:
|
||||
|
||||

|
||||
|
||||
If you completed the installation procedure, you should have espanso running.
|
||||
A good way to find out is by going on any text field and typing `:espanso`.
|
||||
You should see "Hi there!" appear.
|
Loading…
Reference in New Issue
Block a user