This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processor : ARMv7 Processor rev 4 (v7l) | |
processor : 0 | |
BogoMIPS : 13.53 | |
processor : 1 | |
BogoMIPS : 13.53 | |
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls | |
CPU implementer : 0x51 | |
CPU architecture: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Page { | |
id: page | |
SilicaWebView { | |
url: "https://www.messenger.com/login" | |
width: parent.width | |
height: parent.height / 2 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Page | |
{ | |
property bool inputVisible: Qt.inputMethod.visible | |
onInputVisibleChanged: console.log("vis changed " + inputVisible); | |
TextArea | |
{ | |
anchors.centerIn: parent | |
width: parent.width | |
focus: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbus-monitor --system "type=signal, interface=org.freedesktop.DBus.Properties, member=PropertiesChanged" | | |
while read -r line; | |
do | |
if echo $line | grep "TOHID" > /dev/null | |
then | |
read -r idline | |
if echo $idline | grep "string" > /dev/null | |
then | |
echo $idline | cut -d "\"" -f 2 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cma_lwm=128 | |
cma_hwm=384 | |
cma_offline_start=64 | |
lcd_rotate=2 | |
dtoverlay=rpi-ft5406 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
system(echo "\\\{\\\"version\\\":\\\"$${SPECVERSION}\\\"\\\}" > qml/version.json) | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
import Sailfish.Silica 1.0 | |
Timer | |
{ | |
id: thistimer | |
property var callback | |
property var delay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Column { | |
property var raw: ["apples", "oranges", "pears", "kissa", "koira", "ei", "vain", "hedelmiä", "ananas"] | |
Component.onCompleted: | |
{ | |
for (var i=0 ; i<Math.min(3, raw.length) ; i++) | |
lm.append({ name: raw[i] }) | |
} | |
ListModel | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keymaps 0-2,4-5,8,12 | |
keycode 1 = Escape Escape | |
alt keycode 1 = Meta_Escape | |
keycode 2 = one exclam | |
alt keycode 2 = Meta_one | |
keycode 3 = two at at nul nul Meta_two | |
keycode 4 = three numbersign | |
control keycode 4 = Escape | |
alt keycode 4 = Meta_three | |
keycode 5 = four dollar dollar Control_backslash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apply this to /usr/share/jolla-camera/pages/capture/CaptureView.qml | |
EDIT: Setting this to 0, backend makes optimal selection for framerate | |
http://doc.qt.io/qt-5/qcameraviewfindersettings.html#setMaximumFrameRate | |
diff --git a/CaptureView.qml b/CaptureView.qml | |
index 3ee90bb..df03e68 100644 | |
--- a/CaptureView.qml | |
+++ b/CaptureView.qml |