summarylogtreecommitdiffstats
path: root/notes.install
diff options
context:
space:
mode:
Diffstat (limited to 'notes.install')
-rw-r--r--notes.install53
1 files changed, 19 insertions, 34 deletions
diff --git a/notes.install b/notes.install
index 950aef3cffff..c68a0ae63768 100644
--- a/notes.install
+++ b/notes.install
@@ -11,52 +11,25 @@ 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 "A systemd user service is also provided and can be used instead, assuming you have a correct systemd user graphical-session.target set up:"
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 "You will have to manually unload built-in kernel modules (or reboot) in order for this driver to work properly."
echo "To unload the module immediately, run:"
echo -e " # ${GREEN}rmmod <module>${RESET}"
+ echo "Where <module> is 'wacom' if you own a wacom tablet, and 'hid_uclogic' otherwise."
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
-}
-
-
-msg_upgrade_starting() {
- if [ $(vercmp $1 'v0.4.2.r282.g4372321-2') -gt -1 ]
- then
- return 0
- fi
-
- echo "The method of starting the daemon has changed since your previous version of OpenTabletDriver."
- msg_starting
-}
-
-msg_upgrade_systemd() {
- if [ $(vercmp $1 'v0.5.0.r63.g309e422-2') -gt -1 ]
- then
- return 0
- fi
-
- echo "OpenTabletDriver's systemd user service has been updated since your previous version"
- echo "To make systemd aware of this and apply changes immediately, please run the following commands:"
- echo -e "${GREEN}systemctl --user daemon-reload"
- echo "systemctl --user reenable opentabletdriver.service"
- echo -e "systemctl --user restart opentabletdriver.service${RESET}"
+ echo -e "As of version 0.6.2.0, having the package installed will ${BOLD}block${RESET} any modules related to drawing tablets"
+ echo -e "In the case that you still have issues after following these instructions, the FAQ at ${GREEN}https://opentabletdriver.net/Wiki/FAQ/Linux${RESET} may help."
echo
}
-
post_install() {
echo
echo -e "${BOLD}Welcome to OpenTabletDriver!${RESET}"
@@ -69,6 +42,18 @@ post_install() {
}
post_upgrade() {
- msg_upgrade_starting $2
- msg_upgrade_systemd $2
+ echo -e "${BOLD}Mismatching OpenTabletDriver versions between GUI and daemon isn't supported${RESET}"
+ echo -e "Restart your daemon with ${GREEN}systemctl --user restart opentabletdriver${RESET}"
+ echo
+ if [ $(vercmp $2 0.6.0-1) -lt 0 ]; then
+ echo -e "${BOLD}The plugin API and tablet configuration format has changed in OpenTabletDriver 0.6${RESET}"
+ echo -e "You may want to clear the contents of the ${GREEN}Plugins/${RESET} and ${GREEN}Configurations/${RESET} folder in ${GREEN}~/.config/OpenTabletDriver/${RESET}"
+ echo
+ fi
+ if [ $(vercmp $2 0.7.0.0pre) -lt 0 ]; then
+ echo -e "${BOLD}The plugin API and tablet configuration format has again changed in OpenTabletDriver 0.7${RESET}"
+ echo -e "You may want to clear the contents of the ${GREEN}Plugins/${RESET} and ${GREEN}Configurations/${RESET} folder in ${GREEN}~/.config/OpenTabletDriver/${RESET}"
+ echo
+ fi
+ msg_faq
}