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)

Ancelad 2015-05-13 07:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
:D https://openrepos.net/content/ancela...volume-warning

R1v3r 2015-05-13 07:53

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

Originally Posted by Ancelad (Post 1470201)

Hello,

How is this different with https://openrepos.net/content/nodeve...volume-warning ?

Best Regards,
Mikko

Ancelad 2015-05-13 07:55

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

Originally Posted by R1v3r (Post 1470203)
Hello,

How is this different with https://openrepos.net/content/nodeve...volume-warning ?

Best Regards,
Mikko

AFAIK it doesn't work anymore...

malkavian 2015-05-13 08:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yes, old patch didn't work since months...

Kabouik 2015-05-14 01:34

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Sorry if anyone has asked before, would it be possible to make a patch making the "unlock to last application used" permanent, or at least extend the duration? Currently, it only works until like 30 sec have passed since the Jolla has gone to sleep, and it was introduced in a Jolla update if I remember correctly. I guess it should just be a value to change somewhere?

szopin 2015-05-24 17:55

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

Might be worth adding that to the first post, if someone doesn't uninstall a patch like eventsview before updating it's not possible to recover it with only open repos (it fails to unapply and keeps showing as applied, uninstalling whole patch manager/ausmt and reinstalling keeps the last options, so it is still in 'applied' state), this works (maybe settings should be removed on uninstall of patchmanager itself too)

peterleinchen 2015-05-25 17:47

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

Originally Posted by szopin (Post 1471425)
Might be worth adding that to the first post,

I second that.

Quote:

if someone doesn't uninstall a patch like eventsview before updating it's not possible to recover it with only open repos (it fails to unapply and keeps showing as applied, uninstalling whole patch manager/ausmt and reinstalling keeps the last options, so it is still in 'applied' state), this works (maybe settings should be removed on uninstall of patchmanager itself too)
And even that is not enough.

I ran into similar prob (see some posts above).
And I also did above commands. But that did not solve it completely. One or two patches kept installed and I always found them applied. Please note that it was not settings but really installation status. (possibly those are missing a dependency to ausmt?)

So I found out via
pkcon search patch | grep 'i ' | grep patch
or pkcon search * | grep 'i ' | grep patch
or pkcon list | grep 'i ' | grep patch
or ...
that those two patches (do not remember which, maybe I have a note on my Jolla but not with me) did not get removed. After I did a
pkcon remove *****
and did a re-installation of patch manager and patches everything went well. So maybe add my command also to first post (written by heart, so bear with me if not 100% syntactically correct)..

coderus 2015-05-25 18:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@peterleinchen you can clock on applied patch and it will be marked as unapplied if you reinstalled relevant original packages.

szopin 2015-05-25 19:02

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

Originally Posted by coderus (Post 1471497)
@peterleinchen you can clock on applied patch and it will be marked as unapplied if you reinstalled relevant original packages.

No, clicking on it takes you to patch page (without toggling), you have to toggle by pulldown menu, but this fails and you end up with untoggled still applied patch, maybe there is trick to that but couldn't figure it out and had to dig through this thread to find the commands (maybe separate app then that just tries pkcon remove on all patches and then reinstalls all jolla's relevant bits, patch-cleanup or something)

edit: oh, 'if you reinstalled', probably, for eventsview it already 'unapplied it'

edit2: no wait, I did reinstall eventsview, and after reinstall it would still 'fail' when trying to unapply from the patch page/pulldown menu, it only got unapplied status after reinstalling whole patchmanager (with the rm -rf command from the quoted before post)

peterleinchen 2015-05-25 19:15

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

Originally Posted by coderus (Post 1471497)
@peterleinchen you can clock on applied patch and it will be marked as unapplied if you reinstalled relevant original packages.

Hmm, yes maybe. I think I tried so but could be that I missed the relevant package/patch.
Nevertheless ...

coderus 2015-05-25 19:23

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

Originally Posted by szopin (Post 1471503)
No, clicking on it takes you to patch page (without toggling), you have to toggle by pulldown menu, but this fails and you end up with untoggled still applied patch, maybe there is trick to that but couldn't figure it out and had to dig through this thread to find the commands (maybe separate app then that just tries pkcon remove on all patches and then reinstalls all jolla's relevant bits, patch-cleanup or something)

edit: oh, 'if you reinstalled', probably, for eventsview it already 'unapplied it'

edit2: no wait, I did reinstall eventsview, and after reinstall it would still 'fail' when trying to unapply from the patch page/pulldown menu, it only got unapplied status after reinstalling whole patchmanager (with the rm -rf command from the quoted before post)

of course i mean clicking dot to apply/unapply, and no i didn't meant reinstalling patch package, it does nothing if your system is broken, i mean system packages which contains files modified by patch.

szopin 2015-05-25 19:26

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

Originally Posted by coderus (Post 1471506)
of course i mean clicking dot to apply/unapply, and no i didn't meant reinstalling patch package, it does nothing if your system is broken, i mean system packages which contains files modified by patch.

Clicking the dot? Whoa, will have to try that next time, didn't know the dot itself is a clickable object (only thing that uses that was webpirate and also had to search how to apply adblock as it wouldn't get toggled), thanks!

(idea: patch manager settings backup/restore - keeps info on what patches you have applied, after update, start it, it will reset everything to zero/original status, and then reapply all patches to avoid going through openrepos and browsing 7-8 pages of pacthes? Could be hard as patches need updating, but would be definitely a great thing for quick fix)

anig 2015-06-03 05:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I've created a patch to show the events for the next seven days in the calendar cover. You can get it from open repos.

https://openrepos.net/content/anig/p...cover-upcoming

This is changing two files for the sailfish cover, CalendarCover.qml and CoverEventItem.qml.

romu 2015-06-03 12:03

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

Originally Posted by anig (Post 1472351)
I've created a patch to show the events for the next seven days in the calendar cover. You can get it from open repos.

https://openrepos.net/content/anig/p...cover-upcoming

This is changing two files for the sailfish cover, CalendarCover.qml and CoverEventItem.qml.

It's great! And if you can make the same as a lockscreen widget, that's even better :D

late88 2015-06-08 19:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Anyone figured out which patches still work with latest upgrade 1.1.6.*?
Thanks.

coderus 2015-06-08 19:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
why not try yourself and write it here? it won't explode your phone.

Schturman 2015-06-08 19:31

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

WORK
* Disable word snap selection in Browser
* Select text in browser
* Calendar combo patch (private) - combination of "Calendar Show Day of Week" & "Calendar Start Week on Sunday"
* Camera device at front
* Clock start week on Sunday
* Gallery doubletap reset scale
* Battery status bar on Lockscreen
* Eventsview devicelock return
* Meecast widget
* Conversation background avatar
* Callog patch (private) - package created from this patch
* Disable glass avatar

NOT WORK
* Eventsview controls attached page
* Display sneak peak

coderus 2015-06-08 19:41

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Disable word snap selection in Browser - not needed in this os upgrade, and removed from openrepos. Same for search on page btw.

late88 2015-06-08 19:43

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

Originally Posted by coderus (Post 1473008)
why not try yourself and write it here? it won't explode your phone.

Such a lame comment. I won't upgrade until I'm sure that events view controls are working. Usually someone has the info so why bother?

coderus 2015-06-08 19:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have a bad mood these days to develop anything.

vitaminj 2015-06-08 20:07

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

Originally Posted by coderus (Post 1473011)
Disable word snap selection in Browser - not needed in this os upgrade, and removed from openrepos. Same for search on page btw.

An annoying problem with Warehouse is that once an app is gone, you can't find it to uninstall it, nor can you see what apps you have installed from each author's repo, to uninstall there, or even so you know if you can unsubscribe from a repo entirely.

Anyway, for the above patches, after unpatching, you can remove one or both with:
Code:

pkcon remove sailfish-browser-disablewordsnapselection-patch
pkcon remove sailfish-browser-searchonpage-patch


Quote:

Originally Posted by coderus (Post 1473013)
I have a bad mood these days to develop anything.

I'm sure there's a silent majority (inc. me) that really appreciate all the work you do, coderus - don't let the entitled whingers get you down!

coderus 2015-06-08 20:17

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

Originally Posted by vitaminj (Post 1473018)
I'm sure there's a silent majority (inc. me) that really appreciate all the work you do, coderus - don't let the entitled whingers get you down!

no, it's my personal mood, not related to internet. had headaches last week :(

szopin 2015-06-08 21:16

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

Originally Posted by Schturman (Post 1473009)
For me:

WORK
* Disable word snap selection in Browser
* Select text in browser
* Calendar combo patch (private) - combination of "Calendar Show Day of Week" & "Calendar Start Week on Sunday"
* Camera device at front
* Clock start week on Sunday
* Gallery doubletap reset scale
* Battery status bar on Lockscreen
* Eventsview devicelock return
* Meecast widget
* Conversation background avatar
* Callog patch (private) - package created from this patch
* Disable glass avatar

NOT WORK
* Eventsview controls attached page
* Display sneak peak

Few more
Working:
Maths in alarm
Next events in calendar cover
Disable volume warning (the new version)

Non-working:
Eventsview with settings page

Disappeared from available patches:
Dismiss notifications by swipe (can't reinstall as conflicts with current lipstick)

Schturman 2015-06-08 22:42

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

Originally Posted by szopin (Post 1473029)
Disappeared from available patches:
Dismiss notifications by swipe (can't reinstall as conflicts with current lipstick)

Also noticed about this...

skanky 2015-06-09 07:50

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

Originally Posted by szopin (Post 1473029)
Few more
Disappeared from available patches:
Dismiss notifications by swipe (can't reinstall as conflicts with current lipstick)

Doesn't the latest version (I'm not in on the early adoption) provide that functionality?

I could go and re-read the change notes and roadmap, but I thought I read it on one of them, yesterday.

coderus 2015-06-09 07:54

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

Originally Posted by skanky (Post 1473052)
Doesn't the latest version (I'm not in on the early adoption) provide that functionality?

I could go and re-read the change notes and roadmap, but I thought I read it on one of them, yesterday.

Of course no, it's not a native sailfishos gesture.

pichlo 2015-06-09 08:24

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

Originally Posted by Schturman (Post 1473009)
For me:

WORK
* Disable word snap selection in Browser
* Select text in browser
* Calendar combo patch (private) - combination of "Calendar Show Day of Week" & "Calendar Start Week on Sunday"
* Camera device at front
* Clock start week on Sunday
* Gallery doubletap reset scale
* Battery status bar on Lockscreen
* Eventsview devicelock return
* Meecast widget
* Conversation background avatar
* Callog patch (private) - package created from this patch
* Disable glass avatar

* Show month and DoW heading in Calendar
* Better video controls
* Date & Network
* Date in one line
* Disable background dim
* Disable windows shuffle
* Disable volume warning
* Remorse Timeouts Control

Quote:

NOT WORK
* Eventsview controls attached page
* Display sneak peak
* Better Call-Log (has not worked since at least 1.1.4.x)
* Title visible in edit mode (as above)
* Control center in events view

carmenluci 2015-06-09 08:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Mazelock and Launcher combined patches are working in 1.1 6.27?

skanky 2015-06-09 08:45

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

Originally Posted by coderus (Post 1473053)
Of course no, it's not a native sailfishos gesture.

Oh, okay. I'll have another look, thanks.

Ancelad 2015-06-09 10:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Zoom Patch update https://openrepos.net/content/ancela...ery-image-zoom

vistaus 2015-06-09 10:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Launcher combined works fine in 1.1.6 and Better callog also works fine for me in 1.1.6 And Vibrate when connected also works, Conversation background also and Enter key to send messages also.

Still waiting for Events View Controls update so that I can really, really enjoy 1.1.6 again :D

Fellfrosch 2015-06-09 13:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I'm also longingly waiting for the Event View Controls update.
Without it Sailfish don't feel complete...

carmenluci 2015-06-09 14:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Mazelock is working fine too ;)

nodevel 2015-06-10 08:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
So... I fixed the Events View Controls patch by coderus for U15 and made a pull request on Github.

You can download the rpm here (coderus, let me know if you have any problem with that).

Howgh :)

coderus 2015-06-10 08:57

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

Originally Posted by nodevel (Post 1473144)
So... I fixed the Events View Controls patch by coderus for U15 and made a pull request on Github.

You can download the rpm here (coderus, let me know if you have any problem with that).

Howgh :)

yeah, you ruined dataconnection fix for eventsview

nodevel 2015-06-10 09:29

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

Originally Posted by coderus (Post 1473145)
yeah, you ruined dataconnection fix for eventsview

Yeah, I mentioned it in the pull request, however it works for me, that's why I decided to release it.

I have no problem with the dataconnection in the Events View (as of now) and everything works just like before.

EDIT:
The way it is handled in DataConnection.qml has now changed and I don't have the time to investigate it further. If anyone has any problems, they have to wait. I am not experiencing any problems, so I didn't see any reason not to share my work (with a big pre-release warning on Github :) ).

EDIT 2:
That being said, the mobile connection switch sometimes didn't work for me even in U13 (with your patch), so it likely wasn't a definite fix. I see that Jolla itself is making changes towards universal use (for the new Events View).

szopin 2015-06-10 17:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thanks nodevel! The settings seem to be applied bit differently, but with a but of tweaking got it working as previously (btw, for me connectivity icon/toggle also sometimes used to not work, shuffling the shortcuts around usually helped)

Leinad 2015-06-10 18:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
how did you tweak it? for me it's greyed out and not clickable. everything else works.

szopin 2015-06-10 19:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Oh wait, you meant the icon, just remove/apply shortcuts to settings until you find place where it works, in U13 it was second position for me, did not work in 3rd and 4th (maybe also switching the amount of columns could help, no idea). Even in the position it 'worked' it would sometimes keep being gray, but airplane mode on/off usually fixed it

Just added to see if it still works, nope, seems to be broken in each position, nvm mind me (always on now, so assumed it would be similar as before, now seems properly broken)

Leinad 2015-06-10 19:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
thanks, sadly did not work for me, but maybe it will fix itself magically after some time :)


All times are GMT. The time now is 18:05.

vBulletin® Version 3.8.8