:: Re: [DNG] Topton Mini Pocket Laptop…
Top Page
Delete this message
Reply to this message
Author: Carl Fink
Date:  
To: dng
Subject: Re: [DNG] Topton Mini Pocket Laptop 7 Inch Touch Screen
On Sun, August 10, 2025 11:53 am, Carl Fink via Dng wrote:

> 1)The thing has an old-school pointer, like the IBM Trackpoint, with two
> buttons on the keyboard. (No trackpad--it's too small.) In KDE, the right
> button works but the left doesn't. Any ideas on configuring it so the
> right button works?
>
> 2)In Linux, the console and X screen come up rotated 90 degrees left. If I
> use 'xrandr -o right' it scrambles the display and makes it unusable. If I
> put
>
> Option "Rotate "right"
>
> in the xorg.conf file (created using Xorg -configure) the X screen is
> rotated to the correct position ... but the touchscreen isn't rotated, so
> tapping on the screen moves the mouse to the wrong location.


I was able to find a fix for this, by adding these lines to the xorg.conf
file (which I created using "xorg -Configure":

In Section "Monitor"
     Option "Rotate" "right"
Which I found in this AskUbuntu post:
https://askubuntu.com/questions/1417032/how-to-permanently-set-x-display-to-be-rotated


That left the system working correctly after booting and loading X (but
still booting rotated). However, because it didn't rotate the touchscreen,
screen touches moved the pointer to absolutely the wrong places. So I did
another search and found that:

After another search, I added the lines

Section "InputClass"
     Identifier "Coordinate Transformation Matrix"
     MatchIsTouchscreen "on"
     MatchDevicePath "/dev/input/event*"
     MatchDriver "libinput"
     Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection


Credit for the above goes to this GitHub tip:
https://gist.github.com/autofyrsto/6daa5d41c7f742dd16c46c903ba15c8f

Now the touchscreen works perfectly. It's still somewhat tricky to use on
the little screen, and the one stylus I have here doesn't work as well as
a finger, but it does work. I also set the scaling of the tiny screen to
0.6, which makes the interface far easier to read.

Now that the screen works right, I notice that no audio device is
detected. That's the next thing I'll work on.
-- 
Carl Fink           carl@???