|
Page 5 of 12 |
|
Prev |
3 4 5
6 7
|
Next
| Last
Re: [Announce] Advanced Clock Plugin
1 Attachment(s)
Quote:
You should not need to restart nor to install anything else except Advanced Clock Plugin. If you need to do anything special to get it work it's most likely that I messed something up. ;) I just uploaded version 0.11.1 to extras-devel. Could all who had problems with the clock being "hidden" so far try if this fixes the issue? If you still encounter problems try running (as root): Code:
DEBUG_OUTPUT=1 /usr/bin/hildon-status-menuBy the way, if you run the command as written above you need to manually kill the running process via CTRL-C. @pusak gaoq I added a "No Clock" style to 0.11.1 which simply disables the clock display. The implementation side is very much straight forward. ;) @Mentalist Traceur Nice to see you got your first clock up and running. :) Edit: I'd also like to explicitly mention a special clock style I added some versions ago. This is a binary clock which indicates the alarm time by drawing the circle outline of the alarm time in a distinct color. Currently, this is only implemented for the binary clock. If you like I could add something similar for the BcdClock. |
Re: [Announce] Advanced Clock Plugin
Quote:
various misconfigurations and coding errors while developing another clock. Everything seemed to be mostly in place with 0.11.0, with the single exception I note that you might want to consider hard coding Code:
pkill -f /usr/bin/hildon-status-menusystem has a chance to reload whichever script it is running. Or not - I am not a python programmer until yesterday :rolleyes: Looks to me like it has arrived - :D Where do we vote it into extras-testing? The only caveat I see with this program is if a person uses 'display seconds' (which I do always) and there is any kind of issue with the particular clock (which I have done in trial and error) is that it can get interesting - but that is merely a self-inflicted problem. Cheers.:D |
Re: [Announce] Advanced Clock Plugin
Quote:
Code:
Home directory /root not ours. |
Re: [Announce] Advanced Clock Plugin
Quote:
If so, it is also ready to go from my point of view. Please do not just simply vote but take your time and check it against the quality assurance checklist first: http://wiki.maemo.org/Extras-testing/QA_Checklist If you think everything is ok, you can vote for it here: http://maemo.org/packages/package_in...ugin/0.11.1-1/ |
Re: [Announce] Advanced Clock Plugin
@Duy2anh
Did you update to the latest version 0.11.1? I added the the missing gconf dependency there. |
Re: [Announce] Advanced Clock Plugin
1 Attachment(s)
Quote:
I installed, it didn't work, I removed. Now I just reinstall, it still didn't show up |
Re: [Announce] Advanced Clock Plugin
@Duy2anh
Could you just quickly check if version 0.11.1-1 fixes your issue? |
Re: [Announce] Advanced Clock Plugin
Quote:
apt-get purge the packages so u can fully remove the packages before re-installing to the latest version.... also thanks to the developer for adding "no clock" in the latest version.... |
Re: [Announce] Advanced Clock Plugin
@Wonko
I waiting for the App Manager to update, it takes sometimes How ho you check version of the Advance Clock Plugin? Before installing I could see it when pressing the "Detail" button (which was 0.11.0) PS: The Update check sees no update for the clock-plugin! PPS: I tried to remove and reinstall again, but the details show that the advance-clock-plugin is v0.11.0, with hildon-destop-python-loader 0.1.0-1maemo3 and pytho-hildondesktop 0.1.0-1 maemo3. There is not yet 0.11.1-1 version! @ pusak gaoq I just did a complete reflash with fiasco image and eMMC today, and then installed the app, and it did not show up even after turning off and on, so I don't think there is any leftover to remove. |
Re: [Announce] Advanced Clock Plugin
i got a small problem updating from v0.09 to v0.11 but fixed by uninstalling the old version and using
Code:
apt-get remove advanced-clock-plugin-settings-uiexcellent clock! many timezones to keep an eye to another country's time :D |
Re: [Announce] Advanced Clock Plugin
@Wonko
Could you add Quote:
apt-get remove advance-clock-plugin --purge & rm -rf /usr/lib/advance-clock-plugin/clocks then I do a fresh installd |
Re: [Announce] Advanced Clock Plugin
Quote:
I think if you have the previous version installed, then updating to v0.11 is no problem because you still have those the new 0.11 version is missing. Just tried a purge removal with root rightnow, then install from x-terminal, but still, nothing shown up on the status bar. |
Re: [Announce] Advanced Clock Plugin
@Duy2anh
Version 0.11.1-1 should be online now. Edit: You can get the currently installed version number by, e.g., running (as root): Code:
dpkg-query -l advanced-clock-pluginActually, /usr/lib/advanced-clock-plugin should be a symlink pointing to /opt/maemo/usr/lib/advanced-clock-plugin. Probably there are any leftovers from old versions either in /usr/lib/advanced-clock-plugin or /opt/maemo/usr/lib/advanced-clock-plugin. I think I had a version where I accidentally packaged ".svn" directories. In order to start completely from scratch try uninstalling Advanced Clock Plugin and then completely remove both directories /usr/lib/advanced-clock-plugin and /opt/maemo/usr/lib/advanced-clock-plugin. From then on you shouldn't have any problems with updating. @all who voted so far: Excuse the inconvenience, I just promoted 0.11.1-1 to testing. |
Re: [Announce] Advanced Clock Plugin
Quote:
Thank you for your effort. I would like to vote for it as a replacement for the built-in one |
Re: [Announce] Advanced Clock Plugin
@duy2anh
try this command on x-term.... if you already install the packages then as root wrote this command.... dpkg --configure -a (to fixed broken packages) if you still have the same problem the as root wrote this in x-term... apt-get purge advanced-clock-plugin & apt-get purge advanced-clock-plugin-settings-ui then update your catalog before you installing the latest version of this plugins.... |
Re: [Announce] Advanced Clock Plugin
The update (v0.11.1-1) just shows up now, quite a good swimmer! But to make everything clean I follow these advice before reinstalling the clock:
Quote:
Quote:
Then: apt-get autoremove apt-get clean apt-get update apt-get install advanced-clock-plugin The clock has been shown on the status bar! Thank you for your kind helps. Hoping it does not eat up all the battery and CPU. Oh no, Conky shows an almost constant 500MHz CPU speed at 15% - 25% usage, sometimes jump to 600MHz but never under 500MHz, that is to say nothing is running but Conky and the Wifi connection. This is bad because I don't overclock my phone. Turning off Wifi does not help, Conky still reports CPU speed 500MHz 13%-15% at lowest. Any ideas? |
Re: [Announce] Advanced Clock Plugin
Firstly, nice to see you got it working.
So I assume the dependency issues are finally eliminated. Hence, I'll leave this version in extras-testing for your judgement. Anyway, 0.11.1-1 would be a nice "Schnapszahl" for an initial release to extras. ;) With respect to the performance problems you are experiencing. Maybe try to disable "Show Seconds" and see if this improves the situation. Furthermore, the clock suspends once the display turns off. I am using the clock with "Show Seconds" disabled and couldn't identify a significant decrease of battery-life yet. What seems to be indeed problematic with respect to power consumption and thus battery life is the restart of the status menu when developing. So repeatedly restarting the hildon-status-menu may have a strong impact on your battery-life. |
Re: [Announce] Advanced Clock Plugin
Is this optified?
|
Re: [Announce] Advanced Clock Plugin
Quote:
Though, for installing custom clocks this makes no difference as /usr/lib/advaced-clock-plugin is a symbolic link pointing to /opt/maemo/usr/lib/advaced-clock-plugin. Only things not in opt are the icons, the desktop files and the "libs" to start the status menu plugin and the control panel UI off. To be honest the python files for the clocks are that small that optification was not really needed. Though, while I was at it and merging the packages I also put the directory in opt. This should provide more flexibility for future extension. |
Re: [Announce] Advanced Clock Plugin
Ok, here are a few clock ideas:
* RGB 2 digits 7 segments clock like described at http://www.jave.de/blog2/?p=36 * Base 8 mode, both regular HH:MM:SS mode and counting the seconds since midnight, using "▁▂▃▄▅▆▇█" for the digits from 0 to 7 * Binary modes (decimal encoded, regular binary, unix time, graycode variatiations etc) using using these characters for each 4 bits: ╵ ╶ └ ╷ │ ┌ ├ ╴┘ ─ ┴ ┐┤┬ ┼ (that is 0001 to 1111 in regular binary, for 0000 use an empty space of the same width) * Same as the previous, but using these characters instead: ▘ ▝ ▀ ▖ ▋ ▞ ▛ ▗ ▚ ▐ ▜ ▄ ▙ █ (same deal with 0000) * Like the 2 before this, but for each 8 bits, using the characters from the braille pattern block of Unicode; but also with an option for using the dot order based on the braille dot order or the more intuitive left-to-right/top-to-bottom order, and an option for displaying the time as it would be written in braille. * This one i'm not sure if it would work, binary encoded as sum of sines, displayed as a wavy (or flat for 00000....) horizontal line, when the first bit is 1 the line will contain the curve for sine(x*(PI*(2^(1-1))), if the second bit is 1 the line will contain the curve for sine(x*(PI*(2^(2-1))), with the third being 1 you add the curve for sine(x*(PI*(2^(3-1))) and so on, with x going from -1.0 to 1.0 with as many steps as there are pixels in the set width for the clock; basiclyeach bit is twice the frequency of the previous bit with the exception of the very first that has the frequency of once per cycle. With this one you can make regular binary seconds since midnight and perhaps unix time too if there are enough pixels, and gray code variations. Perhaps when needing more bits, you could go RGB, drawing the wavy .ines additivelly on a black background, aplitting the bits evenlly over the 3 color components, or 5 (24 is 11000) for red, 6 (60 is 111100) for green and 6 for blue for a decimal encoded mode. edit: regarding the wavy line, after ploting each line you should "normalize" the Y axis otherwise the biggest peaks and valleys will go beyond the height avaiable. For the binnary modes above, you can also offer an RGB copositing mode option as well, and for all the RGB modes (including the 7-elements clock one) you could also offer a reverse mode (works the same but you subtract R,G and B from a white background instead of adding to a black one) |
Re: [Announce] Advanced Clock Plugin
Quote:
as I am working on something similar. {The problem with that is what might be termed visual parity as a single bit variations are not distinct enough for visual perception. There is a way, though...} |
Re: [Announce] Advanced Clock Plugin
Quote:
http://maemo.org/packages/package_in...ugin/0.11.1-1/ |
Re: [Announce] Advanced Clock Plugin
Quote:
I updated the other link as well, just in case. |
Re: [Announce] Advanced Clock Plugin
Thanks, Now I have no problems or what so ever with it.
My settings stay the same when I reboot my N900. So that's good. Thanks again. |
Re: [Announce] Advanced Clock Plugin
voted +1
had no problems with latest version. great lil' app! |
Re: [Announce] Advanced Clock Plugin
Quote:
Btw, a correction regarding my base 8 suggestion, that one doesn't need a blank space since it's already 8 characters, the first one, the shortest of them, is zero and the highest one is 7; just like how in base 2 you use 0 to 1 and not 2, in base 8 you use zero to 7; i appologize for that slip. |
Re: [Announce] Advanced Clock Plugin
Quote:
Thank you for your great effort. The clock running well now. I guess my CPU consumption problem has little to do with Andvanced Clock Plugin, even though like you said, the hildon-status-manu occupies lots of RAM and CPU to restart when you just install something to it. Mayby because I has just reflashed the device, so the Maemo5 takes its time to learn and adopt itself the the hardware. Everything is normal now, the CPU speed indicator in Conky now shows a flexible 250~600MHz like it should. And yes, I think the additional python.conf completes the package. Everything runs fine now. However, I see that when going to the phone <settings>, those default settings in <personalization> appear instantly, but it takes about 3~5 seconds for the additional Advanced Clock Plugin setting, and in my case, bootscreen manager setting, to show up. Can anything be done to that? |
Re: [Announce] Advanced Clock Plugin
to the developer...can u make another clock or replace the analog clock with this.....
http://img412.imageshack.us/img412/7...1010320001.jpg this is just an idea... i likes this kind of clock rather than the normal analog clock.... |
Re: [Announce] Advanced Clock Plugin
1 Attachment(s)
Attached is a first run at a CustomClock. As you can see, with some changes to the settings UI it could easily replace the datetimeclock, decimalclock, as well as the ISO clock posted on this thread. It can do anything the date command can do: unix time, etc. It can also handle an arbitrary number of lines (though more than 3 is basically illegible). Seperate lines in the format string using ~
|
Re: [Announce] Advanced Clock Plugin
wondering about a problem i had this morning
network said it was connected but could not get to internet for html or email. other computers, including an n800, having no problems. even restarting n900 and restarting modem/router did not cure the problem. since the last thing i had installed was version 11.1 i removed it. rebooted n900 and internet now accessible. anyone else see similar/same network problems? |
Re: [Announce] Advanced Clock Plugin
I appreciate singpolyma's clock, because it's basically as flexible as one can make it using the command line in the settings of Advanced Clock. Not my cup of tea, because what I am doing with my custom clock is a bit heavily dependent on Cairo and fetching data from different files all over the place, but it looks like a great idea. (I haven't tested, though I did just look at the code, so I can't say for sure it won't have any bugs in it. Wonko, he left a request/question for you in one of the commented-out lines of that clock: Can we somehow implement support for Klingon Fonts in the main clock.py or higher up, instead of inserting the support into every clock style?)
Meanwhile, if anyone's interested in how my clock style is going: I got WiFi Signal Applet functionality replicated (except instead of hiding it, I am going to have it show a different letter both for when the wifi driver is unloaded [as in WiFi Switcher and Advance Interface Switcher functionality], and when the wifi driver is loaded, but you're not connected to anything. I'm thinking gray X for unloaded and white X for loaded and not connected, but as with everything else, suggestions for what letters to use would be appreciated, and I may end up using them.) I also haven't figured out at what dBm value the WiFi Signal Applet changes from 9 to 10. I know all the cut-offs before 9 cut at > -10(n) dBm, where n = 10 - [the signal level]. So signal level 8 is displayed when the signal is any value over -20 dBm (remembering that with negative numbers, -19 > -20, etc); it's just that I've only gotten 10 signal when right next to my home WiFi router, and following that pattern, both 9 and 10 signal clarity are somewhere between 0 dBm and -10 dBm. And I wasn't able to tell in the source code of WiFi Signal Applet where the cut-off is. The only difference is the WiFi Signal Applet does some weird checking voodoo, where it checks somewhere between every zero seconds and every two seconds (not sure how it determines when exactly), so every so often you'll see the wifi signal applet update slightly before or slightly after the clone in my clock style. At any rate, still planned are support for displaying when the WiFi driver is in monitor mode, AND, if possible, when it's actively injecting (since lxp released that driver a little while ago, albeit in a 'so long as you donate some amount' forced-donation manner). And, of course, internet/data traffic bars, similar to the CPU/RAM bars, for the WiFi, USB, BlueTooth, and GSM/GPRS interfaces are coming eventually. (Again, if possible. I'm sure it must be, just not sure if I'll be able to figure it out.) Screenshots/code-so-far on request, since I didn't feel this was important enough of progress to post up just yet. - Replies - Duy2anh: This happens because Maemo 5 has a 'feature' where it saves a screenshot of some programs, that it displays before launching. It's just a little on the abysmally bad side when it comes to updating some of these screenshots. So, open up X-Terminal, and type: Code:
rm /home/user/.cache/launch/com.nokia.controlpanel.pvrpusak gaoq: What you're asking for it doable, but the math required is somewhat more complex for a rectangle clock instead of a circular/square clock... Should be doable, I just haven't brushed up on my calculus/trigonometry knowledge since Complex Variables class a year ago, so it might be a while before someone makes it for you. jdr93: Thanked your post for reporting the bug - but I did not have the same error. Try installing it again, and see if the same problem comes up? |
Re: [Announce] Advanced Clock Plugin
How about a "falling sand game" based hourglass using accellerometer input to control the gravity acting on the sand?
|
Re: [Announce] Advanced Clock Plugin
Ummm... probably not within the capabilities of just Cairo. I think there's a python library for accelerometer input though (and I know where to fetch accelerometer data if you just want to use the file()/open() command, as well as the way to use dbus with python to do the same thing), so it's probably doable... You'd need some intense processing to have it run, though. If you just make one grain per minute, it's probably too slow for the sand-glass / gravity effects to be worth the processing, if it's one grain per second, then that's 360 grains per hour. Which means for at least half an hour, you're processing at least 180 grains, each of which has to have movement/acceleration/position calculations done.
Doable, yes, processor efficient? given that efficiency is defined by purpose, I suppose it CAN be, if having that kind of clock is important to you enough to outweigh the system resources it will take up and the fact that it would be pretty hard to actually accurately tell time on it, unless you make multiple color grains for different time markers (red for every hour, blue for every 30 min, green for every 15 min, yellow for every 5, or something like that. If you CAN keep every grain visible inside the applet, you can probably make things like 1-for-every-10-min doable, so long as it's easy to count them at a glance), etc... But most likely, you'll see a bunch of lag when you multitask, which defeats the purpose of having that clock most of the time. But hey, IF you or someon else wants to do it, go for it. It IS doable. It's just a matter of how willing you are to write that much code (or finding the right stuff to import, which may be possible), just for that clock. |
Re: [Announce] Advanced Clock Plugin
will re-install tomorrow ans see what happens. had been working fine, even when the internet was not available. who knows, will post result.
|
Re: [Announce] Advanced Clock Plugin
I am amused, but where is there, and why is it relevant to Advanced Clock Plugin discussion specifically? (I don't personally care about posts like this, I just want them to come with an explanation of how they have anything to do with where they're posted.)
- Edit - Just to be clear that was at theonelaw's post. |
Re: [Announce] Advanced Clock Plugin
Sorry, Lost thread
was trying to download the clock from singpolyma |
Re: [Announce] Advanced Clock Plugin
If it's not working for you, I can just copy-paste the code here in a code bracket. It's really small.
|
Re: [Announce] Advanced Clock Plugin
@Mentalist Traceur: Are you using pywifi for the wifi monitor? For some reason it always returns values in the range 200-204 and I am wondering whether I am implementing it correctly.
|
Re: [Announce] Advanced Clock Plugin
Quote:
|
Momental_IST
2 Attachment(s)
Momental_IST:
2-line format: ISO-8601 Momental (renamed to Momental_IST) * requires 19 character width. probably about as wide (20 max?) as feasible given what happens on the right hand side of the status bar. * fonts & colors have a very big readability impact on this version |
| All times are GMT. The time now is 21:28. |
Page 5 of 12 |
|
Prev |
3 4 5
6 7
|
Next
| Last
vBulletin® Version 3.8.8