Skip to content
Xiao YaoBing edited this page Sep 8, 2024 · 2 revisions

Welcome to the wsm wiki!

This wiki contains documentation to run wsm. For future development plans of wsm, please refer to Issues or the author's blog 云烟成雨.

What is wsm?

wsm is the implementation of the Wayland compositor. It provides a window manager (in the X11 world) and a compositor (in the Wayland world), designed for user experience. It can manage the input and output of X11 or Wayland windows, making it convenient for users to interact with windows using graphical interaction.

List of supported protocols

  • wl_shm
  • zwp_linux_dmabuf_v1
  • server_decoration
  • wl_drm
  • wl_seat
  • wl_output
  • wl_compositor
  • wl_subcompositor
  • wl_data_device_manager
  • zxdg_output_manager_v1
  • zwlr_output_manager_v1
  • zwlr_output_power_manager_v1
  • zwlr_gamma_control_manager_v1
  • zwp_idle_inhibit_manager_v1
  • zwlr_layer_shell_v1
  • xdg_wm_base
  • xdg_activation_v1
  • ext_idle_notifier_v1
  • org_kde_kwin_server_decoration_manager
  • zxdg_decoration_manager_v1
  • zwp_relative_pointer_manager_v1
  • zwp_pointer_constraints_v1
  • wp_presentation
  • zwp_input_method_manager_v2
  • zwp_text_input_manager_v3
  • ext_foreign_toplevel_list_v1
  • zwlr_foreign_toplevel_manager_v1
  • ext_session_lock_manager_v1
  • zwlr_export_dmabuf_manager_v1
  • zwlr_screencopy_manager_v1
  • zwlr_data_control_manager_v1
  • wp_viewporter
  • wp_single_pixel_buffer_manager_v1
  • wp_fractional_scale_manager_v1
  • wp_content_type_manager_v1
  • zxdg_exporter_v1
  • zxdg_exporter_v2
  • zwp_pointer_gestures_v1
  • zwp_virtual_keyboard_manager_v1
  • zwlr_virtual_pointer_manager_v1
  • zwp_keyboard_shortcuts_inhibit_manager_v1
  • wp_cursor_shape_manager_v1
  • zwp_primary_selection_device_manager_v1
  • zwp_tablet_manager_v2

wsm run options

You need to add -Dxwayland=enabled in wsm meson_options and add --xwayland parameter at startup to support Xwayland

Usage: wsm [OPTIONS]

This is wsm version 0.1-dev, the Lychee's Wayland compositor.
different options will be accepted.

Core options:

  --xwayland            Load the xwayland module
  -l, --log-level      Set log output level, default value is 1 only ERROR logs, 3 output all logs, 0 disabled log
  -h, --help            This help message