Shows Calendar summary on the lock screen abusing ambience wallpaper (and other
things) because there is no other way as lock screen does not support widgets,
is closed source and there is no usable API.
Patches welcome.
Note: This is a hack. If you want the real thing done properly, don't forget to vote here: https://together.jolla.com/question/3444/show-calendar-event-title-direc...
Note2: As openrepos can't find dependencies in other repositories, ImageMagick that is included here is taken from this repository: https://openrepos.net/content/nieldk/imagemagick
Attachment | Size | Date |
---|---|---|
calendarbience-0.1.6-1.armv7hl.rpm | 8.86 KB | 21/12/2014 - 14:34 |
imagemagick-6.8.8-7.armv7hl.rpm | 1.58 MB | 19/12/2014 - 19:59 |
- Initial version
Comments
Schturman
Thu, 2015/04/30 - 00:37
Permalink
Nice, but can't show right-2-left language (hebrew), it show "?????? ??? ???".
Can you fix it?
Thanks
boebbele
Tue, 2015/03/24 - 16:00
Permalink
Don't work anymore. :-(
I don't no why...
I only updated MeeRun Sports Tracker and the jolla Filebrowser.
boebbele
Thu, 2015/02/19 - 12:22
Permalink
Can I put the textblock 5 lines near to the top of Screen?
What I have to change in /usr/bin/calendarambience?
boebbele
Mon, 2015/02/16 - 21:57
Permalink
I can not see anything on my screen. But it the same with other lockscreen widgets (batterynotifier and battery statusbar on lockscreen). Can you help me?
Is there an conflict with meecast-lockscreen? I have installed meecast-lockscreen an this widget works.
EDIT: It works! I'm happy! Great App! Thank you very much!
wizah
Mon, 2014/12/22 - 10:09
Permalink
Works ok on Vaarainjärvi. Took a minute or so after install before the events showed up. I'd prefer a similar font as in SailfishOS and not "Times New Roman" :) The "and more" part goes underneath the clock so that could be fixed too.
okourkoulos
Sat, 2014/12/20 - 21:26
Permalink
Managed to uninstall.
Now, I re-installed, but when I changed ambience, calendar dissapeared and couldn't re-appear!
mihlit
Sun, 2014/12/21 - 00:04
Permalink
Unfortunatelly, that's because this is a hack as Jolla does not provides necessary means to do it better way. As is written in the description, this is an ambience, that means when you change an ambience, it will disappear.
The calendarbience reexecutes itself when you change something in the calendar, after midnight, after some event expired or every two hours. That's because too much checks would have negative effect on the battery.
I will probably add some user interface with configuration and reinitialization in the future.
cvp
Sat, 2014/12/20 - 10:36
Permalink
is not working on 1.1.1.26 :(
over warehouse i cant install your app. i have to install manual imagemackig and python3-inotify , than the install eorks! but no entty on screen. reboot not help and i dont get any error messages :(
mihlit
Sat, 2014/12/20 - 11:00
Permalink
That's odd, I've added ImageMagic yesterday to my repository. Everything is there https://sailfish.openrepos.net/mihlit/personal/main/ so I don't know why warehouse was not able to find it. Maybe it had old repository data.
Please check what version do you have installed in warehouse. Is it 0.1.5 ? Older version could "do nothing" when you did not have regular ambience set.
What is your ambience? Is it some original one (the ones you got with the phone), did you install extra ambience or is it created form some picture?
cvp
Sun, 2014/12/21 - 03:56
Permalink
i try with Kaira Black and now with two different standard ambiance... i put one/two entrys in my calendar, but nothing to see :(
mihlit
Sun, 2014/12/21 - 14:04
Permalink
With "nothing to see" you mean there is nothing on the ambience wallpaper or that list of the events is empty? It prints nothing to see if there is no event planed for next 10 days.
Do you use standard native calendar or different source like google calendar or something?
cvp
Sun, 2014/12/21 - 14:55
Permalink
So I tested it with Kaira Black Ambiance and other standard themes. I have uninstalled it, reinstalled. Of course, I have for the next 3 days a test entry in the calendar entered. Of course used the default calendar.
Jordi
Sun, 2014/12/21 - 01:06
Permalink
Thanks for this great app!
As I wrote in TJC I see some past events (2 days old, there are other ones in the calendar but are not so old) between a futur event tonight (top) and another one next Monday (bottom of the list).
Any plans to display other information like the wether's icon, IP adress etc? To be configurable by the user?
mihlit
Sat, 2014/12/20 - 10:53
Permalink
Could you post the example of events it shows you? Whole list, you can change/remove the text, just times and dates. Are the wrong events ordinary or repeating events?
It will be configurable like font, size, maximum number of lines,... maybe something more, but I don't plan to develop this app too far, as it's still a hack, not a propper aplication, because important parts of the Jolla phone are closed source and with no usable api. I hope that one day Jolla does the right thing.
Jordi
Sat, 2014/12/20 - 18:18
Permalink
You're right, the wrong events are repeating ones.
mihlit
Sat, 2014/12/20 - 18:56
Permalink
Great. Could you find out more details? When did they started? How often it repeats. When it should end (if set). Time it starts and ends. If reminder is set and how long in advance. Also what date it reports and what should be correct date. Thanks
Jordi
Sun, 2014/12/21 - 01:54
Permalink
These repeating events occur every month. The first occurence is more than one year old. The last occurence is more than one year in the futur.
So what I see right now is:
Calendar
17.12 Event 1 (repeating one), duration 1 hour (in fact, the event occurs the 18.12)
17.12 Event 2 (Repeating one), duration 1 hour (in fact, the event occurs the 18.12)
22.12 Event 3
Now something else: if I remove event 1 and 2 (the whole serie), I only see event 3, no other event although there are a lot of other ones coming from the gmail account I use.
If I create a new event directly from the phone, I see it.
mihlit
Sun, 2014/12/21 - 14:01
Permalink
Thanks, I was able to reproduce this. It should be fixed in next version (0.1.6). I will do just a little bit more testing and release it soon.
Google calendar is not supported (tested) as I don't use it. I will look at it in the future and if it's not too difficult, I will add that suppport too.
Jordi
Mon, 2014/12/22 - 11:59
Permalink
Excellent! This new version works great, at least with regular events of Google calendar (not tested with repeating ones).
Many thanks.
okourkoulos
Sat, 2014/12/20 - 03:02
Permalink
I managed to install, but no Greek letters/characters can be shown.
Want to uninstall for now, but do not know how!!!!!
Tried to uninstall everything but doesn't work for me.
Any suggestions? please?
mihlit
Sat, 2014/12/20 - 10:45
Permalink
I use not only ascii characters myself and it shows them correctly. Could you post some examples it can't show?
You can uninstall it the same way, you installed it. Be awere that this is no real application, it draws into ambience wallpaper, so after uninstall, you have to change your ambience. If there is still systemd hook running, reboot after uninstall will definitelly change that (together with changing of your ambience).
Markkyboy
Fri, 2014/12/19 - 17:51
Permalink
(Running SF 1.1.1.26)
Not installing for me, I get this error message;
"Status: dep-resolution-failed
Extra details:
nothing provides python3-inotify needed by calendarbience......"
So, from your repo, I tried to install python3-inotify, but all I am offered is to 'Check for updates' - I assume it is already installed?, if its, I am still unable to install the main app, always the error I gave above.
I also got an error as ImageMagick was not installed either, so it seems the app has some dependencies on other apps.
mihlit
Fri, 2014/12/19 - 20:01
Permalink
There was some problem with python3-inotify, so I've removed it from repository and added it back, which fixed it. I also added ImageMagick, as warehouse can't find it in other repository. So right now, all dependencies should be fixed.
oku
Thu, 2014/12/18 - 21:59
Permalink
Did not work for me at least in update 10.
mihlit
Thu, 2014/12/18 - 22:12
Permalink
Did it print some error message or you mean that you installed it and nothing happened?