You are not logged in.

#1 2018-04-30 02:40:54

fabzthearchuser
Member
Registered: 2016-04-15
Posts: 5

Gnome: keeping keyboard (or part of) enabled while in tablet mode

Hey fellow archers!

I have a lenovo thinkpad x201 tablet, which is a convertible, with gnome installed. My issue is that recently, my tablet buttons, those just below the screen, stopped working when in tablet mode (lid closed with screen facing upwards). This means that I can't, for example, rotate or dis/enable touchscreen unless I revert back to laptop mode.

I strongly suspect that this is a new tablet feature of gnome 3.28, which disables keyboard (and touchpad/trackpoint) when it detects a folded screen. For evidence, the presses are detected by showkey, and the keyboard still works when in a CLI on another tty. The feature does make sense for many convertibles that have their keyboard placed downwards, still exposing buttons, and I know it was requested because of that.

I tried to find a switch in tweak tool or dconf, but I haven't seen any (not that I am an expert in searching those tools). I also tried using xinput to reenable the keyboard with this line (10 being my keyboard id):

xinput set-int-prop 10 "Device Enabled" 8 1 

But even though it can toggle it back after manually disabling it (using about the same line), it does not have any effect while in tablet mode. Finding such a line should be a correct workaround, as I could write a script in consequence. I haven't tried downgrading gnome to 3.26 to ensure that this is effectively a 3.28 issue/feature, but I can if necessary.

So in summary, is there a (preferably simple) way to reenable the keyboard while in tablet mode? Or better yet, is there a way to enable only some/tablet buttons?

Edit: Also, I use gnome on xorg, but gnome on wayland gives the same issue.

Last edited by fabzthearchuser (2018-04-30 02:42:38)

Offline

Board footer

Powered by FluxBB