Touch doesnt rotate on Sway in PineTab2
#1
Hello!

I'm experimenting on running sway on PineTab2. My idea would be to use it together with the keyboard attached and sometime detach to read or doing stuff that are not keyboard heavy.

I managed to rotate the screen to landscape mode manually by running:
$ swaymsg output DSI-1 transform 90

This is fine, except that if I try to use the touchscreen it seems like the touch gestures "didn't rotate" together with the screen, i.e., I need to swipe left and right in order to scroll up and down when I'm reading a text.

Does anyone know what might be causing this? What is the KDE WM doing besides just rotating the output to match the gestures?
  Reply
#2
i dont have mine with me to check, is DSI-1 the touch input or the monitor?

https://github.com/swaywm/sway/issues/38...-604025483
  Reply
#3
(07-14-2023, 01:42 PM)tophneal Wrote: i dont have mine with me to check, is DSI-1 the touch input or the monitor?

https://github.com/swaywm/sway/issues/38...-604025483

DSI-1 is the monitor. I actually found the solution right after I posted. I ran:
$ swaymsg -t get_inputs
and found that the touchscreen input is actually named 1046:911:Goodix_Capacitive_TouchScreen

Then I found out about map_output and just added this line to my sway configuration file:
input 1046:911:Goodix_Capacitive_TouchScreen map_to_output DSI-1
and it worked!
  Reply
#4
Evening,

another tiling WM i found very interesting is (Hyprland)
I got automatic rotation and touch screen working (also Goodix_Capacitive_TouchScreen)

BUT!! I had massive problems because I at start up I got a mesasge:

"you have one or more incomparable xdg-desktop-portal-implementation installed please remove incomparable ones to avoid issues "

It seams that the xdg-desktop implementation that comes with plasma is not compatible with the one that Hyprland needs
( documented hyprland-xdg)
So many programs did not run and the hyprland implementation is not compatible wth all the Plasma stuff. Undecided


Can you please comment if you have seen sth,. similar with sway? OR are you even technically versed enough to point me somewhere  ....
to solve my problem. I really like Hyprland :-)


THX,
Thomas
  Reply
#5
(08-03-2023, 01:03 PM)TomZa Wrote: I had massive problems because I at start up I got a mesasge:

"you have one or more incomparable xdg-desktop-portal-implementation installed please remove incomparable ones to avoid issues "

It seams that the xdg-desktop implementation that comes with plasma is not compatible with the one that Hyprland needs

Can you please comment if you have seen sth,. similar with sway? OR are you even technically versed enough to point me somewhere  ....

No, I don't see this issue in sway. I found this bug report here:
https://github.com/flatpak/xdg-desktop-p...issues/969

Seems like this is an upstream issue/bug with xdg, but Hyprland is the first WM that I hear that has this problem. 

I never used Hyprland. Looking at the screenshots it seems very handsome, but I appreciate a more minimalistic design.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu Touch not booting after an restart Submarine0146 0 295 11-29-2024, 02:58 PM
Last Post: Submarine0146
  PineTab2 corrupted EMMC explit 6 2,966 09-13-2024, 09:09 AM
Last Post: Evergreen
  OS Options for Pinetab2 Evergreen 2 739 09-07-2024, 07:35 AM
Last Post: moobythegoldensock
  Cannot get into Pinetab2 joespodie 1 473 09-02-2024, 11:52 AM
Last Post: KC9UDX
Video Pinetab2 camera drivers cringeops 9 3,174 03-18-2024, 11:40 AM
Last Post: cringeops
  Ubuntu touch rotation GloriousCoffee 3 2,740 01-09-2024, 06:01 AM
Last Post: polrus
  eMMC backup - pinetab2 pinetar.gz 0 1,163 01-07-2024, 09:08 PM
Last Post: pinetar.gz
  [PineTab2] Issues with Mobian Networking Cornelia Xaos 7 4,866 12-30-2023, 10:02 PM
Last Post: Cornelia Xaos
  Disabling PineTab2 physical keyboard and touchpad? johns 7 3,165 08-03-2023, 11:55 AM
Last Post: cgbarros
  Will sudo pacman -Syu brick the PineTab2? cgbarros 10 4,617 07-24-2023, 01:15 PM
Last Post: rqkeating

Forum Jump:


Users browsing this thread: 1 Guest(s)