Enable three-finger volume gesture for phone
In the changelog for 1.1.9.28 release it is said:
[lipstick-jolla-home] Disable volume gesture on small screen devices. Fixes JB#28123
It says disable. Does it imply that one can re-enable it? And how?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
In the changelog for 1.1.9.28 release it is said:
[lipstick-jolla-home] Disable volume gesture on small screen devices. Fixes JB#28123
It says disable. Does it imply that one can re-enable it? And how?
Update: created a patch according to your changes (@virgi26) https://openrepos.net/content/virgi/patch-three-fingers-volume-control
CAUTION: Please be careful about changing system files, especially compositor.qml. You can brick your device. Before editing make backups from original files, enable ssh and write down IPs for the case of emergency. Double-check what you're typing. (Read more on comments.)
Ok, I myself found a way, I don't know if I should call it an answer, or just a workaround.
Editing two lines in two files will help:
/usr/share/lipstick-jolla-home-qt5/compositor.qml line 194, removing the variable considering the screen size to enable the three-finger gesture for phone:
enabled: !systemGesturesDisabled
/usr/share/lipstick-jolla-home-qt5/volumecontrol/VolumeControl.qml line 241, replacing the screen size variable with true to enable continuous volume control for phone:
showContinuousVolume: true
A little patch will be usefull to prevent editing errors. However, thanks for the trick. Will try it soon ! Edit : Awesome ! Thankks !
malibu1106 ( 2015-10-07 10:30:05 +0200 )edit@malibu1106, sorry, if I knew how to package rpm files I would publish patches and layouts. :( But I'm not a developer.
AliN ( 2015-10-09 21:04:15 +0200 )editTo backup files you can enter in Terminal:
cd /usr/share/lipstick-jolla-home-qt5
devel-su cp compositor.qml compositor.qml.bkp
To use ssh on your PC, you should enter:
ssh nemo@phone-ip replacing the phone-ip with your device IP, for example, 192.168.1.100.
Then to revert the changes, enter:
cd /usr/share/lipstick-jolla-home-qt5
devel-su cp compositor.qml.bkp compositor.qml
devel-su killall lipstick
Suggested an Option https://together.jolla.com/question/133593/feature-request-release-3-finger-volume-swipe-to-jolla1/ and closed it after finding this - this needs to be a Settings item, not some patch.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2015-10-06 21:45:48 +0200
Seen: 1,542 times
Last updated: Apr 28 '16
Custom push actions (gestures)
Browser: pull to navigate [duplicate]
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
Add skype integration to sailfish os
Add DBus interface to stock music player [released]
[How-To] WPA-802.1X (enterprise), eduroam +[Others] GUI wifi support needed + workaround [released]
Reopened as openrepos is not the "user"-way to have it available (and to reduce duplication)
chemist ( 2016-04-28 17:46:48 +0200 )edit