Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EndeavourOS install instructions #155

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .ecrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"Exclude": ["\\.md$", "Gemfile.lock$", "assets/css/rougehl.css$"]
"Exclude": [ "\\.md$",
"Gemfile.lock$",
"assets/css/rougehl.css$",
"_includes/wiki/arch-makepkg-commands.txt",
"_includes/wiki/arch-regen-commands.txt"
]
}
10 changes: 10 additions & 0 deletions site/_includes/wiki/arch-install-steps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% assign ramdiskUpdateCommand = include.ramdisk_update_command | default: "mkinitcpio -P" %}
{% assign elevateCommand = include.elevate_command | default: "sudo" %}
{% assign includeMakepkgSteps = include.makepkg | default: false %}

```sh
{% if includeMakepkgSteps -%}
{% include wiki/arch-makepkg-commands.txt %}
{%- endif -%}
{% include wiki/arch-regen-commands.txt -%}
```
7 changes: 7 additions & 0 deletions site/_includes/wiki/arch-makepkg-commands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Downloads the pkgbuild from the AUR.
git clone https://aur.archlinux.org/opentabletdriver.git
# Changes into the correct directory, pulls needed dependencies, then installs OpenTabletDriver
cd opentabletdriver && makepkg -si
# Clean up leftovers
cd ..
rm -rf opentabletdriver
5 changes: 5 additions & 0 deletions site/_includes/wiki/arch-regen-commands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Regenerate initramfs
{{ elevateCommand }} {{ ramdiskUpdateCommand }}
# Unload kernel modules
{{ elevateCommand }} rmmod wacom
{{ elevateCommand }} rmmod hid_uclogic
41 changes: 20 additions & 21 deletions site/_wiki/Install/Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,24 @@ If you're experiencing `libhostfxr` issues, please see the solutions from Micros

4. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

## EndeavoursOS {#endeavouros}

While EndeavourOS is based on Arch Linux, it uses a different initramfs
generator compared to standard Arch Linux, which means the post-install setup is different.

1. Install the `opentabletdriver` AUR package with either the GUI package utility, Pamac,
or the command-line utility, `yay`

```sh
yay -S opentabletdriver
```

2. Then, run the following commands in a terminal

{% include wiki/arch-install-steps.md ramdisk_update_command="dracut-rebuild" %}

Then refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

## Arch Linux {#arch}

You can install OpenTabletDriver from the AUR. There are two ways to do this.
Expand All @@ -78,32 +96,13 @@ Then refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instru
1. Use an [AUR helper](https://wiki.archlinux.org/title/AUR_helpers) to install the `opentabletdriver` AUR package.
2. Run the following commands in a terminal

```sh
# Regenerate initramfs
sudo mkinitcpio -P
# Unload kernel modules
sudo rmmod wacom
sudo rmmod hid_uclogic
```
{% include wiki/arch-install-steps.md %}

### `makepkg` method {#manual-makepkg-method}

1. Run the following commands in a terminal

```sh
# Downloads the pkgbuild from the AUR.
git clone https://aur.archlinux.org/opentabletdriver.git
# Changes into the correct directory, pulls needed dependencies, then installs OpenTabletDriver
cd opentabletdriver && makepkg -si
# Clean up leftovers
cd ..
rm -rf opentabletdriver
# Regenerate initramfs
sudo mkinitcpio -P
# Unload kernel modules
sudo rmmod wacom
sudo rmmod hid_uclogic
```
{% include wiki/arch-install-steps.md makepkg=true %}

## Gentoo {#gentoo}

Expand Down
Loading