mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[doc] faq: GNOME on Wayland polish
This commit is contained in:
parent
53fdc2e148
commit
b13a79880b
29
doc/faq.rst
29
doc/faq.rst
@ -79,26 +79,29 @@ well.
|
|||||||
|
|
||||||
.. _gnome_wayland_decorations:
|
.. _gnome_wayland_decorations:
|
||||||
|
|
||||||
Why is there no title bar? / Why can't I resize the window?
|
Why is there no title bar on GNOME? / Why can't I resize the window on GNOME?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
This happens on GNOME Wayland because GNOME doesn't support the `standard
|
This happens because GNOME on Wayland doesn't support the `standard protocol`_
|
||||||
protocol`_ for server-side decorations. As a result, the window decorations
|
for server-side decorations, and Looking Glass doesn't implement its own
|
||||||
do not appear.
|
decorations.
|
||||||
|
|
||||||
The easy solution is to use `libdecor`_. This is currently not packaged in
|
The easiest solution is to build Looking Glass with `libdecor`_ support.
|
||||||
most distros, so you will need to build it from the linked git repository.
|
If your distribution lacks a ``libdecor`` package, you must build it from
|
||||||
|
`source code <libdecor_>`_.
|
||||||
|
|
||||||
Once you have built it, you can then build the the client with libdecor
|
You can then build the the client with libdecor support by passing
|
||||||
support by passing ``-DENABLE_LIBDECOR=ON`` to ``cmake``.
|
``-DENABLE_LIBDECOR=ON`` to ``cmake``.
|
||||||
|
|
||||||
Please be aware that libdecor comes with overheads, which is why it is not
|
|
||||||
used by default. You should avoid it if possible.
|
|
||||||
|
|
||||||
An alternative solution is to hold down the Super key (Windows key on most
|
An alternative solution is to hold down the Super key (Windows key on most
|
||||||
keyboards), and then right click on the window. This should bring up a menu,
|
keyboards), then right click Looking Glass. This should bring up a menu,
|
||||||
which will allow you to move the window and resize it.
|
which will allow you to move the window and resize it.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
Libdecor support is provided for the convenience of our Wayland users on
|
||||||
|
GNOME, however it is not a priority feature and may break, please seek
|
||||||
|
alternatives if you require stable operation.
|
||||||
|
|
||||||
.. _standard protocol: https://wayland.app/protocols/xdg-decoration-unstable-v1
|
.. _standard protocol: https://wayland.app/protocols/xdg-decoration-unstable-v1
|
||||||
.. _libdecor: https://gitlab.gnome.org/jadahl/libdecor
|
.. _libdecor: https://gitlab.gnome.org/jadahl/libdecor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user