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)

coderus 2015-02-25 05:56

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

Originally Posted by karan5chaos (Post 1461964)
my bad :p
one quick question :
would it be possible for u to implement window switching on just one side ? so that one side would be for app switching and another side for minimizing .

no idea, i didn't decided about whole conccept yet.

veeall 2015-02-25 17:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I it possible to trigger an event/action the moment an user swipes over the touchscreens edge, i mean starting the swipe from the middle of touchscreen and swiping out?

It could be used in folders to drop icons out.

coderus 2015-02-25 17:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Everything is possible in QML

elastic 2015-02-25 19:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus - help needed
I was not able to remove two patches in patch manager before today's update - did a uninstall in warehouse but they were still persistent - maze lock and eventsview controls attached page

did the update anyway - the patches now are still not removable with patch manager - while the added events screen only disappeared the maze lock ist still in the system at boot but doesn't work anymore so I have to switch to normal keypad to log my code ...

could you tell me how to get rid of the two patches ... thx

heubergen 2015-02-25 19:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Have the same problem.

Two patches (Battery StatusBar and Eventsview Control) can I not deactivate. It comes the notification that I can not remove the patches. It's independent if the patches are install or not. (also tried to deactivate the repos)

Can anyone tell me how I can reset the patch manager or how I can use it via terminal so I can see maybe a better error?

andreas1 2015-02-25 21:11

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

Originally Posted by heubergen (Post 1462010)
Have the same problem.

Two patches (Battery StatusBar and Eventsview Control) can I not deactivate. It comes the notification that I can not remove the patches. It's independent if the patches are install or not. (also tried to deactivate the repos)

Can anyone tell me how I can reset the patch manager or how I can use it via terminal so I can see maybe a better error?

same here, those two are the problematic ones. no matter what you, they stay :/

heubergen 2015-02-25 21:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I've als find out that the issues are only on the two listed patches (Battery StatusBar and Eventsview Control).
I think its dependent if the preload service have to restart or not.

Maybe that help the dev by the debugging

pichlo 2015-02-25 21:42

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

I just spent an hour chasing the same problem. 1.1.2.16 has definitely changed something in Eventsview with the direct consequence that all the Patchmanager patches affecting Eventsview no longer work. In my case the problem persisted even after completely uninstalling all the patches and Patchmanager itself. After the reinstallation, Patchmanager thought the Eventsview patch was installed and active when it was neither.

Eventually the only fix I found was manually deleting /var/lib/patchmanager/ausmt/*, where * stands for any patch causing trouble. Better still, uninstall Patchmanager and remove /var/lib/patchmanager completely. After reinstalling Patchmanager and all the patches, everything works fine. You can even install the Eventsview patches; they will appear on the list - deactivated - but will fail to activate until fixed.

ssahla 2015-02-25 21:58

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

Originally Posted by pichlo (Post 1462026)
@all,

I just spent an hour chasing the same problem. 1.1.2.16 has definitely changed something in Eventsview with the direct consequence that all the Patchmanager patches affecting Eventsview no longer work. In my case the problem persisted even after completely uninstalling all the patches and Patchmanager itself. After the reinstallation, Patchmanager thought the Eventsview patch was installed and active when it was neither.

Eventually the only fix I found was manually deleting /var/lib/patchmanager/ausmt/*, where * stands for any patch causing trouble. Better still, uninstall Patchmanager and remove /var/lib/patchmanager completely. After reinstalling Patchmanager and all the patches, everything works fine. You can even install the Eventsview patches; they will appear on the list - deactivated - but will fail to activate until fixed.

Just adding my own experience: I had "Eventsview controls attached page" applied before the update. I unapplied all patches and updated to 1.1.2.16. Reapplied the same patches as I had earlier. Everything works, including Eventsview controls.

So, 1.1.2.16 doesn't break all Events view patches for all users. I haven't tried "Eventsview controls with settings applet" on 1.1.2.16 though.

heubergen 2015-02-25 22:44

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

Originally Posted by pichlo (Post 1462026)
@all,

Eventually the only fix I found was manually deleting /var/lib/patchmanager/ausmt/*, where * stands for any patch causing trouble. Better still, uninstall Patchmanager and remove /var/lib/patchmanager completely. After reinstalling Patchmanager and all the patches, everything works fine. You can even install the Eventsview patches; they will appear on the list - deactivated - but will fail to activate until fixed.

Remove the complete files and reinstall the apps and patchs. Will still not work for me, I get a "failed to install patch" after try to activate the patch Battery StatusBar on Lockscreen

pichlo 2015-02-25 23:16

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

Originally Posted by heubergen (Post 1462034)
Remove the complete files and reinstall the apps and patchs. Will still not work for me, I get a "failed to install patch" after try to activate the patch Battery StatusBar on Lockscreen

That's what I said. The patches will be on the list but they will fail to apply (or "install" if you wish, but "install" is what you do when you get them from Warehouse, nit when you toggle them in Patchmanager).

Quote:

Originally Posted by ssahla (Post 1462028)
Just adding my own experience: I had "Eventsview controls attached page" applied before the update. I unapplied all patches and updated to 1.1.2.16. Reapplied the same patches as I had earlier. Everything works, including Eventsview controls.

That's exactly the patch I had and it broke horribly for me. The difference was that I did not unapply it before the upgrade as I had was under the wrong impression that Patchmanager unapplies all patches on a system upgrade on its own. Now I know better.

It persistently fails to apply now. That one and "Control center in events view."

R1v3r 2015-02-26 05:04

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

There are several problems been in eventsview controls.

Please note that this eventsview with settings applet patch is working for me. This old eventsview control center does show up in patchmanager, but it canīt be applied, but it does not bother me in there.

Please choose correct eventsview. :)

And battery status bar works also fine. Have you updated these patches?

Best Regards,
Mikko

mautz 2015-02-26 10:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I'm also not able to unapply eventsview and mazelock patch after the update and both are not working anymore.

R1v3r 2015-02-26 10:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
For me both works :)

coderus 2015-02-26 11:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
unapply all applied patches which can be unapplied
go to terminal and write following:
Code:

devel-su
pkcon remove ausmt
rm -rf /var/lib/patchmanager
pkcon install lipstick-jolla-home-qt5
pkcon install jolla-settings-system
pkcon install jolla-settings-networking
pkcon install jolla-settings-bluetooth

Then you need to install patchmanager and all patches again rom warehouse. It should work.

cvp 2015-02-26 13:26

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

Originally Posted by coderus (Post 1462085)
unapply all applied patches which can be unapplied
go to terminal and write following:
Code:

devel-su
pkcon remove ausmt
rm -rf /var/lib/patchmanager
pkcon install lipstick-jolla-home-qt5
pkcon install jolla-settings-system

Then you need to install patchmanager and all patches again rom warehouse. It should work.

But dosnt work with "Eventsview controls attached page" or is this patch not working with 1.1.2.16?
I forget this time to unpatch all patches before update :( maybe is this the problem.


Quote:

Originally Posted by ssahla (Post 1462028)
Just adding my own experience: I had "Eventsview controls attached page" applied before the update. I unapplied all patches and updated to 1.1.2.16. Reapplied the same patches as I had earlier. Everything works, including Eventsview controls.

So, 1.1.2.16 doesn't break all Events view patches for all users. I haven't tried "Eventsview controls with settings applet" on 1.1.2.16 though.

can you unpatch your EventsView.qml and upload? or write the source here. Maybe is my Eventsview broken.

heubergen 2015-02-26 13:56

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

Originally Posted by coderus (Post 1462085)
unapply all applied patches which can be unapplied
go to terminal and write following:
Code:

devel-su
pkcon remove ausmt
rm -rf /var/lib/patchmanager
pkcon install lipstick-jolla-home-qt5
pkcon install jolla-settings-system

Then you need to install patchmanager and all patches again rom warehouse. It should work.

Thanks for this, but I've done it right so and it doesn't work for me. Can not apply the patch Battery StatusBar on Lockscreen

coderus 2015-02-26 13:56

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

Originally Posted by cvp (Post 1462095)
But dosnt work with "Eventsview controls attached page" or is this patch not working with 1.1.2.16?
I forget this time to unpatch all patches before update :( maybe is this the problem.

when you install lipstick all your lipstick qml files are overwritten by original ones.

ssahla 2015-02-26 13:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Quote:

Originally Posted by cvp (Post 1462095)
can you unpatch your EventsView.qml and upload? or write the source here. Maybe is my Eventsview broken.

Here.

(Need to write some more characters to post.)

coderus 2015-02-26 14:03

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

Originally Posted by heubergen (Post 1462097)
Thanks for this, but I've done it right so and it doesn't work for me. Can not apply the patch Battery StatusBar on Lockscreen

Battery StatusBar on Lockscreen should be updated for u11, you need to contact patch author.

cvp 2015-02-26 14:08

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus, ok good to know. Any other tip what can i try?

@ssahla, thanks, my file lokk 100% same


@ Battery StatusBar on 1.1.2.16.... it works on my phone, but i use this patch today the first time :)

olpe 2015-02-26 14:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi! Would it be possible to get some kind of an indicator that is visible on lock screen, eventsview or somewhere when the remote access through ssh is enabled.

I am already using SSH access confirmation but it happens quite often to me that i forget remote access enabled.
I don't want to keep it on when not needed...

Or maybe a timer that disables it after some time. Like the ringerrestorer?

elastic 2015-02-26 16:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@ coderus - so removed all patches and patchmanager from terminal and installed lipstick again - thx for the howto - everthing went smooth and works again except the eventsview patches fail to install :-( tried your version with and without attached page ... Any idea

stampsmurf 2015-02-26 17:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i cant get launcher combined patch installed on u11? does it need to be updated?

late88 2015-02-26 17:45

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

Originally Posted by elastic (Post 1462114)
@ coderus - so removed all patches and patchmanager from terminal and installed lipstick again - thx for the howto - everthing went smooth and works again except the eventsview patches fail to install :-( tried your version with and without attached page ... Any idea

I can confirm this. Followed instructions but still can't apply neither of the events view patches.

heubergen 2015-02-26 18:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I will reset my device again, I don't think that the problem can be fixed easier. I mean I made a mistake first so I have to fix and learn from it.

coderus 2015-02-26 19:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
you need to do
Code:

pkcon install jolla-settings-networking
pkcon install jolla-settings-bluetooth

also

elastic 2015-02-26 19:18

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

Originally Posted by coderus (Post 1462141)
you need to do
Code:

pkcon install jolla-settings-networking
pkcon install jolla-settings-bluetooth

also

Hero :) - thx a lot

cvp 2015-02-26 19:37

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

Originally Posted by coderus (Post 1462141)
you need to do
Code:

pkcon install jolla-settings-networking
pkcon install jolla-settings-bluetooth

also


Yiiihaa...thats work :D Thanks!

Fuzzillogic 2015-02-26 20:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I got bitten by these problems too. It seems as if Jolla doesn't care about patchmanager and the patches. Nothing in the latest minor update suggested any problems with the patches I've applied, yet I couldn't even unlock my phone after installing, due to Maze lock being in a b0rked state. Would it help to lobby for a notification system which could warn patchmanager on the files being changed in an update? Or is such mechanism already available?

coderus 2015-02-26 20:14

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

Originally Posted by Fuzzillogic (Post 1462147)
I got bitten by these problems too. It seems as if Jolla doesn't care about patchmanager and the patches. Nothing in the latest minor update suggested any problems with the patches I've applied, yet I couldn't even unlock my phone after installing, due to Maze lock being in a b0rked state. Would it help to lobby for a notification system which could warn patchmanager on the files being changed in an update? Or is such mechanism already available?

I think solution somewhere in description of patch
Quote:

Originally Posted by https://openrepos.net/content/coderus/patch-mazelock
long press showing keypad


az2111 2015-02-26 20:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i have a problem with the patch "better video controls". patch was applied before update. after update i could not unapply this patch anymore.

and after i typed coderus' lines in terminal i could not apply this after reinstall
i every time i get the message faild to install patch.
i tried 0.5.0-10.9.1 and 0.5.1-10.10.1 of the package "sailfishos patches (base)"

could anyone help me?

thanks in advance
best regards
az2111

coderus 2015-02-26 20:28

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

Originally Posted by az2111 (Post 1462152)
i have a problem with the patch "better video controls". patch was applied before update. after update i could not unapply this patch anymore.

and after i typed coderus' lines in terminal i could not apply this after reinstall
i every time i get the message faild to install patch.
i tried 0.5.0-10.9.1 and 0.5.1-10.10.1 of the package "sailfishos patches (base)"

could anyone help me?

thanks in advance
best regards
az2111

pkcon install jolla-gallery
pkcon install sailfish-components-gallery

Fuzzillogic 2015-02-26 20:59

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

Originally Posted by coderus (Post 1462149)
I think solution somewhere in description of patch

Oh I got it back in working order again this morning, so it wasn't a huge problem. It would just be nice if it is possible to prevent getting into such problematic state. I reckon that might need some support from Jolla.

cvp 2015-02-26 21:22

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

Originally Posted by az2111 (Post 1462152)
i have a problem with the patch "better video controls".

i wonder how you get install it before? because i cant install this patch few updates before. Any solution to get it work?

coderus 2015-02-26 21:25

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

Originally Posted by Fuzzillogic (Post 1462157)
Oh I got it back in working order again this morning, so it wasn't a huge problem. It would just be nice if it is possible to prevent getting into such problematic state. I reckon that might need some support from Jolla.

really? patchmanager support from Jolla? You not kidding? :D

pichlo 2015-02-26 21:34

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

Originally Posted by coderus (Post 1462154)
pkcon install sailfish-components-gallery

ITYM sailfish-components-gallery-qt5

Code:

[root@Dinghy nemo]# pkcon install sailfish-components-gallery
Command failed: This tool could not find any available package: could not find sailfish-components-gallery
[root@Dinghy nemo]#

Sadly, even the fixed package name did not solve the problem. Better video controls still fails to apply.

Thanks for the others though, it helped! ;)

coderus 2015-02-26 21:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
ah, it have name sailfish-components-gallery-qt5

Leinad 2015-02-26 22:42

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

Originally Posted by coderus (Post 1462166)
really? patchmanager support from Jolla? You not kidding? :D

hmm, why not? i bet, most of their employees are using some patches too :)
there was a similar problem with warehouse in the beginning...

veeall 2015-02-27 00:07

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Jolla should implement some of the patches. I wonder what is Jollas policy about that?

For example, 'haptic feedback when call goes into established state', so great subtle feature to have.


All times are GMT. The time now is 22:44.

vBulletin® Version 3.8.8