Files
ports/accessibility/onboard/files/patch-Onboard_Config.py
T
Olivier Duchateau 42e120f87d accessibility/onboard: new port
Add accessibility/onboard

On-screen Keyboard with macros, easy layout creation and word suggestion.
This on-screen keyboard can be useful for tablet PC users, as well as
for mobility impaired users.

Apply patch from Yusuf Yaman <nxjoseph@freebsd.org>:
I have encountered a problem when trying to launch onboard-settings from
the app itself and it had been solved by the diff below:

Pet portlint and portclippy (truckman)

PR:		291496
2026-03-23 00:41:51 -07:00

14 lines
516 B
Python

--- Onboard/Config.py.orig 2025-07-03 16:13:44 UTC
+++ Onboard/Config.py
@@ -106,8 +106,8 @@ START_ONBOARD_XEMBED_COMMAND = "onboard --xid"
START_ONBOARD_XEMBED_COMMAND = "onboard --xid"
-INSTALL_DIR = "/usr/share/onboard"
-LOCAL_INSTALL_DIR = "/usr/local/share/onboard"
+INSTALL_DIR = "%%LOCALBASE%%/share/onboard"
+LOCAL_INSTALL_DIR = "%%LOCALBASE%%/share/onboard"
USER_DIR = "onboard"
SYSTEM_DEFAULTS_FILENAME = "onboard-defaults.conf"