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
  PineTab2 corrupted EMMC explit 5 1,117 03-27-2024, 04:56 PM
Last Post: oiyounutter
Video Pinetab2 camera drivers cringeops 9 991 03-18-2024, 11:40 AM
Last Post: cringeops
  Ubuntu touch rotation GloriousCoffee 3 1,243 01-09-2024, 06:01 AM
Last Post: polrus
  eMMC backup - pinetab2 pinetar.gz 0 426 01-07-2024, 09:08 PM
Last Post: pinetar.gz
  [PineTab2] Issues with Mobian Networking Cornelia Xaos 7 2,683 12-30-2023, 10:02 PM
Last Post: Cornelia Xaos
  Disabling PineTab2 physical keyboard and touchpad? johns 7 1,818 08-03-2023, 11:55 AM
Last Post: cgbarros
  Will sudo pacman -Syu brick the PineTab2? cgbarros 10 2,675 07-24-2023, 01:15 PM
Last Post: rqkeating
  [PT2] Sway m3henry 1 1,249 07-01-2023, 07:34 PM
Last Post: jfenn2199
  Udemy not working on pinetab2 (danctnix) jbreese 3 1,145 06-13-2023, 11:34 AM
Last Post: jbreese
  UBPorts Ubuntu Touch Takaszi 6 7,439 02-24-2021, 01:39 AM
Last Post: TechDragon

Forum Jump:


Users browsing this thread: 1 Guest(s)