WIKI: double tap on Xperia 10

I got working the double-tap feature on Sailfishos 4.4.0.58 Vanha Rauma

You need mcetool installed on your device (pkcon install mcetools)

I got to activate LPM first:
mcetool --set-low-power-mode=enabled
mcetool --set-ps-on-demand=disabled
mcetool --set-lpmui-triggering=from-pocket,hover-over

Then I activated double tap and configured it:
mcetool -M show-unlock-screen (can be also -M unlock if you prefer)
mcetool -z proximity
mcetool -i enabled
mcetool -E enabled

In case you want Double tap almost always active you can set LPM with a very long timeout, like 100 seconds:
mcetool --set-blank-from-lpm-on-timeout=100

Remeber: Double-tap on xperia 10 ii works only if you have already glance screen (i.e. if you take it out of your pocket)

9 Likes

Two little remarks (Xperia 10 iii; SFOS 4.4.0.72 Vanha Rauma):

  1. mcetools install command is: pkcon install mce-tools
  2. -E and --set-low-power-mode is the same option; hence, required only once

Furthermore, I reduced the config to the following commands:

  1. mcetool --set-ps-on-demand=disabled
    //otherwise it does not work after a few seconds in blank screen (screen off)

  2. mcetool --set-lpmui-triggering=from-pocket,hover-over
    //activate low-power-mode ui from blank screen

  3. mcetool -E enabled
    //enable low-power-mode

  4. mcetool -M show-unlock-screen
    //set screen to switch after doubletap

  5. mcetool -z always
    //recognize doubletap always (alternative: only with proximity)

Is there an option to keep the lpm-screen always on? or another workaround to listen for doubletap without hovering?
–set-never-blank=enable
also disables lpm mode.

2 Likes