Documentation update to mention the gnome extension to get rules working under Wayland (#2103)
* Documentation update to mention the gnome extension to get rules working under Wayland * Updates * Updates
This commit is contained in:
parent
65b9005d97
commit
0e8e052629
|
@ -140,7 +140,6 @@ change the speed of some thumb wheels. These notifications are only sent
|
||||||
for actions that are set in Solaar to their HID++ setting (also known as diverted).
|
for actions that are set in Solaar to their HID++ setting (also known as diverted).
|
||||||
For more information on this capability of Solaar see
|
For more information on this capability of Solaar see
|
||||||
[the rules page](https://pwr-solaar.github.io/Solaar/rules).
|
[the rules page](https://pwr-solaar.github.io/Solaar/rules).
|
||||||
Some features of rules do not work under Wayland.
|
|
||||||
|
|
||||||
Users can edit rules using a GUI by clicking on the `Rule Editor` button in the Solaar main window.
|
Users can edit rules using a GUI by clicking on the `Rule Editor` button in the Solaar main window.
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,9 @@ Rule processing is an experimental feature. Significant changes might be made i
|
||||||
Note that rule processing only fully works under X11.
|
Note that rule processing only fully works under X11.
|
||||||
When running under Wayland with X11 libraries loaded some features will not be available.
|
When running under Wayland with X11 libraries loaded some features will not be available.
|
||||||
When running under Wayland without X11 libraries loaded even more features will not be available.
|
When running under Wayland without X11 libraries loaded even more features will not be available.
|
||||||
Rule features known not to work under Wayland include process and mouse process conditions.
|
Rule features known not to work under Wayland include process and mouse process conditions,
|
||||||
|
although on GNOME desktop under Wayland, you can use those with the Solaar Gnome extension installed,
|
||||||
|
You can install it from `https://extensions.gnome.org/extension/6162/solaar-extension`.
|
||||||
Under Wayland using keyboard groups may result in incorrect symbols being input for simulated input.
|
Under Wayland using keyboard groups may result in incorrect symbols being input for simulated input.
|
||||||
Under Wayland simulating inputs when modifier keys are pressed may result in incorrect symbols being sent.
|
Under Wayland simulating inputs when modifier keys are pressed may result in incorrect symbols being sent.
|
||||||
Simulated input uses Xtest if available under X11 or uinput if the user has write access to /dev/uinput.
|
Simulated input uses Xtest if available under X11 or uinput if the user has write access to /dev/uinput.
|
||||||
|
|
|
@ -215,7 +215,7 @@ def setup_uinput():
|
||||||
_log.warn('cannot create uinput device: %s', e)
|
_log.warn('cannot create uinput device: %s', e)
|
||||||
|
|
||||||
|
|
||||||
if wayland: # wayland can't use xtest so may as well set up uinput now
|
if wayland: # Wayland can't use xtest so may as well set up uinput now
|
||||||
setup_uinput()
|
setup_uinput()
|
||||||
|
|
||||||
|
|
||||||
|
@ -603,7 +603,7 @@ class Process(Condition):
|
||||||
if (not wayland and not x11_setup()) or (wayland and not gnome_dbus_interface_setup()):
|
if (not wayland and not x11_setup()) or (wayland and not gnome_dbus_interface_setup()):
|
||||||
if warn:
|
if warn:
|
||||||
_log.warn(
|
_log.warn(
|
||||||
'rules can only access active process in X11 or in wayland under GNOME with Solaar Gnome extension - %s',
|
'rules can only access active process in X11 or in Wayland under GNOME with Solaar Gnome extension - %s',
|
||||||
self
|
self
|
||||||
)
|
)
|
||||||
if not isinstance(process, str):
|
if not isinstance(process, str):
|
||||||
|
@ -635,7 +635,7 @@ class MouseProcess(Condition):
|
||||||
if warn:
|
if warn:
|
||||||
_log.warn(
|
_log.warn(
|
||||||
'rules cannot access active mouse process '
|
'rules cannot access active mouse process '
|
||||||
'in X11 or in wayland under GNOME with Solaar Gnome extension - %s', self
|
'in X11 or in Wayland under GNOME with Solaar Extension for GNOME - %s', self
|
||||||
)
|
)
|
||||||
if not isinstance(process, str):
|
if not isinstance(process, str):
|
||||||
if warn:
|
if warn:
|
||||||
|
|
Loading…
Reference in New Issue