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)

pikejake 2014-06-16 15:06

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

Originally Posted by nodevel (Post 1429747)
  1. disable all patches
  2. uninstall patchmanager-eventview-controls (which now conflicts with Patch Manager
  3. try if the installation of PM works. If not, contact the author of patchmanager-eventview-controls

I have already disabled all patches and uninstalled patchmanager. Trying to uninstall eventview gives a another error. Will try to contact author.
Thanks for help.

Sfiet_Konstantin 2014-06-18 07:39

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

Originally Posted by pikejake (Post 1429781)
I have already disabled all patches and uninstalled patchmanager. Trying to uninstall eventview gives a another error. Will try to contact author.
Thanks for help.

Tried

Code:

rpm -e --noscripts pandora-eventview-controls
?

pikejake 2014-06-18 11:38

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

Originally Posted by Sfiet_Konstantin (Post 1429991)
Tried

Code:

rpm -e --noscripts pandora-eventview-controls
?

Thank you! After that I uninstalled patchmanager daemon and I was able to install patchmanager again. :p

ssahla 2014-06-18 20:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
After the latest update I have Better Call-Log twice in the list of patches. (I had it installed separately before the update.) The older one, when tapped, tells me "This patch is no (sic) available anymore. You won't be able to reinstall it." If I choose "Unapply patch", it is removed from the list, but the next time I launch PM it's there again. Now how can I get rid of the duplicate? In /usr/share/patchmanager/patches there is only one Better Call-Log, base-better-callog.

jpsorvisto 2014-06-19 07:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have the lates version of SailfisOS 1.0.7.16 and I tried to install PatchManager version 0.4.4.
Installation didn't work and I got error message.
----------------------
Transaction /4114_aaedebcb
Status: dep-resolution-failed
Extra details:
patchmanager-ui-0.4.4-10.7.1.joola.armv7hl
requires patchmanager = 0.4.4-10.7.1.jolla, but this requirement cannot be provided

Dismiss
--------------------
Have you any idea what went wrong and what I should to do?

jp

pikejake 2014-06-19 12:09

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

Originally Posted by jpsorvisto (Post 1430119)
I have the lates version of SailfisOS 1.0.7.16 and I tried to install PatchManager version 0.4.4.
Installation didn't work and I got error message.

Have you any idea what went wrong and what I should to do?
jp

I had the same problem. Search for "patchmanager daemon" in Warehouse and try to uninstall it. If you get an error about "somethingsomething pandora-eventview-controls", run the code Sfiet_Konstantin posted.

igor_b 2014-06-22 21:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
i think having a calendar feed showing events for current day on lockscreen (above clock) would be really usefull. or maybe just a text block showing some other info.

can someone give me few hints on how would i implement that. i tried editing /usr/share/lipstick-jolla-home-qt5/qml/Lockscreen.qml but i can't put anything on lockscreen. i tried simple things for testing like adding another clock above current or adding just a text element above clock but nothing changes after restarting homescreen from patchmanager (except on one occasion where i managed to break the whole thing :)).

Makeclick 2014-06-27 05:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
For start, sorry, i am new Patchmanager user :)

I installed:
Patchmanager
bace
advanced

but i do not find the unlimited multitaskin or the slide swipe.. There is actually very short list of patches :/. What i doing wrong. This Thread is so BIG and scary :D and little bit mess for new patcher like me :/... Help

Edit: OK it's Swipe feedback Love it! Thank you!

youmeego 2014-07-03 15:39

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Cannt see the unlimited multitasking in the patchmqnager, I also like the swipe feedback


Jolla should implement some of the ideas front his thread.

Kaacz 2014-07-04 19:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
2 Attachment(s)
** Date in Clock region **

I was modify file Clock.qml - I was make smaller Time and put Date to this region. Visible on Lock Screen and and via quick-peek look from apps.

file and screnshots

Edit: I was modify Lockscreen.qml for disable dynamic show Date over CellularNetworkName by simply minimalistic way. File added to link.

Edit2: I was crate two versions - "Date above Time" and "Date under Time". All is under link.

Edit3: I was move patch for update 1.7 under own dir and create new patches for update 1.8 in own dir. Works with LPM/Glance also. All is under link. Patch Lockscreen.qml for "date on top" fixed 18.7.

Edit4: pulled to github for next adv-patches in openrepos..

First ugly way to apply: Download both .qml files and copy over original to /usr/share/lipstick-jolla-home-qt5/qml/ dir. Will be good to make backup of original files somewhere. :)

Second ugly way: In link is file "adv-homescreen-date-in-clock.tar" patch for patchmanager added also. Download it to Jolla, deploy in terminal via "tar xvf adv-homescreen-date-in-clock.tar". Copy deployed dir to /usr/share/patchmanager/patches/ under root. Then use patchmanager GUI for apply. Better way with GUI add/remove. :)

Last step is put it to github together with advance patches for openrepos.. uff :)

HtheB 2014-07-04 19:32

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

Originally Posted by Kaacz (Post 1431848)
** Date in Clock region **

I was modify file Clock.qml - I was make smaller Time and put Date to this region. Visible on Lock Screen and in case quick-right-side look from apps.
Now I need learn "how to make patch-rpm for patchmanager". :)

file and screnshots

PS: dynamic date swapped with operator name is not removed - it is in file Lockscreen.qml.

FINALLY!
Just what I needed!

http://thewildandthewicked.files.wor...static_yay.gif

akira.pwr 2014-07-05 05:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Is there a list of all patches avayable? Are all on Warehouse or are there some in other places?

Schturman 2014-07-06 08:22

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

Originally Posted by Kaacz (Post 1431848)
** Date in Clock region **

I was modify file Clock.qml - I was make smaller Time and put Date to this region. Visible on Lock Screen and in case quick-right-side look from apps.
Now I need learn "how to make patch-rpm for patchmanager". :)

file and screnshots

PS: dynamic date swapped with operator name is not removed - it is in file Lockscreen.qml.

Where you put your file ?
I tried to put it to /usr/share/jolla-clock/pages/main instead of orig. file, but no effect at all, not after lipstick restart and not after reboot :( I use 24h clock.

Kake41 2014-07-06 11:18

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

Originally Posted by Schturman (Post 1431930)
Where you put your file ?
I tried to put it to /usr/share/jolla-clock/pages/main instead of orig. file, but no effect at all, not after lipstick restart and not after reboot :( I use 24h clock.

The correct location:
/usr/share/lipstick-jolla-home-qt5/qml
Rename the downloaded file to Clock.qml and overwrite the old file.

Schturman 2014-07-06 11:29

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Ahh, thanks :)

LouisDK 2014-07-10 18:27

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

Originally Posted by TemeV (Post 1421740)
You should be able to add anything from the settings. Just long press and "add to favorites"

I've found a bug in "Sailfishos patches (advanced)"

When I long press an icon and select "Remove from favorites" nothing happens so this menu entry should be removed.

It would not be a good idea to make it possible to remove favorites directly from the eventview because people could remove it by a mistake when they want to disable something in a hurry.

Kaacz 2014-07-11 08:36

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I was make some improvements and patched Lockscreen.qml for disable dynamic Date for use together with "Date in Clock".

Files for patchmanager are created also. Because I am not have work-experience with github, will by good to add this directory to github with other adv- patches. Before I learn "Github things". :)

@Sfiet_Konstantin: Is possible add it to github a release sailfishos-patches-advanced with this patch?

Edit: new screenshots added :)

Edit2: patch for update 1.8 added.

For some languages witch rich/long weekday/month names ( eg. Suomi :) ) i want change date format to month in number only .. stay tuned .. :)

tvicol 2014-07-11 11:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Can we have wifi ssid on lock screen as well ?

BonoNL 2014-07-11 20:40

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

Originally Posted by igor_b (Post 1430612)
i think having a calendar feed showing events for current day on lockscreen (above clock) would be really usefull. or maybe just a text block showing some other info.

can someone give me few hints on how would i implement that. i tried editing /usr/share/lipstick-jolla-home-qt5/qml/Lockscreen.qml but i can't put anything on lockscreen. i tried simple things for testing like adding another clock above current or adding just a text element above clock but nothing changes after restarting homescreen from patchmanager (except on one occasion where i managed to break the whole thing :)).

That would be great! Some people want it on feed screen for sure but that seems to be to hard at this point as far as I have understand.

cvp 2014-07-14 17:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
after new update 1.0.8.19

Better video control - WORK
5x6 launcher - WORK
Control center in ambience - Fail to Install
Control center in event view - WORK
Force 2x2 multitask grid - Installed but overlay App-Launcher if 7+ Appsare open
Force 3x3 multirask grid - Work, but 9+ apps will not show
Swipe feedback - Fai to Install
Title visible in edit mode - Fail to Install
Besser Call-Log - Installed but not work
Disable volumen waring - WORK
Vibrate when connected - WORK
Volumen slider fix for control center - Installed but not work (ambience)

zlucoblij 2014-07-15 01:29

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

Originally Posted by malkavian (Post 1428999)
I bricked my phone :eek::( after update and then reinstalling lipstick (I readed late that it isn't needed now) and instructions from first post didn't work.

But I recovered it by Recovery mode ---> Shell ---> mkdir /mnt/rootfs && mount /dev/mmcblk0p28 /mnt/rootfs && chroot /mnt/rootfs ---> I mounted proc sysfs and /dev/pts but maybe not needed

Then, to get internet in the Jolla in Recovery mode in my Debian GNU/Linux I done:

sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

And in my Jollaadded some nameservers to /etc/resolv.conf because if not, it can't resolve repo names to IPs and:
route add default gw 10.42.66.67

Finally I installed normal lipstick-qt5 with: zypper in -f lipstick-qt5
Unmounted sys proc and /dev/pts from the chroot. Can't umount /mnt/rootfs because /sbin/busybox-static and other processes were using it (info got by "lsof /mnt/rootfs" command). I done "killall -15 busybox-static" and telnet recovery mode closed (:confused: I made a stupid killall) and phone rebooted.

And now works!!! Without having to reset it :D:D:D:D

I could make a better understandable guide if somebody ask...

Life saver. Thanks man!!!!

malkavian 2014-07-15 10:08

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Happy to help :)

Sfiet_Konstantin 2014-07-15 13:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Geez, Jolla released their update faster than I can catch up. I will update my patches asap, and take a look at newer patches (cf Kaacz and also Coderus's icon in folders).

gehowa 2014-07-16 08:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?

coderus 2014-07-16 08:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Sfiet_Konstantin: my patch is not perfect.

Eminem 2014-07-16 11:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Do the Date in Clock region work if you do it manually or not now after the update?

Sfiet_Konstantin 2014-07-16 16:21

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

Originally Posted by gehowa (Post 1432953)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?

Looks good, but cannot accept, as I only accept contributions through git. It's not that hard :)

About your patch, you would probably want to stop the timer when then the timer has been triggered, or do you want it to repeatly go to next track ?

EDIT: and you need absolute path in your patch (check existing patches)

luke_dirtwalker 2014-07-16 16:33

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

Originally Posted by gehowa (Post 1432953)
@Sfiet_Konstantin: I've created a patch to change how one-button wired headsets interact with the mediaplayer (see attachment). Maybe you would consider including that as well?


Where did you find this file (the AudioPlayer.qml)? Im interested to look at it..

Edit: nevermind its at: /usr/lib/qt5/qml/com/jolla/mediaplayer/

gehowa 2014-07-16 20:05

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

Originally Posted by Sfiet_Konstantin (Post 1433019)
Looks good, but cannot accept, as I only accept contributions through git. It's not that hard :)

Fair enough, then I'll try to use github :)

Quote:

Originally Posted by Sfiet_Konstantin (Post 1433019)
About your patch, you would probably want to stop the timer when then the timer has been triggered, or do you want it to repeatly go to next track ?

Button press triggers the timer, button release within 500ms stops it. When the timer runs out, it switches to the next song -- but only once. Works like a charm, at least on my device ;)

Kaacz 2014-07-17 22:07

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

Originally Posted by Eminem (Post 1432977)
Do the Date in Clock region work if you do it manually or not now after the update?

Date in clock have new version for update 1.8..

akira.pwr 2014-07-17 22:40

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

Originally Posted by Kaacz (Post 1433193)
Date in clock have new version for update 1.8..

Where can I find the rpm?

Kaacz 2014-07-18 00:02

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

Originally Posted by akira.pwr (Post 1433195)
Where can I find the rpm?

I was pulled it to github for next package adv-patches (patchmanager) in openrepos..

Kaacz 2014-07-18 01:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Sfiet_Konstantin: Please, where patchmanager remember status of patches? I have two callog patches in gui .. and one of my patches is still "on" in gui but not exist on disk.. I need clean it, i am unable to test patches...
PS: 1) i was uninstall all .. and no one patchmanager config file in /home/nemo was found .. 2) When i make webosinternals.orig and put new patched version, patchmanager failed to remove "active" patch. Maybe remember somewhere more than status .. maybe date/size or checksum of previous patch?

Edit: SOLVED. This is under /var/lib/patchmanager/ausmt :)

Uninstall of patchmanager remove pm-daemon, pm-gui, patches .. but not ausmt and /opt/patchmanager backup.
Uninstall of ausmt not remove /var/lib/patchmanager/ausmt/ .. need to be removed by hands. :)
Now I have (I hope) "clean" os for new install of patchmanager. :)

Kaacz 2014-07-18 10:09

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
OK. After some troubleshooting with zombie/ghost patches after non-regular steps in case OS update, I got way to clean up this.

0) "devel-su"
1) "zypper remove ausmt" # this remove all except some data
2) remove /opt/patchmanager
3) remove /var/lib/patchmanager
4) "zypper in -f lipstick-jolla-home-qt5" # reinstall original lipstick

Now is all clean and prepared for new installation patchmanager and patches. :)

PS: Always I was use (usb)ssh connection and MidnightCommander in terminal for better work via desktop PC. It's very good in case, when my hack freeze phone screen. It's not problem to return original .qml file and run homerefresh. :)

Makeclick 2014-07-27 08:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
When swipe feedback is back online :)? Love it!

Mitrigol 2014-07-28 13:44

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I have the settings in event view enabled and it show every shortcut properly, still has the mobile data greyed icon sometimes, but this is already known.

But, i found another issue, i have the transfert view as favourites. when i open it from event view, i get a blank list, but when i open it from settings, i get my list of transferred files.

This is not critical, just wanted you to know.

br

Boxeri 2014-07-28 16:30

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

Originally Posted by Mitrigol (Post 1434097)
I have the settings in event view enabled and it show every shortcut properly, still has the mobile data greyed icon sometimes, but this is already known.

But, i found another issue, i have the transfert view as favourites. when i open it from event view, i get a blank list, but when i open it from settings, i get my list of transferred files.

This is not critical, just wanted you to know.

br

Yes, this happens for me as well. Started after the latest OS update

Bundyo 2014-07-29 13:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Same happens with the WiFi list - empty when opened from events.

ridmaur 2014-08-03 08:24

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Whenever I try to install the latest GUI for patch manager, I do get an error: Problem with installing - patch manager-ui.
I think I did all the cleanup from previous version but apparently not. What can I do to fix?

veeall 2014-08-10 18:03

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Pstchmanager has 5*6 homescreen patch with scaled down icons - to my taste 5*7 without downscaling looks perfect. See below. Jollas bevel adds necessary black at the edges, not seen on screenshot.

Edit: though my icons are a bit smaller than originals.


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

vBulletin® Version 3.8.8