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)

Markkyboy 2018-09-05 12:24

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

On the latest PM3 (3.0.55) I have to install any of my patches twice before they appear in 'Installed patches' list, then I can apply them. I can also unapply but not remove using menu, there is also no notification regarding removal of the patch in this case, I guess the patch did not then get removed..

I have uninstalled PM3 rebooted and reinstalled. I can remove my patches that are installed from Openrepos using Storeman but the patch stays listed in Installed patches, by closing Settings and opening again, and opening Patchmanager again, the patch is gone from the list but not always. I have tried patches from other users and all yielding the same problem, presumably this is a prob with PM3.

What can I do to sort this?, I know a thing or two about QML you know! :P

coderus 2018-09-05 13:39

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

Originally Posted by Markkyboy (Post 1548045)
SFOS 2.2.1.18

On the latest PM3 (3.0.55) I have to install any of my patches twice before they appear in 'Installed patches' list, then I can apply them. I can also unapply but not remove using menu, there is also no notification regarding removal of the patch in this case, I guess the patch did not then get removed..

I have uninstalled PM3 rebooted and reinstalled. I can remove my patches that are installed from Openrepos using Storeman but the patch stays listed in Installed patches, by closing Settings and opening again, and opening Patchmanager again, the patch is gone from the list but not always. I have tried patches from other users and all yielding the same problem, presumably this is a prob with PM3.

What can I do to sort this?, I know a thing or two about QML you know! :P

I can't reproduce your problem. pm3 openrepos page contains information about retreiving logs.

Markkyboy 2018-09-05 15:44

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

Originally Posted by coderus (Post 1548049)
I can't reproduce your problem. pm3 openrepos page contains information about retreiving logs.

Done, emailed log to you.

Markkyboy 2018-09-07 09:58

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

Originally Posted by coderus (Post 1548049)
I can't reproduce your problem. pm3 openrepos page contains information about retrieving logs.

I guess my log does not help you?.

Never mind, I am resetting my device. What a pain in the butt!

coderus 2018-09-07 10:25

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

Originally Posted by Markkyboy (Post 1548129)
I guess my log does not help you?.

Didn't checked it yet, busy at work.

Markkyboy 2018-09-07 11:57

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

Originally Posted by coderus (Post 1548130)
Didn't checked it yet, busy at work.

Fair enough, your living comes first. No worries, as I've said, I'm resetting the device anyway.

Markkyboy 2018-10-02 10:58

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
As a 'wannabe' coder, I often find myself restarting lipstick. As you know, restarting lipstick cause PM3 to log a problem and unapplies all patches. (resolve failure appears in menu options of PM3)

For instance, I am currently playing with lockscreen (clock & date), I also have your orientation patch applied, as I want to achieve certain goals in both portrait and landscape, but after every restart of lipstick, I have to reapply the orientation patch and restart lipstick AGAIN, this is rather tedious......do you intend any fix for this or is not broken/a bug, as far as you are concerned?

Regards,

coderus 2018-10-02 15:38

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
How do you restart lipstick? It should not happen if you do it in a correct way without killing processes, etc.

Markkyboy 2018-10-02 17:54

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

Originally Posted by coderus (Post 1549083)
How do you restart lipstick? It should not happen if you do it in a correct way without killing processes, etc.

That's a good question, I made a launcher icon and filled the desktop entry with same details used in sailfish utilities for restarting lipstick.

Code:

[Desktop Entry]
    Type=Application
    Name=Refresh
    Icon=refresh
    Exec=nohup sh -c "pkill jolla-settings;systemctl --user --no-block restart lipstick.service" 1>/dev/null 2>/dev/null &
    X-Desktop-File-Install-Version=0.20

or when I'm using SSH, I tend to use ` systemctl --user restart lipstick.service`

coderus 2018-10-02 18:29

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

Originally Posted by Markkyboy (Post 1549086)
That's a good question, I made a launcher icon and filled the desktop entry with same details used in sailfish utilities for restarting lipstick.

Code:

[Desktop Entry]
    Type=Application
    Name=Refresh
    Icon=refresh
    Exec=nohup sh -c "pkill jolla-settings;systemctl --user --no-block restart lipstick.service" 1>/dev/null 2>/dev/null &
    X-Desktop-File-Install-Version=0.20

or when I'm using SSH, I tend to use ` systemctl --user restart lipstick.service`

This should not cause failsafe mode trigger. I'll check when have time.


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

vBulletin® Version 3.8.8