We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2020-02-08 00:50:21 +0200 |
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
-->edit as below:
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
vi /usr/share/applications/jolla-camera-lockscreen.desktop
-->edit as below:
**#**Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
systemctl-user restart lipstick
You will find first mentioning on TMO
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
-->edit as below:
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
vi /usr/share/applications/jolla-camera-lockscreen.desktop
-->edit as below:
**#**Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
systemctl-user restart lipstick
You will find first mentioning on TMO
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
-->edit as below:
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
vi /usr/share/applications/jolla-camera-lockscreen.desktop
-->edit as below:
**#**Exec=invoker #Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
systemctl-user restart lipstick
You will find first mentioning on TMO
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
-->edit as below:
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
vi /usr/share/applications/jolla-camera-lockscreen.desktop
-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
-->edit #-->edit as below:
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
#<--
vi /usr/share/applications/jolla-camera-lockscreen.desktop
-->edit #-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
#<--
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
#-->edit as below:
#Exec=harbour-advanced-cam
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
#<--
vi /usr/share/applications/jolla-camera-lockscreen.desktop
#-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
#<--
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
#-->edit as below:
#Exec=harbour-advanced-cam
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
#<--
vi /usr/share/applications/jolla-camera-lockscreen.desktop
#-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
#<--
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
#-->edit as below:
#Exec=harbour-advanced-cam
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
#<--
vi /usr/share/applications/jolla-camera-lockscreen.desktop
#-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen
#<--
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--
Hey,
I think this small hack is worth to be put in it's own topic.
It enables you to use advanced-camera directly from the lockscreen by swiping up from the bottom (must -of course- be enabled from settings/gestures).
#peterleinchen: advanced-cam as default
devel-su
cp /usr/bin/harbour-advanced-camera /usr/bin/harbour-advanced-camera-lockscreen
cp -ra /usr/share/harbour-advanced-camera /usr/share/harbour-advanced-camera-lockscreen
cp /usr/share/applications/harbour-advanced-camera.desktop /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
vi /usr/share/applications/harbour-advanced-camera-lockscreen.desktop
#-->edit as below:
#Exec=harbour-advanced-cam
Exec=harbour-advanced-camera-lockscreen
NoDisplay=true
#<--
vi /usr/share/applications/jolla-camera-lockscreen.desktop
#-->edit as below:
#Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/jolla-camera-lockscreen
Exec=harbour-advanced-camera-lockscreen Exec=invoker -s --type=silica-media,silica-qt5 /usr/bin/harbour-advanced-camera-lockscreen
#<--
systemctl-user restart lipstick
You will find first mentioning on TMO
Okay, here is another hack to also bind the HW cam button to advanced-camera:
(unfortunately after usage there is a delay time of ca. 120s before it works again. anyone?)
vi /usr/share/dbus-1/services/com.jolla.camera.service
#-->edit as below
#Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=jolla-camera.desktop -s -n-d 5 /usr/bin/jolla-camera
Exec=/usr/bin/invoker --type=silica-media,silica-qt5 --desktop-file=harbour-advanced-camera.desktop -s -n -d 5 /usr/bin/harbour-advanced-camera
#<--