/etc/tpbrc is in tpb 0.6.4-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | #### TPB CONFIGURATION FILE
### DEVICE SETTINGS
## NVRAM
# Should define the nvram device from where the information about the key
# states is read. Default is to try /dev/nvram, followed by /dev/misc/nvram.
#
#NVRAM /dev/nvram
## POLLTIME
# Defines the delay between polls in microseconds. Default is 200000.
#
#POLLTIME 200000
### KEYBINDINGS AND CALLBACK
## THINKPAD
# String with command and options that should be executed when ThinkPad
# button is pressed. It is possible to execute any program.
# By default no command is executed.
#
#THINKPAD /usr/bin/X11/xterm -T ntpctl -e ntpctl
## HOME
# String with command and options that should be executed when Home button is
# pressed (only available on A and S series). By default no command is executed.
#
#HOME /usr/bin/mozilla
## SEARCH
# String with command and options that should be executed when Search button is
# pressed (only available on A and S series). By default no command is executed.
#
#SEARCH /usr/bin/mozilla http://www.google.com
## MAIL
# String with command and options that should be executed when Mail button is
# pressed(only available on A and S series). By default no command is executed.
#
#MAIL /usr/bin/X11/xterm -T mutt -geometry 140x40 -e mutt
## WIRELESS
# String with command and options that should be executed when Wireless button is
# pressed(only available on A and S series). By default no command is executed.
#
#WIRELESS /usr/bin/X11/xterm -T wavemon -geometry 140x40 -e wavemon
## FAVORITES
# String with command and options that should be executed when Favorites button is
# pressed (only available on A series). By default no command is executed.
#
#FAVORITES
## RELOAD
# String with command and options that should be executed when Reload button is
# pressed (only available on A series). By default no command is executed.
#
#RELOAD
## ABORT
# String with command and options that should be executed when Abort button is
# pressed (only available on A series). By default no command is executed.
#
#ABORT
## BACKWARD
# String with command and options that should be executed when Backward button is
# pressed (only available on A series). By default no command is executed.
#
#BACKWARD
## FORWARD
# String with command and options that should be executed when Forward button is
# pressed (only available on A series). By default no command is executed.
#
#FORWARD
## FN
# String with command and options that should be executed when Fn button is
# pressed. This is only triggered, when Fn is released again and it was not used for
# a key combination.By default no command is executed.
#
#FN
## CALLBACK
# String with command and options that should be executed each button press and
# state change. tpb passes an identifier as first argument and the new state as
# second argument to the callback. So you can do fancy things :) By default no
# command is executed. Supported identifiers and states are:
#
# IDENTIFIER STATES/VALUE
# thinkpad pressed
# home pressed
# search pressed
# mail pressed
# favorites pressed
# reload pressed
# abort pressed
# backward pressed
# forward pressed
# fn pressed
# zoom on, off
# thinklight on, off
# display lcd, crt, both
# expand on, off
# brightness PERCENT
# volume PERCENT
# mute on, off
# ac_power connected, disconnected
# powermgt_ac high, auto, manual
# powermgt_battery high, auto, manual
#
#CALLBACK /usr/share/doc/tpb/callback_example.sh
### MIXER SETTINGS
## MIXER
# Use OSS mixer to change volume and for mute/unmute. This should be use on
# models with no hardware mixer (volume and mute buttons show no effect). R31
# is reported to have no hardware mixer. To use this you must enable write
# access to the NVRAM device (possibly dangerous). Possible values are on and
# off. Default is off.
#
# MIXER OFF
## MIXERSTEPS
# Defines how much steps should be available when using the OSS mixer. Default
# is 14. If an other number of steps is used, tpb needs write access to the
# nvram device.
#
#MIXERSTEPS 14
## MIXERDEVICE
# Defines the mixer device to use for OSS mixer support. Default is /dev/mixer.
#
#MIXERDEVICE /dev/mixer
### POWERMANAGEMENT SETTINGS
## APM
# Some ThinkPads generate mouse and keyboard events or have a high CPU load when
# polling /proc/apm. You may enable this, if you want the AC connected/AC
# disconnected messages. Default is off.
#
#APM OFF
## POWERMGT
# The program apmiser (part of tpctl package) switches the power management
# mode according to the needs of the user. This results in lots of changes
# displayed in OSD. To avoid this, the power management messages can be turned
# off. Default is auto.
#
#POWERMGT AUTO
### X11 SETTINGS
## XEVENTS
# Some of the special keys generate X11 events instead of changing the nvram. TPB
# is able to grab those keys and run an application. However some people like to
# use the X11 events through xmodmap or the like. This option turns off the
# grabbing of the events. Affected keys are HOME, SEARCH, MAIL, FAVORITES,
# RELOAD, ABORT, BACKWARD, FORWARD and FN. Default is on.
#
#XEVENTS OFF
### ON-SCREEN DISPLAY SETTINGS
## OSD
# Global switch for showing on-screen display for volume, mute and brightness.
# Possible values are on and off. Default is on.
#
#OSD ON
## OSDZOOM
# Specific switch for showing on-screen display for zoom button.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDZOOM OFF
## OSDTHINKLIGHT
# Specific switch for showing on-screen display for thinklight button.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDTHINKLIGHT OFF
## OSDDISPLAY
# Specific switch for showing on-screen display for display output button.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDDISPLAY OFF
## OSDHVEXPANSIOFF
# Specific switch for showing on-screen display for HV expansion button.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDHVEXPANSION OFF
## OSDBRIGHTNESS
# Specific switch for showing on-screen display for brightness buttons.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDBRIGHTNESS OFF
## OSDVOLUME
# Specific switch for showing on-screen display for ivolume and mute buttons.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDVOLUME OFF
## OSDPOWERMGT
# Specific switch for showing on-screen display for ipower management changes.
# Possible values are on and off. Default is unset, follows the OSD option.
#
#OSDPOWERMGT OFF
## OSDFONT
# Defines the font for the on-screen display. You may use "xfontsel" to choose
# one. Default is the default font of the xosd library.
#
#OSDFONT -*-lucidatypewriter-*-*-*-*-*-240-*-*-*-*-*-*
## OSDCOLOR
# Defines the color of the on-screen display. You may use "xcolors" to choose
# one. Default is BLUE.
#
#OSDCOLOR Blue
## OSDTIMEOUT
# Defines how long (in seconds) the on-screen display is shown after the last
# keys was pressed. Default is 3.
#
#OSDTIMEOUT 3
## OSDOFFSET
# For backward compatibility. Same as OSDVERTICAL.
#
#OSDOFFSET 25
## OSDSHADOW
# Defines the offset of the font shadow in pixels. Default is 2.
#
#OSDSHADOW 2
## OSDSHADOWCOLOR
# Defines the color of the shadow of the on-screen display. You may use
# "xcolors" to choose one. Default is BLACK.
#
#OSDSHADOWCOLOR BLACK
## OSDOUTLINE
# Defines the width of the font outline in pixels. Default is 1.
#
#OSDOUTLINE 1
## OSDOUTLINECOLOR
# Defines the color of the outline of the on-screen display. You may use
# "xcolors" to choose one. Default is BLACK.
#
#OSDOUTLINECOLOR BLACK
## OSDVERTICAL
# Defines the offset from the top or bottom of the screen in pixels. Default is 25.
#
#OSDVERTICAL 25
## OSDHORIZONTAL
# Defines the offset from the left or right of the screen in pixels. Only
# supported by xosd 2.0.0 and above. Default is 25.
#
#OSDHORIZONTAL 25
## OSDPOS
# Defines where the osd is shown. Possible values are top, middle and bottom.
# The value middle is only supported by xosd 2.0.0 and above. Default is bottom.
#
#OSDPOS BOTTOM
## OSDALIGN
# Defines the alignment of the osd. Possible values are left, center and right.
# Default is left.
#
#OSDALIGN LEFT
|