maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   personalizing GPE Calendar (https://talk.maemo.org/showthread.php?t=20457)

wsiebert 2008-05-27 01:35

personalizing GPE Calendar
 
I gave up on gvm today, after an on the road crash lost data. I am now running my daybook on GPE Calendar and my financials (inadequately) on my bank's website.

There is one problem with GPE: the week calendar runs Monday to Sunday rather than Sunday to Saturday, and the time entries in Summary show 24-hour time. I cannot find a method of changing these to my preferences anywhere.

Don't bother responding if the solution innvolves xterm.

combatdoc 2008-05-27 01:41

Re: personalizing GPE Calendar
 
I am having a weird issue with GPE Calendat and Google Calendar. I have Erming set-up and the sync seems to go well, except that times are always changed. Both Google and GPE/n810 are set to Eastern Time, but the appointments always end up changing times and I can't seem to figure out why.

phutterman 2008-05-27 21:49

Re: personalizing GPE Calendar
 
Yeah, that Mon-Sun thing bothers me, too. I wish there was a way to change it; otherwise I like GPE calendar + erminig a whole lot.

BoxOfSnoo 2008-05-28 02:27

Re: personalizing GPE Calendar
 
I've filed this as a bug, and at least one other person filed a related one.

I consider it's a bug because it doesn't match the dropdown calendars.

All we can do is wait, unless you have coding skills...

terrencegf 2008-05-29 19:46

Re: personalizing GPE Calendar
 
1 Attachment(s)
I have (re)built gpe-calendar using the latest experimental distribution (svn20080509) at cobb.uk.net. I modified the program to start the week on Sunday, and also made the close button exit rather than iconify.

Here's how to get it. Note that my instructions make you update your GPE programs to the experimental versions. I'm not sure if you can just grab the .deb file and install, but you may as well try. ;)

First, go into the Application Manager and add the experimental repository. In Application Manager, select the "Tools->Application catalog..." menu. Click the "New" button and enter the following information.

Code:

Catalog name: Cobb experimental
Web address:  http://www.cobb.uk.net/apt
Distribution: chinook
Components:  experimental

Click the "OK" button and allow the application list to refresh.

If you have previously installed any of the GPE applications, go to the Application Manager's "Main view" and click on the "Check for updates" button. Install the GPE updates. If you haven't installed GPE Calendar before, click on the "Browse installable applications" button instead. As of the date of this post, the current experimental version is 2.8+maemo+svn20080509-1.

NOTE: You will probably need to enable Red Pill mode to install the .deb by downloading with the browser.

Click on the attached .deb file to install the modified GPE Calendar.

EDIT!!! It looks like the first .deb was bad. Sorry! When I click the "X" close button, the gpe-calendar still runs in the background. I think it has to do with propagation of the 'delete-event'. I've uploaded a new replacement .deb. Please give it a try.

fiferboy 2008-05-29 19:53

Re: personalizing GPE Calendar
 
terrence: Is there any chance this could be submitted as a patch? I don't know if the close vs iconify would make it in without a configuration option (iconify is the intended behaviour to allow alarms to trigger)

Of course, if GPE used alarmd there would be no need to keep it open. Now THAT would be an extremely useful change!

terrencegf 2008-05-29 20:13

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by fiferboy (Post 186988)
terrence: Is there any chance this could be submitted as a patch? I don't know if the close vs iconify would make it in without a configuration option (iconify is the intended behaviour to allow alarms to trigger)

I understand the need to keep gpe-calendar open for alarms, but making the "X" close button iconify the application is IMO extremely non-standard, especially when the iconify button already iconifies the application. I get that they are trying to prevent people from quitting the application unintentionally, but it bugs the heck out of me.

As for a "patch", all I did was append "=1" to the "gboolean week_starts_sunday" line in "main.c". It appears that there is supposed to be a way to set this value via XSettings, but I have no idea how to get XSettings working on maemo.

qwerty12 2008-05-29 20:19

Re: personalizing GPE Calendar
 
If the gpe calendar applet worked, we wouldn't need to leave the calendar open for alarms.

/usr/share/applications/hildon-home/gpe-calendar-home.desktop lists libgpe-calendar-applet.so

That file isn't present when you install hence it failiing to load.

terrencegf 2008-05-30 03:06

Re: personalizing GPE Calendar
 
Rats! It looks like I messed up. When I click the "X" close button, the gpe-calendar process still runs in the background. I think it has to do with the way the 'delete-event' propagates through the event stack. I've made a modification which hopefully fixes it. Please download the new .deb from my post above. Let me know if you experience any problems. Sorry!

fiferboy 2008-06-02 15:05

Re: personalizing GPE Calendar
 
1 Attachment(s)
terrencegf inspired me to look into GPE a little bit. I had always wondered why the "GPE Calendar" home plugin would not work, and found that it was because it had never been converted to OS2008. I fixed it up a bit and got it running on my tablet. It is interesting but very simplistic compared to GPE Summary.

I then turned my attention to "GPE Summary" thinking that the only thing missing was the ability to monitor for alarms. I added some code to have it do just that, with the result that I no longer have to have GPE Calendar open to trigger alarm events. This is a big improvement to me, so I will include the package here.

I emailed the patch to Graham (the maintainer of the Maemo packages) so hopefully this become official if I did it right. I have test with the calendar opened and closed, and it works as I expect. Feel free to comment on whether it works for you or not.

Now if you use my gpesummary packages and terrencegf's gpe-calendar package, you should have a PIM suite that acts a bit more like you would probably expect. The calendar closes when you hit the close button, and alarms still trigger without the calendar being open.

Enjoy.

terrencegf 2008-06-02 15:31

Re: personalizing GPE Calendar
 
Thank you for figuring out gpe-summary and alarms. Very nice!

I had emailed Graham once before about fixing the Sunday/Monday issue. His response was "file a bug" (which I think I did), but it never got fixed. In case anybody is interested in recompiling gpe-calendar on their own with my fixes, here's a "diff" of my changes to "main.c".

Code:

diff main.c ../original/gpe-calendar-2.8+maemo+svn20080509-1/main.c
165c165
< gboolean week_starts_sunday = 1;
---
> gboolean week_starts_sunday;
1424c1424
< static gboolean
---
> static void
1432d1431
<  return 1;
2248c2247
<                    G_CALLBACK (gpe_cal_exit), NULL);
---
>                    G_CALLBACK (gpe_cal_iconify), NULL);

To build it in scratchbox, I pretty much followed the instructions in this discussion thread. (However, I used the experimental repository I listed above.)

fiferboy 2008-06-03 13:14

Re: personalizing GPE Calendar
 
Here is an update on my patch:

Graham contacted me and asked for permission to put my email with the patch on the GPE mailing list for discussion, which I granted. There has been a few replies so far, most seem positive. The only concern that has been brought up is whether this will negatively effect battery life, as home plugins don't have the best track record in this area - especially ones that monitor or actively update.

There has also been talk about getting rid of the "iconify on close" feature with this patch implemented, which has also been well received. Graham suggested making this change conditional on having GPE Summary running - thus if summary is running it will "close on close" and if summary is not running it will "iconify on close".

I am going to take a look at a couple more outstanding bugs/requests to see if there is anything I can do about them.

tuco penguin 2008-06-05 16:35

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by fiferboy (Post 188274)
I am going to take a look at a couple more outstanding bugs/requests to see if there is anything I can do about them.

Here is why open source with an active development community rocks! :cool: I'd like to extend my thanks to you and everyone else who contributes this way. My coding skills are so poor I wouldn't think of tearing into someone elses code or putting my work in the public domain, so I appreciate everyone who can, especially on really useful projects like GPE improvement, where there seems to be such a glaring need in the community! I haven't tried out the patched version of GPE yet, but I agree with the annoyances reported in this thread and look forward to trying it out. Thanks for your effort!

grog 2008-06-05 17:31

Re: personalizing GPE Calendar
 
I just want to be clear. I notice the .deb on the first post is 20080509 but the repository has 20080604. I assume the repository version is the the good one to use? As well, does the repository version of GPE Summary have fiferboy's patch? And lastly, are there any issues with using your updated versions of the rest of the suite?

TX

fiferboy 2008-06-05 17:43

Re: personalizing GPE Calendar
 
grog: The repo version is a recent build against development SVN. The change file for this version (of gpesummary) states the change as "MUD build using revision {20080604}"

I looked at the source, and my patch has not been included yet (I didn't expect it to, as there has not been an acceptance on the mailing list or bugzilla entry). My patch should apply cleanly to this version, since gpesummary.c has not changed, as far as I can see.

I don't see any real advantage to upgrading the the packages in the repo (unless I am missing something that was changed) but there has not really been much SVN activity on the project in the last few months. I can provide a patched version of the latest (20080604) if requested.

I have not come across any issues created by my patch, but I do not use the entire suite very much. Please let me know if you come across anything suspicious you believe to be caused by my fix.

grog 2008-06-05 17:59

Re: personalizing GPE Calendar
 
re: 20080604: Thanks fiferboy. No need to rebuild unless you see the need for it. I now notice that terrencegf hasn't included his own patch in the repository packages either. I upgraded everything & haven't encountered any problems yet, but of course I'll have to reload both patched deb's to see if they still work with the rest of it updated. Otherwise I'll just turf everything & reinstall. TX

grog 2008-06-05 20:06

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by grog (Post 189089)
re: 20080604: Thanks fiferboy. No need to rebuild unless you see the need for it. I now notice that terrencegf hasn't included his own patch in the repository packages either. I upgraded everything & haven't encountered any problems yet, but of course I'll have to reload both patched deb's to see if they still work with the rest of it updated. Otherwise I'll just turf everything & reinstall. TX

I upgraded to the current packages in terrencegf's repository (20080604) then 'downgraded' to the currently rebuilds that terrencegf & fiferboy have linked to this thread (20080509) & everything seems to be working good so far. Thanks very much for the help! Good work & keep it up :).

refortin 2008-06-06 15:46

Re: personalizing GPE Calendar
 
terrencegf & fiferboy, thanks so much for taking on the challenge of improving GPE. Alarms from the summary work perfectly and the month view now shows the weeks starting on Sunday. But (there's always a but), the week view shows the week starting on Wednesday. Any ideas what's up?

hyartep 2008-06-10 08:49

Re: personalizing GPE Calendar
 
just a little note: first day of the week should be decided by locale, not hardcoded.

i know there are little problems with date/time settings in maemo, but these things should use locale (and/or systemwide settings, or as temporary hack app settings), not hardcoded values.

FGol 2008-06-10 19:01

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by hyartep (Post 190356)
just a little note: first day of the week should be decided by locale, not hardcoded.

i know there are little problems with date/time settings in maemo, but these things should use locale (and/or systemwide settings, or as temporary hack app settings), not hardcoded values.

Agreed. It could be a configuration option.

Frank

fiferboy 2008-06-10 19:05

Re: personalizing GPE Calendar
 
The Sunday/Monday options is indeed a setting, but it uses an xsetting interface that I have no idea how to use. The program does look for an xsetting value for this, but not knowing how to change it doesn't help.

Terrancegf made an extremely simple change and made it available to anyone who wants that option. I don't think Terrance intended this to be a permanent change to GPE, but I am glad he posted it here.

If anyone knows how to use xsettings and can change the Sunday/Monday option with that, please post here so people can see how to do it.

fiferboy 2008-06-16 18:52

Re: personalizing GPE Calendar
 
Good news! The latest "daily" version of Graham's GPE packages have these fixes to GPE Calendar (the close fix, not the week starts on Sunday fix) and GPE Summary. Follow the instructions earlier in this thread on how to add the "experimental" version of Graham's repository, but replace "experimental" with "daily". The version number you need is 20080616

Graham has stated that there will be a new version in extras-devel and eventually extras with these fixes in it unless he hears unfavourable feedback. I am trying the packages out now and like the other changes Graham made.

There is no longer an "auto refresh" mode in GPE Summary. It now reflects any changes made to events or todos when they happen. When you first close the new version of GPE Calendar you see a message warning you that you will not be alerted with alarms unless you are running GPE Summary or keep GPE Calendar open. You can "close," "iconify," or "cancel" and have it remember your answer.

combatdoc 2008-06-17 00:38

Re: personalizing GPE Calendar
 
Are those the only two changes you noticed?

I was looking through the packages and didn't really see much else than what was mentioned here (Not to say that isn't a lot - working alarms woohoo!).

I am hoping he will add to the settings for the iconify/close thing and a few other settings.

Know if there are any plans to add a sync to GPE Contacts for Google?

fiferboy 2008-06-17 02:18

Re: personalizing GPE Calendar
 
[STRIKE]There is a setting for iconify/close. It is accessible the first time you close.{/STRIKE] I just re-read what you wrote. I didn't see any other settings added, but there are some xsettings I have no idea how to change.

As far as google calendar, I don't know if any work has been done. Erminig is being maintained again, and there is a one-way download option within GPE calendar itself. When opensync becomes more usable on the tablets, I believe there is a google calendar plugin, but I am not sure how good it is,

combatdoc 2008-06-17 03:42

Re: personalizing GPE Calendar
 
Hmm, I think something might have broken in the Google Sync World. I upgraded to the lastest and greatest build and now when I run Ermining it just stops at "My Calendar: Processing New events" never sending new events to GCal.

One time it gave me an error dialog about not being able to Google Import the following: and a blank box with a close button that didn't close.

Might have to backup and wait...

BoxOfSnoo 2008-06-17 13:51

Re: personalizing GPE Calendar
 
You will find this crash is caused by multi-day events... if you run erminig from the command-line it will show you on the screen what event it's pointing to.

https://garage.maemo.org/tracker/ind...=702&atid=2623

combatdoc 2008-06-17 14:09

Re: personalizing GPE Calendar
 
The thing is that event doesn't exist. Its a ghost in the database. One time I get a blank box the next it points to a event that I deleted and was at the beginning of the month (non-multi-day). It was deleted a while ago, also appts I add from Google come into GPE fine, but GPE -> Google just sits.

Was there a change in the database when the fixes, etc went into 20080616?
I am gonna try backing up to the last version tonight and see if it still happens.

lorelei 2008-06-17 14:13

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by BoxOfSnoo (Post 192813)
You will find this crash is caused by multi-day events... if you run erminig from the command-line it will show you on the screen what event it's pointing to.

https://garage.maemo.org/tracker/ind...=702&atid=2623

To reproduce this bug, is it sufficient to create a multi-days full-day event in GPE and then perform a sync with Erminig? (I'm trying to collect as much informations as possible in order to debug it).

I take this opportunity to announce that by the end of this week I will release a new version of Erminig, which will bring a bug fix for #2592, and probably a new feature (command-line mode for Erminig (#2610)).

After that I will tackle the more problematic bugs, related to synchronization. (sorry to delay that, I need a few days to familiarize myself with the code!)

fiferboy 2008-06-17 18:08

Re: personalizing GPE Calendar
 
1 Attachment(s)
I have patched GPE Calendar to allow the user to select whether he/she wants the week to start on Sunday. This is selected through the "View" menu with the check item "Week starts on Sunday."

I have also fixed the week view so it displays correctly when using Sunday as the week start. And in really minor news, I fixed up the month selector box so it doesn't cut off the text any more.

I have submitted these patches to the developers, so hopefully this makes it upstream somewhere. For now, if you have Graham's daily repository, update your GPE packages, then install this attachment.

Let me know if you experience any problems.

sondjata 2008-06-17 18:23

Re: personalizing GPE Calendar
 
Any fix for the event "details" pane? I can't enter any details in my events.

fiferboy 2008-06-17 18:40

Re: personalizing GPE Calendar
 
sondjata: You mean because the on-screen keyboard doesn't pop up? It is working with this version on my N810 running diablo, so I think it is worth a try. When did you try it last?

phutterman 2008-06-19 18:13

Re: personalizing GPE Calendar
 
Thanks for all your work on this! Even though they're relatively small improvements, all of this has really improved the usability and polish of this program (which is one of the relatively essential programs for, I imagine, many NIT users).

FGol 2008-06-19 19:52

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by phutterman (Post 193596)
Thanks for all your work on this! Even though they're relatively small improvements, all of this has really improved the usability and polish of this program (which is one of the relatively essential programs for, I imagine, many NIT users).

I agree.... getting the week starting as I am used to seeing it has made a tremendous difference to me in terms of how much I embrace it as the PIM calendar that has become my favorite from among the bunch I've tried.

Frank

Laughing Man 2008-06-29 02:43

Re: personalizing GPE Calendar
 
How exactly do you change it so it shows Sunday first? Does it require making a new calendar? (I'm running the daily snapshots).

Edit: Nevermind

jaysin22 2008-06-30 20:25

Re: personalizing GPE Calendar
 
Am I missing something or does the 6/30/08 daily build not have the gpesummary alarm function working as well as the first day sunday? The Calendar asks about if it should iconize or close but gpesummary won't launch the alarms.

Any Help?

fiferboy 2008-06-30 20:28

Re: personalizing GPE Calendar
 
First day Sunday still has not been added to the official source. I started a discussion on the GPE mailing list, but did not get any response, so I not know what is holding it back.

I haven't tried alarms in the latest dailys, so I don't know about that.

combatdoc 2008-07-01 00:04

Re: personalizing GPE Calendar
 
Id like to ask for an Added feature to GPE Summary. The ability to filter by calendar.
Roght now it shows everything from every calendar in the summary, but for instance, I don't want to show my "holidays" calendar in in, just the "appointments" Calendar.

It would lead to less clutter to be able to filter by which Calendars you wanted to show.

jaysin22 2008-07-01 20:23

Re: personalizing GPE Calendar
 
Just an update the 7/1 daily build fixed the alarm issue I was having.

fiferboy 2008-07-01 20:39

Re: personalizing GPE Calendar
 
Go to "View" and select "Calendar Selector". Then you can turn on and off the calendars you want to have events show for.

combatdoc 2008-07-01 21:06

Re: personalizing GPE Calendar
 
Quote:

Originally Posted by fiferboy (Post 198245)
Go to "View" and select "Calendar Selector". Then you can turn on and off the calendars you want to have events show for.

I was referring to GPE Summary and not the GPE Calendar itself. I figured this was the place since this is where all the GPE Dev stuff is happening


All times are GMT. The time now is 07:42.

vBulletin® Version 3.8.8