maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 clock replacement [continued] (https://talk.maemo.org/showthread.php?t=81582)

Estel 2012-02-05 13:30

Re: N900 clock replacement [continued]
 
@ade
Now they're *almost* centered ;)
http://lorienart.pl/cover/clock-almost.png

...As opposed to:

http://lorienart.pl/cover/clock2.png

Should be few pixels up ;) i know, You're going to start hating me, after this post...

/Estel

Harick 2012-02-05 14:06

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by Estel (Post 1160830)
@ade
Now they're *almost* centered ;)

...

Should be few pixels up ;) i know, You're going to start hating me, after this post...

/Estel

Since we are talking about minor cosmetics fixes, i must add, note that the second line (day of the week + date) below the clock, it's painted in secondary color (gray) instead of primary color (white).

maybe it's not much difference in themes like alpha, but in others themes like marina for example, you notice

ade 2012-02-05 15:38

Re: N900 clock replacement [continued]
 
Pfew, another new version...
  • Date on main screen now in secondary colors (reported by Harick)
  • Moved the icons a bit again (Estel, if it is still not 100% okay, I think I need the icons themself from you to finally fix it)
  • Fixed the snooze issue with non repeating alarms

Explaination of the snooze issue:
Now that alarms are made inactive instead of delete, it turned out the time indicated on the alarmlist was the time including snooze (if snooze was used). So the time seemed to shift further and further in the future after repeated snoozes (in reality it did not, because it looked at the "trigger time").
I hope it now works identifcal to the stock clock:
When snoozing a non repeating alarm, the alarm in the alarmlist should always report the original time. On the main screen the time to the next alarm should be reported including the snooze time.

So my issue list is empty now (if the icons are placed correct). Time for some relaxation :)

mr_pingu 2012-02-05 16:27

Re: N900 clock replacement [continued]
 
Ade, don't you have the original theme? With original Nseries + hicolor icons you get these icons ;)

ade 2012-02-05 17:15

Re: N900 clock replacement [continued]
 
No, I must have overwritten these icons.

Estel 2012-02-05 19:13

Re: N900 clock replacement [continued]
 
@ade
IMO they're perfect now, i.e. no one would be able to tell that there is something wrong, if not warned:

Actual clock:
http://lorienart.pl/cover/clock-actual.png

Vanilla clock:
http://lorienart.pl/cover/clock2.png

If You're perfectionist, You can move 2nd icon (Alarms) one pixel to the left, and globe (Global clocks) 2 pixels to the left. 1st icon (Add new alarm) is 100% ideal, to the single pixel, so no need to touch it.

BTW, have You imagined, that moving icons by one or two pixels, will become Your main "bug fixing" in worldlock replacement, after just so short time of development? :)

Thanks for Your hard work on this.

/Estel

artpra 2012-02-06 09:51

Re: N900 clock replacement [continued]
 
@ade,
after whole weekend of various test, I can`t find any problems or bugs; no crash; invoking clock from status menu or from desktop/application view works as it should be (tested first "unified" build with seconds on both orientations and without script). Congrats! I would really like to see this in the next CSSU-T update. Just right after...

... feature request :p :
make drop down menu (with regional, date&time and alarm settings) accessible from "Alarms" and "Global clocks" views, not only from the main (first) view with time and date.

ade 2012-02-07 21:04

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by artpra (Post 1161155)
@ade,
... feature request :p :
make drop down menu (with regional, date&time and alarm settings) accessible from "Alarms" and "Global clocks" views, not only from the main (first) view with time and date.

At the moment I am not inclined to do something with this. The clock replacement acts the same way as the stock clock does on this matter and the drop down menu will not be used that often

But I did make two little tweaks in the worldclock part:
  • The timezone-(city) list is now named "Search city" and not "Choose time zone". In the stock clock "Choose time zone" was meant for the worldmap, while "Search city" was meant to pick a timezone/city from the list (like the clock replacement uses)
  • When trying to add a duplicate city, "City already added" will be reported.

peter2p 2012-02-07 21:23

Re: N900 clock replacement [continued]
 
1 Attachment(s)
Quote:

Originally Posted by ade (Post 1161861)
  • When trying to add a duplicate city, "City already added" will be reported.

Thx ade, Works great...

ade 2012-02-12 23:01

Re: N900 clock replacement [continued]
 
Although I did not wanted to add personal settings, my dislike of the background image made me change that opinion a bit :)

So for people who want to be able to turn off the background image in landscape: an option in the menu is added to turn on/off the background. Please notice that a restart is needed to activate the new setting.
Furthermore I hope the translation worked out good enough in different languages. If you are interested in the option you could try the download from the first page.

Edit:
Other changes:
- Shortend some day abbreviations in several languages
- Seconds display can now be turned on and off

artpra 2012-02-14 13:39

Re: N900 clock replacement [continued]
 
Instaled it, but i can`t find a way to disable/enable seconds.

In polish language word "Obraz" should be replaced with "Tło" - it would be the same description to the background image as is in Nokia translation to the desktop wallpaper (it says "Zmień tło" not "Zmień obraz").

wojtech 2012-02-14 15:17

Re: N900 clock replacement [continued]
 
1 Attachment(s)
Hi! I found a bug (see below) - the line "Opakovat" should be only "Po,Út,St,Čt,Pá" (Monday, Tuesday,...,Friday in Czech language). Don't know what the 1's means :confused:

Thanks for your effort! :)

ade 2012-02-14 15:30

Re: N900 clock replacement [continued]
 
@artpra:

There should be the option "seconds" in the menu. Could you check if you have the latest version (see date/time in first post), I added this last.
I have to find word know by the phone which is usable in all languages. Obraz means picture I see in google translate. So it may not be the perfect translation, but usable. Will look at it closer though.

@wojtech:
will switch my phone to Czech this evening to check it out.

ade 2012-02-14 18:46

Re: N900 clock replacement [continued]
 
@wojtech:
your issue should be fixed

@artpra:
I can get "image" as a single word, but can't determine "background" as a single word
I must get it from "change background" for example, but the word background is used as the first word in dutch for example, so I can't pinpoint it to a position in a sentence.
I have now given it the full title "change background", but it could give the impression it can be used to apply an alternative wallpaper, while it is meant for switching the wallpaper on and off.

Maybe the first used "image" label is more clear and I should revert back to this?

wojtech 2012-02-14 18:59

Re: N900 clock replacement [continued]
 
works fine! thanx! :D

ed_boner 2012-02-19 06:37

Re: N900 clock replacement [continued]
 
looking pretty sweet..now if u create an "options" button in menu and putted inside this new menu the backgroud and seconds options..i believe it could be even better..just a sugestion..good work anyway

artpra 2012-02-20 08:58

Re: N900 clock replacement [continued]
 
@ade
seconds and background switches are working. No stability issues.

About text label:
using "change background" is even worse then "image", so if "background" is impossible to use then "image" should stay. It`s not ideal but way better then confusing "change background".

@ed_boner
Putting this two options in separate menu (with tickboxes maybe?) is a good idea imo.

ade 2012-02-20 10:30

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by artpra (Post 1167234)
@ade
seconds and background switches are working. No stability issues.

About text label:
using "change background" is even worse then "image", so if "background" is impossible to use then "image" should stay. It`s not ideal but way better then confusing "change background".

@ed_boner
Putting this two options in separate menu (with tickboxes maybe?) is a good idea imo.

Then I will put the old text back.

I also agree that a submenu for the options would be nicer. But I have no plans to work on that (at least not for now).

melisa queen 2012-02-21 18:17

Re: N900 clock replacement [continued]
 
please help!!
my clock is not working!!
even my original clock!!
could u upload the original colck for me and teach me how can i restore it!!
i used the first post metod but it didnt work on my phone!!
it is amazing for me because i try it on other N900 and it works :eek:

ade 2012-02-21 18:31

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by melisa queen (Post 1167875)
please help!!
my clock is not working!!
even my original clock!!
could u upload the original colck for me and teach me how can i restore it!!
i used the first post metod but it didnt work on my phone!!
it is amazing for me because i try it on other N900 and it works :eek:

Did you follow the steps from the first post?
There is not much that can go wrong :)
Can you show me the output of

Code:

ls -l /usr/bin/worldclock
using the x-terminal

Edit:
A forced reinstall should be something like
Code:

sudo gainroot
apt-get --reinstall clock-ui


melisa queen 2012-02-21 18:35

Re: N900 clock replacement [continued]
 
PHP Code:

ls: /usr/bin/wordclockNo such file or directory 


ade 2012-02-21 18:36

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by melisa queen (Post 1167887)
PHP Code:

ls: /usr/bin/wordclockNo such file or directory 


it is: ls -l /usr/bin/worldclock

melisa queen 2012-02-21 18:52

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1167889)
it is: ls -l /usr/bin/worldclock

I don't know how I can do such a silly mistake!!:D:confused:
Tanks ade:D

toxaris 2012-02-21 20:41

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by melisa queen (Post 1167908)
I don't know how I can do such a silly mistake!!:D:confused:
Tanks ade:D

Use TAB, thats what I learned from the same misstake a few years ago ;)

AapoRantalainen 2012-02-22 10:20

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1167884)
A forced reinstall should be something like
Code:

sudo gainroot
apt-get --reinstall clock-ui


It must be:
Code:

sudo gainroot
apt-get install --reinstall clock-ui


Estel 2012-02-28 22:56

Re: N900 clock replacement [continued]
 
Thanks ade, new version is working great. One minor translation issue - in polish, new option in menu should be "Sekundy", not "Sekund". It's probably a typo.

/Estel

ade 2012-02-28 23:35

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by Estel (Post 1171658)
Thanks ade, new version is working great. One minor translation issue - in polish, new option in menu should be "Sekundy", not "Sekund". It's probably a typo.

/Estel

"Sekund" is also seconds, but not always? Weird language that Polish :D

You have "sekunda" as single, and "sekundy" and "sekund" as plural forms.
As I understand correctly there's a singular form for 1, a plural form for 2-4, and another for 5-21 at which point 22 is the same as 2...

My translation was based on "5 seconds", and now on "2 seconds". This results in "sekundy" now in the latest version.

Estel 2012-02-28 23:46

Re: N900 clock replacement [continued]
 
You understand it well, and "sekundy" last to 24, then, from 25 it's "sekund" again and this repeats with every form ending with 1-4 (so, 24 sekundy, 82 sekundy, etc). But,111-114, or 1011-1014 etc. is "sekund" again ;)

To be honest, I've never though about it before Your post. It's strange, indeed. Thanks for fixing!

/Estel

// Edit

If You ever need it again for some translation - this is not only case of "seconds", almost every word in polish got different form for 2-4 and so on.

kishanW 2012-03-14 01:22

Re: N900 clock replacement [continued]
 
Thank you, this is awesome. Seems to work fine so far so good :)

wicozani 2012-03-16 20:33

Re: N900 clock replacement [continued]
 
Hello. I've tried to install this replacement clock today, but something hasn't gone quite right. After unzipping the .zip file I had a 'worlclock' folder in MyDocs. I moved this to /usr/bin, and then moved the worldclock program from its folder into /usr/bin proper. This leaves me with worldclock.launch, worldclock.orig, and worldclock all in /usr/bin.

When I give the ls -l /usr/bin/worldclock command it returns "worldclock". However, when I click on 'clock' in apps, it processes for a short while and returns me to the homescreen I'm on, without ever bringing up a clock. There are no more clock or worldclock icons in my app drawer. I performed all the other commands described in the OP. Can anyone kindly help me out? TY. Jeff

ade 2012-03-16 20:37

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180410)
Hello. I've tried to install this replacement clock today, but something hasn't gone quite right. After unzipping the .zip file I had a 'worlclock' folder in MyDocs. I moved this to /usr/bin, and then moved the worldclock program from its folder into /usr/bin proper. This leaves me with worldclock.launch, worldclock.orig, and worldclock all in /usr/bin.

When I give the ls -l /usr/bin/worldclock command it returns "worldclock". However, when I click on 'clock' in apps, it processes for a short while and returns me to the homescreen I'm on, without ever bringing up a clock. There are no more clock or worldclock icons in my app drawer. I performed all the other commands described in the OP. Can anyone kindly help me out? TY. Jeff

Show me the output of:
Code:

ls -l /usr/bin/worldclock
If it has no x bits you still have to do "chmod +x /usr/bin/worldclock"

wicozani 2012-03-16 21:17

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1180415)
Show me the output of:
Code:

ls -l /usr/bin/worldclock

worldclock

[Qoute]If it has no x bits you still have to do "chmod +x /usr/bin/worldclock"[/QUOTE]

I have repeated this command with root, but my clock icon is still nonfunctional. Jeff

ade 2012-03-16 21:29

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180428)
worldclock

This can't be the output of the "ls -l" ...are you using the number one instead of the letter "l"?

It should look something like
Code:

-rwxr-xr-x    1 root    root      454420 Feb 29 00:21 /usr/bin/worldclock
Please execute again and copy and paste the exact output.

wicozani 2012-03-16 21:35

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1180434)
This can't be the output of the "ls -l" ...are you using the number one instead of the letter "l"?

It should look something like
Code:

-rwxr-xr-x    1 root    root      454420 Feb 29 00:21 /usr/bin/worldclock
Please execute again and copy and paste the exact output.

Code:

-rw-r--r--    1 user    root      454420 Feb 28 16:19 worldclock

ade 2012-03-16 21:37

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180438)
Code:

-rw-r--r--    1 user    root      454420 Feb 28 16:19 worldclock

Like I said, execute:
Code:

root
chmod +x /usr/bin/worldclock

and it will work.

wicozani 2012-03-16 21:44

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1180439)
Like I said, execute:
Code:

root
chmod +x /usr/bin/worldclock

and it will work.

I've executed this command for the third time under root, rebooted my phone, and still nothing. Response to the ls command remains the same. I have CSSU-T with KP46, and overclocked with the dsp profile, if that's of any help.

ade 2012-03-16 21:56

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180443)
I've executed this command for the third time under root, rebooted my phone, and still nothing. Response to the ls command remains the same.

I will eat my shoes if this does not work :)

The chmod +x must put execute permissions on the file, or else you will encounter error messages.

I will have to ask again, please execute exactly as written. You are not executing this on the file in MyDocs I hope, because that will never work (not supported in FAT32). Do the chmod to the file in /usr/bin/. This simply has to work. If you do not encounter error messages and it is still not executable, your devices is seriously corrupted. But I am still betting on some misunderstanding.

wicozani 2012-03-16 21:57

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180443)
I've executed this command for the third time under root, rebooted my phone, and still nothing. Response to the ls command remains the same. I have CSSU-T with KP46, and overclocked with the dsp profile, if that's of any help.

Is it possible that it's executing the chmod command against the folder called 'worldclock' in /usr/bin/ rather than the program itself?

wicozani 2012-03-16 22:06

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by ade (Post 1180449)
I will eat my shoes if this does not work :)

The chmod +x must put execute permissions on the file, or else you will encounter error messages.

I will have to ask again, please execute exactly as written. You are not executing this on the file in MyDocs I hope, because that will never work (not supported in FAT32). Do the chmod to the file in /usr/bin/. This simply has to work. If you do not encounter error messages and it is still not executable, your devices is seriously corrupted. But I am still betting on some misunderstanding.

I've received no errors at all, and I'm sure I wasn't performing the command on the folder in MyDocs.

I just did the following:
Code:

sudo gainroot
/home/user # cd /usr/bin/
/usr/bin # chmod +x worldclock

And it executed without error, returning me to my /usr/bin prompt. The clock icon in my apps drawer still does nothing after showing the processing icon for a short while. Everything else on my phone seems to operate normally. FYI, I don't have either speed or battery patch installed. I haven't the faintest clue. Thanks for being so responsive and trying to assist! Not a problem, just a mystery. Jeff

ade 2012-03-16 22:25

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by wicozani (Post 1180450)
Is it possible that it's executing the chmod command against the folder called 'worldclock' in /usr/bin/ rather than the program itself?

How can there be a folder named worldclock in /usr/bin/ ?

Your output of ls -l /usr/bin/worldclock was
Code:

-rw-r--r--    1 user    root      454420 Feb 28 16:19 worldclock
so there cannot be folder with the same name (duplicate names are allowed, no matter if it is a folder or file). And a folder with that name should not be there.

I have the feeling you did not follow the exact steps, because we are in some strange situation now, which I cannot judge from here.

Let go for the final attempt, and else it might be better to return to the old clock.

First remove the current folder or binary:
Code:

sudo gainroot
rm -rf /usr/bin/worldclock

Download
http://dl.dropbox.com/u/42147901/worldclock.zip

-Unzip the downloaded file (containing worldclock) and place it on your phone in (for example) /home/user/MyDocs/
-Then in x-terminal:
Code:

sudo gainroot
cd /usr/bin/
mv /home/user/MyDocs/worldclock .
chown root:root worldclock
chmod +x worldclock

Execution exactly as stated, report any errors/warning messages.

Edit: could be you ended up in something like /usr/bin/worldclock/worldclock ? Anyway, this should have been corrected now.


All times are GMT. The time now is 21:27.

vBulletin® Version 3.8.8