Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 1 | .\" shorthand for double quote that works everywhere. |
| 2 | .ds q \N'34' |
| 3 | .TH weston.ini 5 "2013-01-17" "Weston __version__" |
| 4 | .SH NAME |
| 5 | weston.ini \- configuration file for |
| 6 | .B Weston |
| 7 | \- the reference Wayland |
| 8 | compositor |
| 9 | .SH INTRODUCTION |
| 10 | .B Weston |
| 11 | obtains configuration from its command line parameters and the configuration |
| 12 | file described here. |
| 13 | .SH DESCRIPTION |
| 14 | .B Weston |
| 15 | uses a configuration file called |
| 16 | .I weston.ini |
| 17 | for its setup. |
| 18 | The |
| 19 | .I weston.ini |
| 20 | configuration file is searched for in one of the following places when the |
| 21 | server is started: |
| 22 | .PP |
| 23 | .RS 4 |
| 24 | .nf |
| 25 | .BR "$XDG_CONFIG_HOME/weston.ini " "(if $XDG_CONFIG_HOME is set)" |
| 26 | .BR "$HOME/.config/weston.ini " "(if $HOME is set)" |
Ossama Othman | a50e6e4 | 2013-05-14 09:48:26 -0700 | [diff] [blame] | 27 | .B "weston/weston.ini in each" |
| 28 | .BR "\ \ \ \ $XDG_CONFIG_DIR " "(if $XDG_CONFIG_DIRS is set)" |
| 29 | .BR "/etc/xdg/weston/weston.ini " "(if $XDG_CONFIG_DIRS is not set)" |
| 30 | .BR "<current dir>/weston.ini " "(if no variables were set)" |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 31 | .fi |
| 32 | .RE |
| 33 | .PP |
| 34 | where environment variable |
| 35 | .B $HOME |
| 36 | is the user's home directory, and |
| 37 | .B $XDG_CONFIG_HOME |
Ossama Othman | a50e6e4 | 2013-05-14 09:48:26 -0700 | [diff] [blame] | 38 | is the user specific configuration directory, and |
| 39 | .B $XDG_CONFIG_DIRS |
| 40 | is a colon |
| 41 | .B ':' |
| 42 | delimited listed of configuration base directories, such as |
| 43 | .BR /etc/xdg-foo:/etc/xdg . |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 44 | .PP |
| 45 | The |
| 46 | .I weston.ini |
| 47 | file is composed of a number of sections which may be present in any order, or |
| 48 | omitted to use default configuration values. Each section has the form: |
| 49 | .PP |
| 50 | .RS 4 |
| 51 | .nf |
| 52 | .BI [ SectionHeader ] |
| 53 | .RI Key1=Value1 |
| 54 | .RI Key2=Value2 |
| 55 | ... |
| 56 | .fi |
| 57 | .RE |
| 58 | .PP |
| 59 | The spaces are significant. |
| 60 | Comment lines are ignored: |
| 61 | .PP |
| 62 | .RS 4 |
| 63 | .nf |
| 64 | .IR "#comment" |
| 65 | .fi |
| 66 | .RE |
| 67 | .PP |
| 68 | The section headers are: |
| 69 | .PP |
| 70 | .RS 4 |
| 71 | .nf |
Frederic Plourde | 4a84c83 | 2014-10-30 15:06:34 -0400 | [diff] [blame] | 72 | .BR "core " "The core modules and options" |
Jonas Ådahl | d3d128e | 2014-08-19 21:56:12 +0200 | [diff] [blame] | 73 | .BR "libinput " "Input device configuration" |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 74 | .BR "shell " "Desktop customization" |
| 75 | .BR "launcher " "Add launcher to the panel" |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 76 | .BR "output " "Output configuration" |
| 77 | .BR "input-method " "Onscreen keyboard input" |
| 78 | .BR "keyboard " "Keyboard layouts" |
| 79 | .BR "terminal " "Terminal application options" |
Maksim Melnikau | 92de144 | 2013-08-14 22:33:10 +0300 | [diff] [blame] | 80 | .BR "xwayland " "XWayland options" |
Andrew Wedgbury | c34b677 | 2014-06-26 16:31:43 +0100 | [diff] [blame] | 81 | .BR "screen-share " "Screen sharing options" |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 82 | .fi |
| 83 | .RE |
| 84 | .PP |
| 85 | Possible value types are string, signed and unsigned 32-bit |
| 86 | integer, and boolean. Strings must not be quoted, do not support any |
| 87 | escape sequences, and run till the end of the line. Integers can |
| 88 | be given in decimal (e.g. 123), octal (e.g. 0173), and hexadecimal |
| 89 | (e.g. 0x7b) form. Boolean values can be only 'true' or 'false'. |
| 90 | .RE |
| 91 | .SH "CORE SECTION" |
| 92 | The |
| 93 | .B core |
Frederic Plourde | 4a84c83 | 2014-10-30 15:06:34 -0400 | [diff] [blame] | 94 | section is used to select the startup compositor modules and general options. |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 95 | .TP 7 |
Nobuhiko Tanibata | 8841917 | 2014-02-10 12:15:11 +0900 | [diff] [blame] | 96 | .BI "shell=" desktop-shell.so |
| 97 | specifies a shell to load (string). This can be used to load your own |
| 98 | implemented shell or one with Weston as default. Available shells |
| 99 | in the |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 100 | .IR "__weston_modules_dir__" |
| 101 | directory are: |
| 102 | .PP |
| 103 | .RS 10 |
| 104 | .nf |
| 105 | .BR desktop-shell.so |
Nobuhiko Tanibata | 8841917 | 2014-02-10 12:15:11 +0900 | [diff] [blame] | 106 | .fi |
| 107 | .RE |
| 108 | .TP 7 |
Quentin Glidic | 6d3887b | 2016-07-04 14:34:48 +0200 | [diff] [blame] | 109 | .BI "xwayland=" true |
| 110 | ask Weston to load the XWayland module (boolean). |
| 111 | .RE |
| 112 | .TP 7 |
| 113 | .BI "modules=" cms-colord.so,screen-share.so |
Nobuhiko Tanibata | 8841917 | 2014-02-10 12:15:11 +0900 | [diff] [blame] | 114 | specifies the modules to load (string). Available modules in the |
| 115 | .IR "__weston_modules_dir__" |
| 116 | directory are: |
| 117 | .PP |
| 118 | .RS 10 |
| 119 | .nf |
Nobuhiko Tanibata | 8841917 | 2014-02-10 12:15:11 +0900 | [diff] [blame] | 120 | .BR cms-colord.so |
Andrew Wedgbury | c34b677 | 2014-06-26 16:31:43 +0100 | [diff] [blame] | 121 | .BR screen-share.so |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 122 | .fi |
| 123 | .RE |
Kristian Høgsberg | 8e6f376 | 2013-10-16 16:31:42 -0700 | [diff] [blame] | 124 | .TP 7 |
Lubomir Rintel | ba44c6b | 2013-11-15 14:18:15 +0100 | [diff] [blame] | 125 | .BI "backend=" headless-backend.so |
| 126 | overrides defaults backend. Available backend modules in the |
| 127 | .IR "__weston_modules_dir__" |
| 128 | directory are: |
| 129 | .PP |
| 130 | .RS 10 |
| 131 | .nf |
| 132 | .BR drm-backend.so |
| 133 | .BR fbdev-backend.so |
| 134 | .BR headless-backend.so |
| 135 | .BR rdp-backend.so |
Lubomir Rintel | ba44c6b | 2013-11-15 14:18:15 +0100 | [diff] [blame] | 136 | .BR wayland-backend.so |
| 137 | .BR x11-backend.so |
| 138 | .fi |
| 139 | .RE |
Frederic Plourde | 4b53f63 | 2014-10-23 22:40:03 -0400 | [diff] [blame] | 140 | .TP 7 |
Pekka Paalanen | 0513a95 | 2014-05-21 16:17:27 +0300 | [diff] [blame] | 141 | .BI "repaint-window=" N |
| 142 | Set the approximate length of the repaint window in milliseconds. The repaint |
| 143 | window is used to control and reduce the output latency for clients. If the |
| 144 | window is longer than the output refresh period, the repaint will be done |
| 145 | immediately when the previous repaint finishes, not processing client requests |
| 146 | in between. If the repaint window is too short, the compositor may miss the |
| 147 | target vertical blank, increasing output latency. The default value is 7 |
| 148 | milliseconds. The allowed range is from -10 to 1000 milliseconds. Using a |
| 149 | negative value will force the compositor to always miss the target vblank. |
| 150 | .TP 7 |
Kristian Høgsberg | 8e6f376 | 2013-10-16 16:31:42 -0700 | [diff] [blame] | 151 | .BI "gbm-format="format |
| 152 | sets the GBM format used for the framebuffer for the GBM backend. Can be |
| 153 | .B xrgb8888, |
| 154 | .B xrgb2101010, |
| 155 | .B rgb565. |
| 156 | By default, xrgb8888 is used. |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 157 | .RS |
| 158 | .PP |
Frederic Plourde | 4a84c83 | 2014-10-30 15:06:34 -0400 | [diff] [blame] | 159 | .RE |
| 160 | .TP 7 |
| 161 | .BI "idle-time="seconds |
| 162 | sets Weston's idle timeout in seconds. This idle timeout is the time |
| 163 | after which Weston will enter an "inactive" mode and screen will fade to |
Pekka Paalanen | b37ac40 | 2015-06-16 13:56:57 +0300 | [diff] [blame] | 164 | black. A value of 0 disables the timeout. |
Frederic Plourde | 4a84c83 | 2014-10-30 15:06:34 -0400 | [diff] [blame] | 165 | |
| 166 | .IR Important |
| 167 | : This option may also be set via Weston's '-i' command |
| 168 | line option and will take precedence over the current .ini option. This |
| 169 | means that if both weston.ini and command line define this idle-timeout |
| 170 | time, the one specified in the command-line will be used. On the other |
| 171 | hand, if none of these sets the value, default idle timeout will be |
| 172 | set to 300 seconds. |
| 173 | .RS |
Daniel Díaz | 75b7197 | 2016-10-21 14:03:13 -0500 | [diff] [blame] | 174 | .PP |
| 175 | .RE |
| 176 | .TP 7 |
| 177 | .BI "require-input=" true |
| 178 | require an input device for launch |
Pekka Paalanen | 65e57c9 | 2017-03-13 15:25:42 +0200 | [diff] [blame] | 179 | .TP 7 |
| 180 | .BI "pageflip-timeout="milliseconds |
| 181 | sets Weston's pageflip timeout in milliseconds. This sets a timer to exit |
| 182 | gracefully with a log message and an exit code of 1 in case the DRM driver is |
| 183 | non-responsive. Setting it to 0 disables this feature. |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 184 | |
Jonas Ådahl | d3d128e | 2014-08-19 21:56:12 +0200 | [diff] [blame] | 185 | .SH "LIBINPUT SECTION" |
| 186 | The |
| 187 | .B libinput |
| 188 | section is used to configure input devices when using the libinput input device |
| 189 | backend. |
| 190 | .PP |
| 191 | Available configuration are: |
| 192 | .TP 7 |
| 193 | .BI "enable_tap=" true |
| 194 | enables tap to click on touchpad devices |
| 195 | .RS |
| 196 | .PP |
| 197 | |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 198 | .SH "SHELL SECTION" |
| 199 | The |
| 200 | .B shell |
| 201 | section is used to customize the compositor. Some keys may not be handled by |
| 202 | different shell plugins. |
| 203 | .PP |
| 204 | The entries that can appear in this section are: |
| 205 | .TP 7 |
Emilio Pozuelo Monfort | 46ce798 | 2013-11-20 13:22:29 +0100 | [diff] [blame] | 206 | .BI "client=" file |
| 207 | sets the path for the shell client to run. If not specified |
Emilio Pozuelo Monfort | 8a81b83 | 2013-12-02 12:53:32 +0100 | [diff] [blame] | 208 | .I __weston_shell_client__ |
| 209 | is launched (string). |
Emilio Pozuelo Monfort | 46ce798 | 2013-11-20 13:22:29 +0100 | [diff] [blame] | 210 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 211 | .BI "background-image=" file |
| 212 | sets the path for the background image file (string). |
| 213 | .TP 7 |
Emilio Pozuelo Monfort | f12a094 | 2013-04-22 11:00:07 +0200 | [diff] [blame] | 214 | .BI "background-type=" tile |
Pekka Paalanen | a402b05 | 2013-05-22 18:03:10 +0300 | [diff] [blame] | 215 | determines how the background image is drawn (string). Can be |
| 216 | .BR scale ", " scale-crop " or " tile " (default)." |
| 217 | Scale means scaled to fit the output precisely, not preserving aspect ratio. |
| 218 | Scale-crop preserves aspect ratio, scales the background image just big |
| 219 | enough to cover the output, and centers it. The image ends up cropped from |
| 220 | left and right, or top and bottom, if the aspect ratio does not match the |
| 221 | output. Tile repeats the background image to fill the output. |
Emilio Pozuelo Monfort | f12a094 | 2013-04-22 11:00:07 +0200 | [diff] [blame] | 222 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 223 | .BI "background-color=" 0xAARRGGBB |
| 224 | sets the color of the background (unsigned integer). The hexadecimal |
| 225 | digit pairs are in order alpha, red, green, and blue. |
| 226 | .TP 7 |
Armin Krezović | c6a55db | 2016-03-10 18:02:34 +0100 | [diff] [blame] | 227 | .BI "clock-format=" format |
| 228 | sets the panel clock format (string). Can be |
| 229 | .BR "none" "," |
| 230 | .BR "minutes" "," |
| 231 | .BR "seconds" "." |
| 232 | By default, minutes format is used. |
| 233 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 234 | .BI "panel-color=" 0xAARRGGBB |
| 235 | sets the color of the panel (unsigned integer). The hexadecimal |
| 236 | digit pairs are in order transparency, red, green, and blue. Examples: |
| 237 | .PP |
| 238 | .RS 10 |
| 239 | .nf |
| 240 | .BR "0xffff0000 " "Red" |
| 241 | .BR "0xff00ff00 " "Green" |
| 242 | .BR "0xff0000ff " "Blue" |
| 243 | .BR "0x00ffffff " "Fully transparent" |
| 244 | .fi |
| 245 | .RE |
| 246 | .TP 7 |
Quentin Glidic | 46ffea6 | 2017-01-04 19:15:47 +0100 | [diff] [blame] | 247 | .BI "panel-position=" top |
| 248 | sets the position of the panel (string). Can be |
Jonny Lamb | e67118c | 2014-08-12 15:07:51 +0200 | [diff] [blame] | 249 | .B top, |
Quentin Glidic | 46ffea6 | 2017-01-04 19:15:47 +0100 | [diff] [blame] | 250 | .B bottom, |
| 251 | .B left, |
| 252 | .B right, |
Jonny Lamb | e67118c | 2014-08-12 15:07:51 +0200 | [diff] [blame] | 253 | .B none. |
| 254 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 255 | .BI "locking=" true |
| 256 | enables screen locking (boolean). |
| 257 | .TP 7 |
| 258 | .BI "animation=" zoom |
| 259 | sets the effect used for opening new windows (string). Can be |
| 260 | .B zoom, |
Kristian Høgsberg | 724c8d9 | 2013-10-16 11:38:24 -0700 | [diff] [blame] | 261 | .B fade, |
| 262 | .B none. |
| 263 | By default, no animation is used. |
| 264 | .TP 7 |
Jonny Lamb | f322f8e | 2014-08-12 15:13:30 +0200 | [diff] [blame] | 265 | .BI "close-animation=" fade |
| 266 | sets the effect used when closing windows (string). Can be |
| 267 | .B fade, |
| 268 | .B none. |
| 269 | By default, the fade animation is used. |
| 270 | .TP 7 |
Kristian Høgsberg | 724c8d9 | 2013-10-16 11:38:24 -0700 | [diff] [blame] | 271 | .BI "startup-animation=" fade |
| 272 | sets the effect used for opening new windows (string). Can be |
| 273 | .B fade, |
| 274 | .B none. |
| 275 | By default, the fade animation is used. |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 276 | .TP 7 |
Emilio Pozuelo Monfort | bb835b4 | 2013-11-20 13:22:30 +0100 | [diff] [blame] | 277 | .BI "focus-animation=" dim-layer |
| 278 | sets the effect used with the focused and unfocused windows. Can be |
| 279 | .B dim-layer, |
| 280 | .B none. |
| 281 | By default, no animation is used. |
| 282 | .TP 7 |
Bob Ham | 744e653 | 2016-01-12 10:21:48 +0000 | [diff] [blame] | 283 | .BI "allow-zap=" true |
| 284 | whether the shell should quit when the Ctrl-Alt-Backspace key combination is |
| 285 | pressed |
| 286 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 287 | .BI "binding-modifier=" ctrl |
| 288 | sets the modifier key used for common bindings (string), such as moving |
| 289 | surfaces, resizing, rotating, switching, closing and setting the transparency |
| 290 | for windows, controlling the backlight and zooming the desktop. Possible values: |
Bob Ham | 553d124 | 2016-01-12 10:21:49 +0000 | [diff] [blame] | 291 | none, ctrl, alt, super (default) |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 292 | .TP 7 |
| 293 | .BI "num-workspaces=" 6 |
| 294 | defines the number of workspaces (unsigned integer). The user can switch |
| 295 | workspaces by using the |
| 296 | binding+F1, F2 keys. If this key is not set, fall back to one workspace. |
| 297 | .TP 7 |
Emilio Pozuelo Monfort | 57ac406 | 2013-03-14 17:23:38 +0100 | [diff] [blame] | 298 | .BI "cursor-theme=" theme |
| 299 | sets the cursor theme (string). |
| 300 | .TP 7 |
| 301 | .BI "cursor-size=" 24 |
| 302 | sets the cursor size (unsigned integer). |
| 303 | .TP 7 |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 304 | .BI "lockscreen-icon=" path |
| 305 | sets the path to lock screen icon image (string). (tablet shell only) |
| 306 | .TP 7 |
| 307 | .BI "lockscreen=" path |
| 308 | sets the path to lock screen background image (string). (tablet shell only) |
| 309 | .TP 7 |
| 310 | .BI "homescreen=" path |
| 311 | sets the path to home screen background image (string). (tablet shell only) |
| 312 | .RE |
| 313 | .SH "LAUNCHER SECTION" |
| 314 | There can be multiple launcher sections, one for each launcher. |
| 315 | .TP 7 |
| 316 | .BI "icon=" icon |
| 317 | sets the path to icon image (string). Svg images are not currently supported. |
| 318 | .TP 7 |
| 319 | .BI "path=" program |
| 320 | sets the path to the program that is run by clicking on this launcher (string). |
| 321 | It is possible to pass arguments and environment variables to the program. For |
| 322 | example: |
| 323 | .nf |
| 324 | .in +4n |
| 325 | |
| 326 | path=GDK_BACKEND=wayland gnome-terminal --full-screen |
| 327 | .in |
| 328 | .fi |
| 329 | .PP |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 330 | .SH "OUTPUT SECTION" |
| 331 | There can be multiple output sections, each corresponding to one output. It is |
| 332 | currently only recognized by the drm and x11 backends. |
| 333 | .TP 7 |
| 334 | .BI "name=" name |
| 335 | sets a name for the output (string). The backend uses the name to |
Jason Ekstrand | 48ce421 | 2013-10-27 22:25:02 -0500 | [diff] [blame] | 336 | identify the output. All X11 output names start with a letter X. All |
| 337 | Wayland output names start with the letters WL. The available |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 338 | output names for DRM backend are listed in the |
| 339 | .B "weston-launch(1)" |
| 340 | output. |
| 341 | Examples of usage: |
| 342 | .PP |
| 343 | .RS 10 |
| 344 | .nf |
| 345 | .BR "LVDS1 " "DRM backend, Laptop internal panel no.1" |
| 346 | .BR "VGA1 " "DRM backend, VGA connector no.1" |
| 347 | .BR "X1 " "X11 backend, X window no.1" |
Jason Ekstrand | 48ce421 | 2013-10-27 22:25:02 -0500 | [diff] [blame] | 348 | .BR "WL1 " "Wayland backend, Wayland window no.1" |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 349 | .fi |
| 350 | .RE |
| 351 | .RS |
| 352 | .PP |
| 353 | See |
| 354 | .B "weston-drm(7)" |
| 355 | for more details. |
| 356 | .RE |
| 357 | .TP 7 |
| 358 | .BI "mode=" mode |
| 359 | sets the output mode (string). The mode parameter is handled differently |
| 360 | depending on the backend. On the X11 backend, it just sets the WIDTHxHEIGHT of |
| 361 | the weston window. |
| 362 | The DRM backend accepts different modes: |
| 363 | .PP |
| 364 | .RS 10 |
| 365 | .nf |
| 366 | .BR "WIDTHxHEIGHT " "Resolution size width and height in pixels" |
| 367 | .BR "preferred " "Uses the preferred mode" |
| 368 | .BR "current " "Uses the current crt controller mode" |
| 369 | .BR "off " "Disables the output" |
| 370 | .fi |
| 371 | .RE |
| 372 | .RS |
| 373 | .PP |
Abdur Rehman | 999bc4e | 2017-01-01 19:46:37 +0500 | [diff] [blame] | 374 | Optionally, a user may specify a modeline, such as: |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 375 | .PP |
| 376 | .nf |
| 377 | .in +4n |
| 378 | .nf |
| 379 | 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync |
| 380 | .fi |
| 381 | .in |
| 382 | .PP |
| 383 | It consists of the refresh rate in Hz, horizontal and vertical resolution, |
| 384 | options for horizontal and vertical synchronisation. The program |
| 385 | .B "cvt(1)" |
| 386 | can provide suitable modeline string. |
| 387 | .RE |
| 388 | .TP 7 |
| 389 | .BI "transform=" normal |
| 390 | The transformation applied to screen output (string). The transform key can |
| 391 | be one of the following 8 strings: |
| 392 | .PP |
| 393 | .RS 10 |
| 394 | .nf |
| 395 | .BR "normal " "Normal output." |
| 396 | .BR "90 " "90 degrees clockwise." |
| 397 | .BR "180 " "Upside down." |
| 398 | .BR "270 " "90 degrees counter clockwise." |
| 399 | .BR "flipped " "Horizontally flipped" |
| 400 | .BR "flipped-90 " "Flipped and 90 degrees clockwise" |
| 401 | .BR "flipped-180 " "Flipped upside down" |
| 402 | .BR "flipped-270 " "Flipped and 90 degrees counter clockwise" |
| 403 | .fi |
| 404 | .RE |
Rob Bradford | 1449462 | 2013-06-25 18:56:43 +0100 | [diff] [blame] | 405 | .TP 7 |
Magnus Hoff | 33eb5ed | 2014-08-25 13:22:11 +0200 | [diff] [blame] | 406 | .BI "scale=" factor |
Yong Bakos | 425d9d9 | 2016-04-25 07:04:32 -0500 | [diff] [blame] | 407 | The scaling multiplier applied to the entire output, in support of high |
| 408 | resolution ("HiDPI" or "retina") displays, that roughly corresponds to the |
| 409 | pixel ratio of the display's physical resolution to the logical resolution. |
| 410 | Applications that do not support high resolution displays typically appear tiny |
| 411 | and unreadable. Weston will scale the output of such applications by this |
| 412 | multiplier, to make them readable. Applications that do support their own output |
| 413 | scaling can draw their content in high resolution, in which case they avoid |
| 414 | compositor scaling. Weston will not scale the output of such applications, and |
| 415 | they are not affected by this multiplier. |
Magnus Hoff | 33eb5ed | 2014-08-25 13:22:11 +0200 | [diff] [blame] | 416 | .RE |
| 417 | .RS |
| 418 | .PP |
Yong Bakos | 425d9d9 | 2016-04-25 07:04:32 -0500 | [diff] [blame] | 419 | An integer, 1 by default, typically configured as 2 or higher when needed, |
| 420 | denoting the scaling multiplier for the output. |
Magnus Hoff | 33eb5ed | 2014-08-25 13:22:11 +0200 | [diff] [blame] | 421 | .RE |
| 422 | .TP 7 |
Rob Bradford | 1449462 | 2013-06-25 18:56:43 +0100 | [diff] [blame] | 423 | .BI "seat=" name |
| 424 | The logical seat name that that this output should be associated with. If this |
| 425 | is set then the seat's input will be confined to the output that has the seat |
| 426 | set on it. The expectation is that this functionality will be used in a |
| 427 | multiheaded environment with a single compositor for multiple output and input |
| 428 | configurations. The default seat is called "default" and will always be |
| 429 | present. This seat can be constrained like any other. |
| 430 | .RE |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 431 | .SH "INPUT-METHOD SECTION" |
| 432 | .TP 7 |
| 433 | .BI "path=" "/usr/libexec/weston-keyboard" |
| 434 | sets the path of the on screen keyboard input method (string). |
| 435 | .RE |
| 436 | .RE |
| 437 | .SH "KEYBOARD SECTION" |
| 438 | This section contains the following keys: |
| 439 | .TP 7 |
| 440 | .BI "keymap_rules=" "evdev" |
| 441 | sets the keymap rules file (string). Used to map layout and model to input |
| 442 | device. |
| 443 | .RE |
| 444 | .RE |
| 445 | .TP 7 |
| 446 | .BI "keymap_model=" "pc105" |
| 447 | sets the keymap model (string). See the Models section in |
| 448 | .B "xkeyboard-config(7)." |
| 449 | .RE |
| 450 | .RE |
| 451 | .TP 7 |
| 452 | .BI "keymap_layout=" "us,de,gb" |
| 453 | sets the comma separated list of keyboard layout codes (string). See the |
| 454 | Layouts section in |
| 455 | .B "xkeyboard-config(7)." |
| 456 | .RE |
| 457 | .RE |
| 458 | .TP 7 |
| 459 | .BI "keymap_variant=" "euro,,intl" |
| 460 | sets the comma separated list of keyboard layout variants (string). The number |
| 461 | of variants must be the same as the number of layouts above. See the Layouts |
| 462 | section in |
| 463 | .B "xkeyboard-config(7)." |
| 464 | .RE |
| 465 | .RE |
| 466 | .TP 7 |
| 467 | .BI "keymap_options=" "grp:alt_shift_toggle,grp_led:scroll" |
| 468 | sets the keymap options (string). See the Options section in |
| 469 | .B "xkeyboard-config(7)." |
| 470 | .RE |
| 471 | .RE |
Jonny Lamb | 66a41a0 | 2014-08-12 14:58:25 +0200 | [diff] [blame] | 472 | .TP 7 |
| 473 | .BI "repeat-rate=" "40" |
| 474 | sets the rate of repeating keys in characters per second (unsigned integer) |
| 475 | .RE |
| 476 | .RE |
| 477 | .TP 7 |
| 478 | .BI "repeat-delay=" "400" |
| 479 | sets the delay in milliseconds since key down until repeating starts (unsigned |
| 480 | integer) |
| 481 | .RE |
| 482 | .RE |
Giulio Camuffo | de7e2b3 | 2014-08-28 19:44:10 +0300 | [diff] [blame] | 483 | .TP 7 |
| 484 | .BI "numlock-on=" "false" |
| 485 | sets the default state of the numlock on weston startup for the backends which |
| 486 | support it. |
| 487 | .RE |
| 488 | .RE |
Bob Ham | 91880f1 | 2016-01-12 10:21:47 +0000 | [diff] [blame] | 489 | .TP 7 |
| 490 | .BI "vt-switching=" "true" |
| 491 | Whether to allow the use of Ctrl+Alt+Fn key combinations to switch away from |
| 492 | the compositor's virtual console. |
| 493 | .RE |
| 494 | .RE |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 495 | .SH "TERMINAL SECTION" |
| 496 | Contains settings for the weston terminal application (weston-terminal). It |
| 497 | allows to customize the font and shell of the command line interface. |
| 498 | .TP 7 |
| 499 | .BI "font=" "DejaVu Sans Mono" |
Wieland Hoffmann | ad0704a | 2014-01-10 22:23:12 +0100 | [diff] [blame] | 500 | sets the font of the terminal (string). For a good experience it is recommended |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 501 | to use monospace fonts. In case the font is not found, the default one is used. |
| 502 | .RE |
| 503 | .RE |
| 504 | .TP 7 |
| 505 | .BI "font-size=" "14" |
| 506 | sets the size of the terminal font (unsigned integer). |
| 507 | .RE |
| 508 | .RE |
| 509 | .TP 7 |
| 510 | .BI "term=" "xterm-256color" |
| 511 | The terminal shell (string). Sets the $TERM variable. |
| 512 | .RE |
| 513 | .RE |
Maksim Melnikau | 92de144 | 2013-08-14 22:33:10 +0300 | [diff] [blame] | 514 | .SH "XWAYLAND SECTION" |
| 515 | .TP 7 |
Giulio Camuffo | 4a787f8 | 2015-05-10 11:29:33 +0300 | [diff] [blame] | 516 | .BI "path=" "/usr/bin/Xwayland" |
Maksim Melnikau | 92de144 | 2013-08-14 22:33:10 +0300 | [diff] [blame] | 517 | sets the path to the xserver to run (string). |
| 518 | .RE |
| 519 | .RE |
Andrew Wedgbury | c34b677 | 2014-06-26 16:31:43 +0100 | [diff] [blame] | 520 | .SH "SCREEN-SHARE SECTION" |
| 521 | .TP 7 |
| 522 | .BI "command=" "/usr/bin/weston --backend=rdp-backend.so \ |
| 523 | --shell=fullscreen-shell.so --no-clients-resize" |
| 524 | sets the command to start a fullscreen-shell server for screen sharing (string). |
| 525 | .RE |
| 526 | .RE |
Martin Minarik | edc51c0 | 2013-01-18 18:44:29 +0100 | [diff] [blame] | 527 | .SH "SEE ALSO" |
| 528 | .BR weston (1), |
| 529 | .BR weston-launch (1), |
| 530 | .BR weston-drm (7), |
| 531 | .BR xkeyboard-config (7) |