/etc/superkbrc is in superkb 0.23-2.
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 | #FEEDBACK_HANDLER: Command to execute after launching any bound key. It will
# get appended the last parameter of a KEY COMMAND or KEY DOCUMENT with a
# space in between. The space is the reason for the backslash.
#
#Default value: none
#
FEEDBACK_HANDLER "notify-send --urgency normal -t 2000 --icon='gtk-info' 'Superkb Launching'\"
#WELCOME_CMD: Command to execute on Superkb start. It was intended to send a
# fixed welcome message on start, configured on /etc/superkbrc, but the user
# may override it with any other command, including an empty string.
#
#Example vlaues:
# WELCOME_CMD "notify-send 'Welcome to Superkb'"
# WELCOME_CMD "touch ~/.superkb-start-time"
# WELCOME_CMD ""
#
#Default value: "xmessage -buttons '' -center -timeout 5 Welcome to Superkb! To start, hold down any of your configured Super keys."
#
WELCOME_CMD "notify-send --urgency normal -t 2000 --icon='gtk-info' 'Superkb is ready!'"
#DELAY: Time (in seconds) the Super key must be pressed before showing
# the on-screen hints.
#
#Example vlaues:
# DELAY 0.5
# DELAY 1
#
#Default value: 0.5
#
#DELAY 0.5
#DRAWKB_PAINTING_MODE: Selects the key shape mode to be used when painting
# the keyboard.
#
#Possible values:
# FULL_SHAPE = Draws all the available outlines, simulating the full physical
# key.
# BASE_OUTLINE_ONLY = Draws a hollow base outline using the foreground color.
# FLAT_KEY = Draws a filled dark base outline.
#
#Default value: FULL_SHAPE
DRAWKB_PAINTING_MODE FLAT_KEY
#SUPERKEY_REPLAY: Allows the Super key to be forwarded to the current window
# if it was pressed and released before the delay and if no action key was
# pressed.
#
#Possible values:
# 1 = Enables Super key replaying to the current window.
# 0 = Disables this behavior. Superkb steals the Super key for itself only.
#
#Default: 1
#
#SUPERKEY_REPLAY 1
#SUPERKEY1_STRING and SUPERKEY1_CODE: Specify what the first Super key is to be.
# This is useful in laptops like the Thinkpad where there isn't a Windows key.
#
#Example values:
# SUPERKEY1_STRING F8
# SUPERKEY1_STRING Super_L
# SUPERKEY1_CODE 233
#
#Default value: Super_L
#
#SUPERKEY1_STRING Super_L
#SUPERKEY2_STRING and SUPERKEY2_CODE: Specify what the second Super key is to
#be.
#
#Example values:
# SUPERKEY2_STRING F8
# SUPERKEY2_STRING Super_R
# SUPERKEY2_CODE 233
#
#Default value: Super_R
#
#SUPERKEY2_STRING Super_R
#SUPERKEY_RELEASE_CANCELS: Cancels whatever action is to be performed if the
# Super key is released before the bound key.
#
#Possible values:
# 0 = Actions will be done even if the Super key is released before the bound
# key.
# 1 = Releasing Super key will force ignoring of currently pressed bound keys.
#
#Default value: 0
#
#SUPERKEY_RELEASE_CANCELS 0
#You can use either Cairo or Xlib for drawing the keyboard. This is controlled
#with DRAWKBLIB.
#
#You should change it if not using Cairo.
#
#Possible values:
# cairo
# xlib
#
#Default value: cairo
DRAWKBLIB cairo
#Don't use the following unless you didn't include Cairo.
#
#FONT "-*-bitstream vera sans-bold-r-*-*-*-*-*-*-*-*-*-*"
#IMAGELIB imlib2
#BACKGROUND, FOREGROUND: Set the colors to use when drawing the keyboard.
#
#Syntax:
# FOREGROUND red_value green_value blue_value
# BACKGROUND red_value green_value blue_value
#
#The red, green and blue values can either be in the range 0 to 255, or
# 0 to 65535.
#
#Example values:
# FOREGROUND 255 255 255
# BACKGROUND 23 110 38
#
#Default values:
# BACKGROUND 40 40 40
# FOREGROUND 220 220 220
#FEEDBACK_STRINGS_AUTOQUOTE: Enable or disable single-quoting around feedback
#strings.
#
#The feedback string is the 6th parameter in KEY COMMAND. The string is simply
#appended to the FEEDBACK_HANDLER string and the result is run to generate the
#feedback announcement upon program launching.
#
#Previously it was needed to single quote multiple-word strings inside the
#double quotes "'like this'" in order to pass it as a single parameter to the
#shell. However, this behavior changed with FEEDBACK_STRINGS_AUTOQUOTE, which
#defaults to 1. Single quotes are automatically added (if not already there)
#and can be turned off by setting this value to 0.
#
#This value affects the rest of the configuration file and thus must be present
#before any KEY directive disired to be affected.
#
#Example values:
# FEEDBACK_STRINGS_AUTOQUOTE 1
# FEEDBACK_STRINGS_AUTOQUOTE 0
#
#Default value:
# FEEDBACK_STRINGS_AUTOQUOTE 1
#Icons files are really not that up to date.
KEY COMMAND "Home" 0 "xdg-open $HOME" /usr/share/icons/Tango/32x32/places/user-home.png "Home folder"
KEY COMMAND "l" 0 "xdg-screensaver lock" /usr/share/icons/Tango/32x32/actions/system-lock-screen.png "Screen locker"
KEY COMMAND "F9" 0 "xdg-open http://www.debian.org/" /usr/share/icons/Tango/32x32/apps/internet-web-browser.png "Internet browser"
#Sample KEY DOCUMENT usage:
#KEY DOCUMENT "w" 0 ~/weekly-plan.odt /usr/share/icons/gnome/48x48/status/appointment-soon.png "Weekly plan"
#Other key bindings should go into $HOME/.superkbrc using the same syntax as in here.
|