Ask / Submit

Style cover

asked 2017-11-07 15:57:09 +0300

jollauser gravatar image

Dear sailors,

I've got an Xperia X running Sailfish and use it together with a Sony style cover (SCR50). In short I would like to have the style cover work similar under Sailfish as it does under Android. The beauty of this cover is that the cover itself is transparent and under Android the phone remains touch responsive even with the cover closed.

Under Sailfish you can only select (under settings/display) whether the flip cover to control display yes or no. In practice this means that if have selected yes that opening the cover makes the display to turn on and if you close the cover the display will turn off. This on itself is nice but this doesn't use the full potential of the style cover like Android does:

  • Screen acts as if no style cover is installed, ie: Display turns on also when cover is closed on incomming calls, notifications, alarms, etc.
  • When cover is closed and screen is turned on touch is working. It seems like a kind of "glove mode" is enabled to make touch work through the cover
  • Cover opens: Turns on display
  • Cover closes: Users choice under settings whether display remains on or turns off

Most beautiful would be to make this possible via the GUI but this is not the case at the moment. Are there any options to make the style cover work as described above with Sailfish through cli?

edit retag flag offensive close delete


This is off topic but are the edge swipes working well with the style cover? I was very interested about this cover but there was a comment "does not work well on edges".

What exactly does the cover do in android?

potski ( 2017-11-07 22:02:48 +0300 )edit

The only swipe experience I have had under Android is very limited as I installed Sailfish X almost immediately after I received my Xperia phone. Additionally, the only swipe gesture Android uses is from the top of the screen downwards. I can remember that this swipe was a little bit cumbersome due to the speaker opening in the cover. If you started to swipe downwards starting on the left or right from the speaker opening it did work fine.

jollauser ( 2017-11-08 00:27:33 +0300 )edit

@potski I've got the cover today (and I already had Sailfish X then) and I can say that edge swipes don't work (from any of the 4 edges) - when I try to do one, a swipe from somewhere slightly farther from the edge happens (far enough to not trigger the global edge swipe shortcut). The only way to do a right edge swipe is to lift the cover and do it from below it.

vozhyk ( 2017-11-10 00:14:19 +0300 )edit

Otherwise, I need a little force to click and swipe through the cover (it's usable). But I cannot use the screen through the cover in my e-tip gloves (I can use it fine with the cover open with them), so a glove mode would be very useful.

vozhyk ( 2017-11-10 00:29:44 +0300 )edit

@vozhyk that you can't swipe from the edges with a closed style cover together with the current sailfish build is not relevant. The reason is that Sailfish currently does not support touch with a closed cover at all. Under Android a kind of "glove/hyper sensitivity mode" was activated to make touch work through the sryle cover perfectly, but with Sailfish you might be lucky to make sailfish register touch when you firmly press on the cover.

jollauser ( 2017-11-11 08:39:17 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-02-11 19:19:22 +0300

h___m gravatar image

updated 2018-02-13 15:52:14 +0300


it works when the charger is connected.

The cover is as sensitive as under android. All sailfish gestures are working. So I thing it must be possible to implement a switch to activate this cover.

Edit: (Summary)

  • There is a switch, but it is not implemented in the GUI:

devel-su echo 1 > /sys/devices/virtual/input/clearpad/glove

  • The swipes from all four edges are working, too. The sensitivity is okay.

  • When the cover is closed, alerts, notifications and incoming calls are shown.

So this parts of the question are answered. But the implementation in the GUI is missing.

edit flag offensive delete publish link more


This answer should, then, be accepted! The only problem seems, now, to be the swiping from an edge. It's not easy, yet doable :-). Still, not easy :-/

NikosAlexandris ( 2018-02-12 01:02:59 +0300 )edit

@h___m@NikosAlexandris please confirm if edge swipes etc. work or not. "All sailfish gestures are working", "The only problem seems, now, to be the swiping from an edge."

potski ( 2018-02-12 18:45:24 +0300 )edit

@potski The cover isn't fixed in it's place. It is moving. So, it is difficult to swipe with one hand. Holding the cover with one hand and swiping with the other, with a bit of pressure, does it. Still, it is not what one would expect from a swipe move, i.e. a quick swipe with one hand, not much effort.

NikosAlexandris ( 2018-02-12 21:59:35 +0300 )edit

I am going back and forth with this . Do you think it would be possible to share a video how it works in Sailfish X?

potski ( 2018-02-13 16:57:59 +0300 )edit

answered 2018-02-11 21:25:24 +0300

miau gravatar image

Take a look here:

edit flag offensive delete publish link more


Sorry, I commented the wrong post. Again: The description on maemo is working.

h___m ( 2018-02-12 19:27:35 +0300 )edit


Is this hack persistent over reboots? What happens when it is enabled and the cover is opened?

Kiitos, LVPVS over.

LVPVS ( 2018-02-13 21:01:34 +0300 )edit

@LVPVS Yes it is persistent after reboot. I don't notice a change in behaviour with the cover open.

rgp ( 2018-02-14 16:19:25 +0300 )edit

Are you sure it is persistent? It normally should get back to its default value which is 0 on boot.

miau ( 2018-02-14 20:02:30 +0300 )edit

Aopolgies, you're right, I'd restarted my home screen several times since I changed it, not rebooted the phone.

rgp ( 2018-02-14 21:35:42 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2017-11-07 15:57:09 +0300

Seen: 690 times

Last updated: Feb 13