Patches by ichthyosaurus

Thanx @ichthyosaurus
In the meantime, I discovered a further problem. The patch only works for some time, and then it stops working. I haven’t yet discovered what triggers the stopping. But when it stops, you have to restart lipstick, to make it work again. Maybe it has something to do with OOM. Even so, I doubt, because it just should be a setting. Anyway, the next four days I have no time for Sailfish other than just using my Phone. After that, I will open up accounts and publish the patch. And I will start to write a documentation. Maybe I will find out what triggers the patch to stop in the meantime…

OK, I wanted to make the last steps: Publish the patch and write the promised guide for noobs.
I had first problems because I haven’t got an email for confirmation. But @coderus helped me out. So I will try to publish the patch tomorrow and then I start to write the guide (should be ready within a week).

3 Likes

That’s great news, and there’s no rush! :slight_smile:

It looks like there is still something fishy. When I type

sailfish-patch -Pm
I get the following output:

running wizard for publishing to Patchmanager’s online catalogue…
Each value will be copied to the clipboard. Press any key to load the
next value.

warning: license text not found at COPYING
you can download it using the ‘-eL’ option
Internal name: sfos-patch-three-finger-volume
Display name: Three-Finger-Volume
Unrecognized command line option “-b”, try “-help”.
Description:

Category: Homescreen
Discussion link:
Donations link:
Sources link:
Screenshots (first directory path):
Version: 0.1.0
Compatible versions:
4.5.0.19
Patch archive: /home/darkstar/Downloads/SF/Patches/sfos-patch-three-finger-volume/build/sfos-patch-three-finger-volume-0.1.0-1.tar.gz
awk: line 18: syntax error at or near ,
Changelog:
1.0.0 (2023-06-20):

  • initial public release
    done

The Description isn’t copied to clipboard and there is and syntax error mentioned.
Probably nothing which should stop me from publishing, but if I want to write a guide, I think everything should be as correct as it can be. So probably it is better, when you have a look on my Config file.

I have pasted my config here:

Oh, that looks problematic! I’m without Internet the next week but I’ll have a look at it afterwards.

2 Likes

Ok, then I will wait until then.

It looks like there are problems with preparing the description text and the changelog. Can you run these two commands:

html2text --version
awk --version

… and post the output?

I also fixed some typos in your config: Systemli Paste

Your commads led to errors.
Anyway, it wasn’t to hard to get the wanted output :blush::

awk -W version
mawk 1.3.4 20200120
Copyright 2008-2019,2020, Thomas E. Dickey
Copyright 1991-1996,2014, Michael D. Brennan

random-funcs: srandom/random
regex-funcs: internal
compiled limits:
sprintf buffer 8192
maximum-integer 2147483647

html2text -version
This is html2text, version 1.3.2a

The latest version can be found at http://userpage.fu-berlin.de/~mbayer/tools/

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

1 Like

Thanks :slight_smile: This means you’re using different versions than me (i.e. different tools, to be precise). I’m using GNU awk and this html2text… I’ll have to find a way to make the script compatible with different versions. I’m surprised there’s such a difference between mawk and gawk.

html2text is the version which ships with my Distro (KDE neon - ubuntu LTS based) there is no other version in the standard repos. Regarding awk, mawk and gawk are both available.

I haven’t had the time yet to investigate what exactly breaks compatibility with mawk.

For me it’s the same situation just with a different implementation… This is not too big of a problem though, I will update the script so it falls back to copying the input as-is without converting it.

I wanted to install Patch: Configurable keyboard height on my Xperia XA2 without patch manager. I get the following error message: ** Command “rpm” not found.
Is there a solution?

Where did you download, how did you try to install it?

1 Like

Download: Patch: Configurable keyboard height | OpenRepos.net — Community Repository System
Install with the app file management and then with the button install

Regarding the patch: the easiest way is to install it from Patchmanager’s web catalog. Open the Settings app, go to Patchmanager’s settings page, then select “Web Catalog” from the top pulley menu. There you can search for the patch and install it.

IIRC, this error message is only related to the file preview, not to the actual installation. I assume you installed File Browser from Jolla store? If so, I recommend you install Storeman and then install File Browser through the Storeman app (as well as the patch if you didn’t install it from the web catalog).

“This patch is incompatible with the installed SailfisOS version.” Hahahah…

Uhh… what version are you on?

If you are on the latest release that was published just recently, then you may have to enable the option that allows installing “incompatible” patches in Patchmanager’s settings. The patch should be compatible but I’m traveling at the moment and won’t be able to test it.

No problem, I did not know about this possibility. I will test it.

EDIT: Nothing I set unfortunately changes the keyboard, no matter if reset or device restart.

Once the patch is activated you don’t hve ro restart anything.
What scaling have you set?

For me it is working flawless. I’m on a Xperia 10 II running SF 4.5.0.21.

60% looks like that:

150% like that:

1 Like

I would also like to have it like that and have tried it again. But nothing changes whether I set 60% or 120%.