We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-02-08 00:50:21 +0200

[how-to] piggz' advanced-camera as default cam (lockscreen)

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

[how-to] piggz' advanced-camera as default cam (lockscreen)

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

[how-to] piggz' advanced-camera as default cam (lockscreen)

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

[how-to] piggz' advanced-camera as default cam (lockscreen)(lockscreen, HW cam button)

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  
#<--

[how-to] piggz' advanced-camera as default cam (lockscreen, HW cam button)

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  
#<--

[how-to] piggz' advanced-camera as default cam (lockscreen, HW cam button)

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  
#<--

[how-to] piggz' advanced-camera as default cam (lockscreen, HW cam button)

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  
#<--

[how-to] piggz' advanced-camera as default cam (lockscreen, HW cam button)

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  
#<--

[how-to] piggz' advanced-camera as default cam (lockscreen, HW cam button)

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  
#<--