2023年12月29日发(作者:)
默认的熄屏时间,300s
LIBINPUT SECTIONThe libinput section is used to configure input devices when using the libinput input device ble configuration are:enable_tap=trueenables tap to click on touchpad devices
SHELL SECTIONThe shell section is used to customize the compositor. Some keys may not be handled by different shell entries that can appear in this section are:client=filesets the path for the shell client to run. If not specified
weston-desktop-shell is launched (string).background-image=filesets the path for the background image file (string).background-type=tiledetermines how the background image is drawn (string). Can be scale, scale-crop or tile (default). Scale means scaled to fitthe output precisely, not preserving aspect ratio. Scale-crop preserves aspect ratio, scales the background image just bigenough to cover the output, and centers it. The image ends up cropped from left and right, or top and bottom, if the aspectratio does not match the output. Tile repeats the background image to fill the ound-color=0xAARRGGBBsets the color of the background (unsigned integer). The hexadecimal digit pairs are in order alpha, red, green, and -format=formatsets the panel clock format (string). Can be none, minutes, seconds. By default, minutes format is -color=0xAARRGGBBsets the color of the panel (unsigned integer). The hexadecimal digit pairs are in order transparency, red, green, and es:
0xffff0000 Red0xff00ff00 Green0xff0000ff Blue0x00ffffff Fully transparentpanel-location=topsets the location of the panel (string). Can be top, g=true
enables screen locking (boolean).animation=zoomsets the effect used for opening new windows (string). Can be zoom, fade, none. By default, no animation is -animation=fadesets the effect used when closing windows (string). Can be fade, none. By default, the fade animation is p-animation=fadesets the effect used for opening new windows (string). Can be fade, none. By default, the fade animation is -animation=dim-layersets the effect used with the focused and unfocused windows. Can be dim-layer, none. By default, no animation is -zap=truewhether the shell should quit when the Ctrl-Alt-Backspace key combination is pressedbinding-modifier=ctrlsets the modifier key used for common bindings (string), such as moving surfaces, resizing, rotating, switching, closing andsetting the transparency for windows, controlling the backlight and zooming the desktop. Possible values: none, ctrl, alt,super (default)num-workspaces=6defines the number of workspaces (unsigned integer). The user can switch workspaces by using the binding+F1, F2 keys. Ifthis key is not set, fall back to one -theme=themesets the cursor theme (string).cursor-size=24sets the cursor size (unsigned integer).lockscreen-icon=pathsets the path to lock screen icon image (string). (tablet shell only)lockscreen=pathsets the path to lock screen background image (string). (tablet shell only)homescreen=pathsets the path to home screen background image (string). (tablet shell only)LAUNCHER SECTIONThere can be multiple launcher sections, one for each =iconsets the path to icon image (string). Svg images are not currently =programsets the path to the program that is run by clicking on this launcher (string). It is possible to pass arguments andenvironment variables to the program. For example:
path=GDK_BACKEND=wayland gnome-terminal --full-screen
OUTPUT SECTIONThere can be multiple output sections, each corresponding to one output. It is currently only recognized by the drm and =namesets a name for the output (string). The backend uses the name to identify the output. All X11 output names start with aletter X. All Wayland output names start with the letters WL. The available output names for DRM backend are listed in the(1) output. Examples of usage:
LVDS1 DRM backend, Laptop internal panel no.1VGA1 DRM backend, VGA connector no.1X1 X11 backend, X window no.1WL1 Wayland backend, Wayland window no.1See (7) for more =modesets the output mode (string). The mode parameter is handled differently depending on the backend. On the X11 backend,it just sets the WIDTHxHEIGHT of the weston window. The DRM backend accepts different modes:
WIDTHxHEIGHT Resolution size width and height in pixelspreferred Uses the preferred modecurrent Uses the current crt controller modeoff Disables the outputOptionally, an user may specify a modeline, such as:
173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsyncIt consists of the refresh rate in Hz, horizontal and vertical resolution, options for horizontal and vertical program (1) can provide suitable modeline orm=normalThe transformation applied to screen output (string). The transform key can be one of the following 8 strings:
normal Normal output.90 90 degrees clockwise.180 Upside down.270 90 degrees counter d Horizontally flippedflipped-90 Flipped and 90 degrees clockwiseflipped-180 Flipped upside downflipped-270 Flipped and 90 degrees counter clockwisescale=factorThe scaling multiplier applied to the entire output, in support of high resolution ("HiDPI" or "retina") displays, that roughlycorresponds to the pixel ratio of the display's physical resolution to the logical resolution. Applications that do not supporthigh resolution displays typically appear tiny and unreadable. Weston will scale the output of such applications by thismultiplier, to make them readable. Applications that do support their own output scaling can draw their content in highresolution, in which case they avoid compositor scaling. Weston will not scale the output of such applications, and they arenot affected by this integer, 1 by default, typically configured as 2 or higher when needed, denoting the scaling multiplier for the =nameThe logical seat name that that this output should be associated with. If this is set then the seat's input will be confined tothe output that has the seat set on it. The expectation is that this functionality will be used in a multiheaded environmentwith a single compositor for multiple output and input configurations. The default seat is called "default" and will always bepresent. This seat can be constrained like any -METHOD SECTIONpath=/usr/libexec/weston-keyboardsets the path of the on screen keyboard input method (string).KEYBOARD SECTIONThis section contains the following keys:keymap_rules=evdevsets the keymap rules file (string). Used to map layout and model to input _model=pc105sets the keymap model (string). See the Models section in (7).keymap_layout=us,de,gbsets the comma separated list of keyboard layout codes (string). See the Layouts section in (7).keymap_variant=euro,,intlsets the comma separated list of keyboard layout variants (string). The number of variants must be the same as the numberof layouts above. See the Layouts section in (7).keymap_options=grp:alt_shift_toggle,grp_led:scrollsets the keymap options (string). See the Options section in (7).repeat-rate=40sets the rate of repeating keys in characters per second (unsigned integer)repeat-delay=400
sets the delay in milliseconds since key down until repeating starts (unsigned integer)numlock-on=falsesets the default state of the numlock on weston startup for the backends which support -switching=trueWhether to allow the use of Ctrl+Alt+Fn key combinations to switch away from the compositor's virtual AL SECTIONContains settings for the weston terminal application (weston-terminal). It allows to customize the font and shell of thecommand line =DejaVu Sans Monosets the font of the terminal (string). For a good experience it is recommended to use monospace fonts. In case the font isnot found, the default one is -size=14sets the size of the terminal font (unsigned integer).term=xterm-256colorThe terminal shell (string). Sets the $TERM ND SECTIONpath=/usr/bin/Xwaylandsets the path to the xserver to run (string).SCREEN-SHARE SECTIONcommand=/usr/bin/weston --backend= --shell= --no-clients-resizesets the command to start a fullscreen-shell server for screen sharing (string).


发布评论