For screen and touch rotation in Wayfire you want to add a section to ~/.config/wayfire.ini withAssociating the input device with the output means it will adopt any transforms applied to that output, and will be limited to only that display if you have multiple outputs.
800x480@60 will need to be a mode advertised by the display's EDID.
The touch device name can be retrieved via "libinput list-devices". Be aware that it can include spaces, and those must be present in the config file. Using the Screen Configuration app to select the resolution and associating the touch overlay will add the relevant entries to wayfire.ini for you, which you can then copy.
If using labwc, then resolution and orientation is configured via ~/.config.kanshi/config. Touch association is configured via ~/.config/labwc/rc.xml. Being XML based means it's a little harder to hand edit, but again the Screen Configuration app will make the relevant change for you to copy.
Code:
[output:HDMI-A-1]mode=800x480@60000position=0,0transform=right[input-device=<appropriate device name>]output=HDMI-A-1
800x480@60 will need to be a mode advertised by the display's EDID.
The touch device name can be retrieved via "libinput list-devices". Be aware that it can include spaces, and those must be present in the config file. Using the Screen Configuration app to select the resolution and associating the touch overlay will add the relevant entries to wayfire.ini for you, which you can then copy.
If using labwc, then resolution and orientation is configured via ~/.config.kanshi/config. Touch association is configured via ~/.config/labwc/rc.xml. Being XML based means it's a little harder to hand edit, but again the Screen Configuration app will make the relevant change for you to copy.
Statistics: Posted by 6by9 — Thu Jul 25, 2024 1:05 pm