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)

pichlo 2016-09-10 19:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@cy8aer, 5 minutes is a bit of an exaggeration but it can take a minute or two, depending on how many patches you have enabled (not just installed). Unapplying each one triggers a popup for 5 seconds. I have 18 patches; that is 18 x 5s = 90s, or a minute and a half waiting.

Ancelad 2016-09-26 14:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Finally - alarm indicators! https://openrepos.net/content/ancela...n-analog-clock

R1v3r 2016-10-06 06:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Not sure, if this is some patch problem or not.

I tried to install new updates.

I have this unapply patches on upgrade.

There was 2 patches that did not unapplied. (It did not install system update though.)

Patches were this Unapply all patches on upgrade, and another was this Show ringtone volume in status bar.

Best Regards,
Mikko

pichlo 2016-10-06 06:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Leave "Unaply patches on upgrade" alone. Try removing the other one manually in Patchmanager.
Did it work? If not, there may be a compatibility issue with another patch.

R1v3r 2016-10-06 07:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Sorry. Too fast :D Just unapplied these both manually and then upgraded.

I noted, that when unapplied this Show ringtone volume in status bar and then restart services, this seems to be still applied. (So these is something wrong with that patch)

When pressing Unapply, Balloon goes from white to gray, but does not say any texts that unapplying patch...


Edit: Patches not working on Fiskarsjärvi:
Devicelock faith text
Less home animations

mautz 2016-10-06 12:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Also not working on 2.04:

Gallery zoom patch
Lock screen media buttons
No home carousel
No notification preview
Increase speaker volume
Show album's art

Ancelad 2016-10-06 14:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
All my "not"-working patches will be updated in 1-3 days

Ancelad 2016-10-06 15:20

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

mautz 2016-10-06 16:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
That was fast, thank you!!!

R1v3r 2016-10-07 04:15

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

Could you help me with my btrfs?

I have this btrfs tool, that you have made.

It shows at the moment, that I have used 95% (But when I check data, it says 8,8 GB used and 4,9 Gb is free...)

Is there any way to fix this? (Hasn´t help, that it runs daily/weekly..)

mautz 2016-10-07 04:20

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

Originally Posted by R1v3r (Post 1516323)
@Schturman

Could you help me with my btrfs?

I have this btrfs tool, that you have made.

It shows at the moment, that I have used 95% (But when I check data, it says 8,8 GB used and 4,9 Gb is free...)

Is there any way to fix this? (Hasn´t help, that it runs daily/weekly..)

You need to run btrfs balance...here is everything explained:
https://together.jolla.com/question/...ious-problems/

R1v3r 2016-10-07 05:13

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

Originally Posted by mautz (Post 1516325)
You need to run btrfs balance...here is everything explained:
https://together.jolla.com/question/...ious-problems/

Thanks for this. I have been looking this page many times before and (as far as I know) I have run balancer. (If I understood correctly, this Schturman balancer should run balancer, if needed?)

I just ran balancer. And at this point, it is showing 80%! (Edit: This is still strange, while I have approx 33% available space, but it shows only 20% of free allocation.)

Code:

[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# btrfs-balancer allocation
Total:    14763950080 bytes
Used:      14098230149 bytes
Allocated: 95 %
[root@Sailfish nemo]# btrfs-balancer balance
Balancing... 0 %
Balancing... 10 %
Balancing... 20 %
Balancing... 35 %
Balancing... 50 %
Balancing... 75 %
Balancing... 81 %
Balancing... 89 %
Balancing... 96 %
Balancing... 96 %
Balancing... 96 %
Balancing... 97 %
Balancing... 97 %
Balancing... 98 %
Balancing... 98 %
Balancing... 99 %
Balancing... 99 %
Balancing... 100 %
Finished.
[root@Sailfish nemo]# btrfs-balancer allocation
Total:    14763950080 bytes
Used:      11950746501 bytes
Allocated: 80 %
[root@Sailfish nemo]#

Thanks mautz!

@Schturman,

Is this btrfs balancer running balance correctly?

pichlo 2016-10-07 06:47

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

Originally Posted by R1v3r (Post 1516327)
This is still strange, while I have approx 33% available space, but it shows only 20% of free allocation.

There is nothing strange about that. That's btrfs for you.

Schturman 2016-10-08 17:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
R1v3r, my BTRFSchecker work in this way:
1. It check what the current state, same command as you wrote manually:
Code:

btrfs-balancer allocation
2. If option "Run balancer when needed" is activated and allocation more than 13153337344 or 89% it automatically will start balancer command from official /lib/systemd/system/btrfs-balance.service file that disabled by default:
Code:

/usr/sbin/btrfs-balancer balance -b 50 -a 75
3. If allocation less 13153337344 or 89% and "Run balancer when needed" activated, script look on slider value and change it in the command:
Code:

/usr/sbin/btrfs-balancer balance -b 50 -a <slider value>
That all ;)

R1v3r 2016-10-10 06:00

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

Originally Posted by Schturman (Post 1516438)
R1v3r, my BTRFSchecker work in this way:
1. It check what the current state, same command as you wrote manually:
Code:

btrfs-balancer allocation
2. If option "Run balancer when needed" is activated and allocation more than 13153337344 or 89% it automatically will start balancer command from official /lib/systemd/system/btrfs-balance.service file that disabled by default:
Code:

/usr/sbin/btrfs-balancer balance -b 50 -a 75
3. If allocation less 13153337344 or 89% and "Run balancer when needed" activated, script look on slider value and change it in the command:
Code:

/usr/sbin/btrfs-balancer balance -b 50 -a <slider value>
That all ;)

Thanks!

Don´t know about that balancing, but for some reason, it did not balanced for me. (After I run manually this btrfs-balancer balance, it is good)

Mikkosssss 2016-10-10 07:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Coderus did mazelock buttons just get very hard to hit? I really have to focus at hitting first one.
At first I thought it was broken and could not unlock at all and went with normal numbers.

coderus 2016-10-10 07:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
yeah, ther eis some problem in 2.0.4, i'll look later this week.

pichlo 2016-10-10 10:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
When you are looking, could you please also have a look at the landscape positioning?
The keys used to sit neatly in the centre but now (in landscape, using your patch) there are very much at the top of the screen, with the emergency call button almost completely off the screen.
This is not new in 2.0.4, it changed a few months ago

Ancelad 2016-10-10 12:20

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

Originally Posted by pichlo (Post 1516534)
When you are looking, could you please also have a look at the landscape positioning?
The keys used to sit neatly in the centre but now (in landscape, using your patch) there are very much at the top of the screen, with the emergency call button almost completely off the screen.
This is not new in 2.0.4, it changed a few months ago

it is SFOS-issue

pichlo 2016-10-10 12:56

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

Originally Posted by Ancelad (Post 1516544)
it is SFOS-issue

A known issue can be worked around, no? ;)

Ancelad 2016-10-10 14:34

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

Originally Posted by pichlo (Post 1516546)
A known issue can be worked around, no? ;)

yes, but we have some design bounds, for example current design is good for Tablet, but not for phone, and so on...

Bundyo 2016-10-10 15:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Ancelad bug report :)
http://talk.maemo.org/showthread.php...16#post1516516

Ancelad 2016-10-10 16:10

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

Originally Posted by Bundyo (Post 1516552)

I know, searching for solution

coderus 2016-10-28 08:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
https://openrepos.net/content/coderu...count-switcher

mariusmssj 2016-11-07 11:55

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

Quote:

transaction /464_deaCAEC
Status: repo-not-avialble
errors every time i try to install the patch manager

R1v3r 2016-11-23 08:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Not sure, if anyone else updated to 2.0.5.6 but I did.

Patch not working, (That I use)

Less home animations
Messages Layout

Others working :) (at least applied)

mautz 2016-11-23 10:46

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

Originally Posted by R1v3r (Post 1519230)
Not sure, if anyone else updated to 2.0.5.6 but I did.

Patch not working, (That I use)

Less home animations
Messages Layout

Others working :) (at least applied)

Which ones are working?

R1v3r 2016-11-23 11:10

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

Originally Posted by mautz (Post 1519239)
Which ones are working?

I am using:
Add more calenfars,
Camera device&overlay...
Always show group deletion
Eventsview control
Launher combined
Maze lock
Notification dismiss
restore swipe to lock
Switcher hints launher
UI rotate free
Conversation background avatar
Enter key to send messages
Autocapitalization settings
callog timedisplay
disable glass avatare
gps supplier
unapply all patches on upgrade
remorse timeouts control

eson 2016-11-23 12:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Volume control settings by alina do not apply on SFOS 2.0.5.6

Schturman 2016-11-23 16:44

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
3 Attachment(s)
All this patches work for me (also Remorse accept button):

cy8aer 2016-11-23 18:22

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Not working:
  • Return old message cover

Uninstalled with Upgrade:
  • Ultimate statusbar patch
  • Voice call combined patch

Works:
  • Launcher combined patch
  • Ambience Powermenu2
  • Lockscreen analog clock

atlochowski 2016-11-23 18:58

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Alina has updated his patches so now you can install
  • Settings for Messages layout
  • Volume control settings

elastic 2016-11-23 19:14

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Ancelad's 'Enhanced Power Menu' stopped working

pichlo 2016-11-23 19:36

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

Uninstalled with Upgrade:
  • Ultimate statusbar patch
  • Voice call combined patch

  • Devicelock faith text
  • Return old pulley menu

Quote:

Works:
  • Launcher combined patch
  • Ambience Powermenu2
  • Lockscreen analog clock

  • Go to date in Calendar
  • Return remorse timer in Clock
  • Hide recent contacts
  • Disable volume warning
  • Extend number of days in Weather forecast widget
  • Free rotate for Phone
  • Maze lock
  • Hide Tutorial icon
  • Keypad open by default
  • Unapply all patches on Upgrade
  • Remorse Timeout Controls
  • Return old remorse item animation
  • Return old remorse popup animation

Ancelad 2016-11-23 19:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I need some time to update my patches, maybe a week... I'm far from home and PC :)

elastic 2016-11-23 20:22

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

Originally Posted by Ancelad (Post 1519270)
I need some time to update my patches, maybe a week... I'm far from home and PC :)

No worries - take your time and enjoy it ;-)

coderus 2016-12-11 11:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hello Ladies and Gentleman!

Welcome to first public testing Patchmanager 2.0!

https://openrepos.net/content/coderus/patchmanager-20

This new version allow you to install patches directly from application web catalog. Patch makers should upload their patches here: https://coderus.openrepos.net/pm2

Please consider posting bugs and ideas here.

Have a good weekend!

R1v3r 2016-12-11 11:58

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

Originally Posted by coderus (Post 1520356)
Hello Ladies and Gentleman!

Welcome to first public testing Patchmanager 2.0!

https://openrepos.net/content/coderus/patchmanager-20

This new version allow you to install patches directly from application web catalog. Patch makers should upload their patches here: https://coderus.openrepos.net/pm2

Please consider posting bugs and ideas here.

Have a good weekend!

First stupid(?) question.

Do I have to uninstall patchmanager 1 and all the patches before?

coderus 2016-12-11 12:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
No. It support old patches too.

Schturman 2016-12-11 12:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Can we upload .rpm files ? What it mean "Patch archive", zip with files, folder with files or every file separately ?
Hmmm, here: Valid patch file extensions are: .zip .tar.gz .tar.bz2 .tar.xz
It mean all files should be here separately, or I can create zip with folders where all files should be ?

You also say:
Quote:

Patch file should contain three files:
- unified_diff.patch - patch file
- main.png - patch icon, displayed in catalog application
- main.qml - patch main page with information and configuration
and if patch include only unified_diff.patch and patch.json and don't have main.qml ? Can you show example of main.qml ?

P.S. what with other extensions like .ini, conf, sh, py, wav...

P.S2. can rpm's created not on your site be applied with this patchmanager2, when it installed for example from Warehouse app or manually from device ?


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

vBulletin® Version 3.8.8