summarylogtreecommitdiffstats
path: root/notes.install
diff options
context:
space:
mode:
authorLavaDesu2021-06-10 20:19:18 +0700
committerLavaDesu2021-06-10 20:33:09 +0700
commitf0ed03944bd0c7f79dfa676287c63466fe9bb2d9 (patch)
treefec1be0f23d571b6b636c960bb988f6929bb1917 /notes.install
downloadaur-f0ed03944bd0c7f79dfa676287c63466fe9bb2d9.tar.gz
Init
Diffstat (limited to 'notes.install')
-rw-r--r--notes.install43
1 files changed, 43 insertions, 0 deletions
diff --git a/notes.install b/notes.install
new file mode 100644
index 000000000000..a530b9b1cf51
--- /dev/null
+++ b/notes.install
@@ -0,0 +1,43 @@
+BOLD='\033[1m'
+GREEN='\033[32m'
+RESET='\033[0m'
+
+msg_replug() {
+ echo -e "${BOLD}${GREEN}Replug${RESET} your tablet if it is connected. This will re-trigger the udev rules accordingly."
+ echo
+}
+
+msg_starting() {
+ echo "The daemon can be started with:"
+ echo -e " $ ${GREEN}otd${RESET}"
+ echo "You can fork it to the background and use output redirection to a log file if desired."
+ echo "A systemd user service is also provided and can be used instead:"
+ echo -e " $ ${GREEN}systemctl --user enable --now opentabletdriver.service${RESET}"
+ echo
+}
+
+msg_modules() {
+ echo "You will have to manually disable built-in kernel modules in order for this driver to work properly."
+ echo -e "This can be done by blacklisting the kernel module by creating a file in ${GREEN}/etc/modprobe.d/blacklist.conf${RESET} with a single line:"
+ echo -e " ${GREEN}blacklist <module>${RESET}"
+ echo "Where <module> is 'wacom' if you own a wacom tablet, and 'hid_uclogic' otherwise."
+ echo "To unload the module immediately, run:"
+ echo -e " # ${GREEN}rmmod <module>${RESET}"
+ echo
+}
+
+msg_faq() {
+ echo -e "In the case that you still have issues after following these instructions, the FAQ at ${GREEN}https://github.com/InfinityGhost/OpenTabletDriver/wiki/Linux-FAQ${RESET} may help."
+ echo
+}
+
+post_install() {
+ echo
+ echo -e "${BOLD}Welcome to OpenTabletDriver!${RESET}"
+ echo "In order to start using this driver, there are certain things that have to be configured manually."
+ echo
+ msg_replug
+ msg_starting
+ msg_modules
+ msg_faq
+}