freebsd-ports/deskutils/tpb/files/patch-src-cfg.h
Markus Brueffer cb49cc5d83 Add tpb 0.6.3, An On-Screen-Display for hotkeys of IBM ThinkPads and the first
consumer of the updated acpi_ibm(4) driver:

With TPB it is possible to bind a program to the ThinkPad, Mail, Home and
Search button. TPB can also run a callback program on each state change with
the changed state and the new state as options. So it is possible to trigger
several actions on different events.

TPB has an on-screen display (OSD) to show volume, mute, brightness and some
other information. Furthermore TPB supports a software mixer, as the R series
ThinkPads have no hardware mixer to change the volume.

WWW: http://www.nongnu.org/tpb/
2005-06-09 22:56:12 +00:00

11 lines
349 B
C

--- src/cfg.h.orig Mon May 30 00:06:16 2005
+++ src/cfg.h Mon May 30 00:06:32 2005
@@ -67,7 +67,7 @@
#ifdef SYSCONFDIR
#define GLOBAL_CONFIG_FILE SYSCONFDIR "/tpbrc"
#else /* SYSCONFDIR */
-#define GLOBAL_CONFIG_FILE "/etc/tpbrc"
+#define GLOBAL_CONFIG_FILE "%%PREFIX%%/etc/tpbrc"
#endif /* SYSCONFDIR */
#define PRIVATE_CONFIG_FILE ".tpbrc"