maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

Baspar 2014-12-25 22:34

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@asa: already tried : Failed to install :/

And do you try to simply.... execute the command? (zypper in -f ....)

asa 2014-12-25 22:39

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Baspar (Post 1453896)
@asa: already tried : Failed to install :/

And do you try to simply.... execute the command? (zypper in -f ....)

Do you have the latest update of patchmanager?


And to my warning. No I haven't executed the zypper command, because I don't know why I'm getting the warning. And I'm not quite sure what this zypper will do.

coderus 2014-12-25 22:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@asa everybody have it, just ignore.

asa 2014-12-25 22:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1453898)
@asa everybody have it, just ignore.

Alright, thanks!

Baspar 2014-12-25 23:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@asa : yep, every soft is up to date.
But to rely on your question... I haven't this warning

coderus 2014-12-26 02:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
MazeLock test patch for u10
To display default keypad/keyboard press and hold maze
To display maze enter "mazelock" in keyboard or "62935625" in keypad
Have settings applet
If you have numeric devicelock enabled you can't use mazelock bigger than 3x3. If you want to enable alphanumeric devicelock use this patch: https://openrepos.net/content/coderu...elock-settings
Download: https://dl.dropboxusercontent.com/u/...0-1.noarch.rpm

veeall 2014-12-26 02:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have modified the 5x6 homescreen patch to have 5x7 grid with icons scaled down by the power of 0.9. It works, but both original patch and mine still have 4 columns in folders (and at the folder icon picker), haven't found a file to tweak to fix this.

This is on Vaarainjärvi.

Code:

--- original/usr/share/lipstick-jolla-home-qt5/launcher/LauncherGrid.qml        2014-06-08 21:55:01.847978384 +0200
+++ patched/usr/share/lipstick-jolla-home-qt5/launcher/LauncherGrid.qml        2014-06-08 22:14:11.587192377 +0200
@@ -17,8 +17,8 @@
 
    property Item reorderItem
    property Item movingItem
-    property int columns: 4
-    property int initialCellWidth: (desktop.width - Theme.paddingLarge * 2) / columns
+    property int columns: 5
+    property int initialCellWidth: (desktop.width - Theme.paddingLarge) / columns
    property real firstRowOpacity: Math.min(Math.max((dashboard.contentY - dashboard.lockscreenAndStatusAreaHeight)/cellHeight, 0.0), 1.0)
    property bool launcherEditMode: desktop.removeApplicationEnabled
    property var launcherModel: model
@@ -31,8 +31,8 @@
    width: cellWidth * columns
    anchors.horizontalCenter: parent.horizontalCenter
    // Increase cellWidth so that icon vertical edges are Theme.paddingLarge away from display edges
-    cellWidth: Math.round(initialCellWidth + (initialCellWidth - Theme.iconSizeLauncher) / (columns - 1))
-    cellHeight: Math.round(Screen.height / 6)
+    cellWidth: Math.round(initialCellWidth + (initialCellWidth - Theme.iconSizeLauncher * 0.9) / (columns - 1))
+    cellHeight: Math.round(Screen.height / 7)
 
    function categoryQsTrIds() {
        //% "AudioVideo"
@@ -440,10 +440,14 @@
                id: launcherIcon
                anchors {
                    centerIn: parent
-                    verticalCenterOffset: rootFolder && index <= 3  ? 0 : Math.round(-launcherText.height/2)
+                    verticalCenterOffset: rootFolder && index < gridview.columns  ? 0 : Math.round(-launcherText.height/2)
                }
                icon: model.object.iconId
                pressed: down
+                width: Theme.iconSizeLauncher * 0.9
+                height: Theme.iconSizeLauncher * 0.9
+                sourceSize.width: Theme.iconSizeLauncher * 0.9
+                sourceSize.height: Theme.iconSizeLauncher * 0.9
                opacity: isUpdating && folderItemCount == 0 ? 0.2 : 1.0
                Text {
                    font.pixelSize: Theme.fontSizeExtraLarge


coderus 2014-12-26 06:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@veeall in LauncherFolder.qml visible rows count is hardcoded

Valvar 2014-12-26 07:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I can't activate the eventsview patch (it just says "failed to install patch"). I tried to uninstall everything related, ausmt, patchutils, etc, but to no effect after reinstallation. When I uninstall the eventsview patch it seems to work, but it throws a "failed to remove patch" error.

wormdrummer 2014-12-26 07:34

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Valvar (Post 1453929)
I can't activate the eventsview patch (it just says "failed to install patch"). I tried to uninstall everything related, ausmt, patchutils, etc, but to no effect after reinstallation. When I uninstall the eventsview patch it seems to work, but it throws a "failed to remove patch" error.

yeah, I'm getting the same, even after completely resetting the device and reloading from scratch. Unfortunately as coderus said earlier, patchmanager isnt very reliable.


All times are GMT. The time now is 07:21.

vBulletin® Version 3.8.8