maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Conky Layout Switcher (https://talk.maemo.org/showthread.php?t=72408)

misiak 2011-05-09 23:50

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Dante son of Sparda (Post 1001888)
You don't understand, Conky is not a problem. See Battery Voltage and Temperature, it's so high and CPU also, all the time on max speed (600MHz).

Quote:

Originally Posted by helex (Post 1001994)
The high CPU usage is caused by the fast update interval.

But you're right. The Voltage is not correct. The temperaure also not.
What language settings are you using? I guess there is a problem with the decimal separator. But I have currently no Idea how to test this myself. It's working here fine. :confused:

New power kernel (v47) reports temperature of cpu in 0.1C, while old kernels (v46 and earlier, also stock omap1 kernel) reported it in just 1C (the 'new' way is more accurate and detailed, also a standard way of reporting temperature for Linux kernel, so it's not a bug, it's a fix for a bug). Software written earlier for N900 is not aware of it, so either you take into consideration that e.g. 300C in conky means 30.0C in reality or the maintainer of package updates it. It also affects voltage reading. It's not related to decimal separator, it's not related to language settings, it's related to applications (conky in this example) not aware of this fix in the new kernel.

Dante son of Sparda 2011-05-10 07:54

Re: [Announce] Conky Layout Switcher
 
I feel much better.

helex 2011-05-10 21:45

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Dante son of Sparda (Post 1002018)
I forgot that I have updated kernel power to 47 also. On 46 everything worked normal, and with new version my N900 restarts very often.

This is definitifly related to kernel power 47. But I'm unable to help in kernel related problems. Sorry. Perhaps you could find a answer in the Kernel Power related threads. :)

But as far as I know is kernel power 47 anyway not a stable relase. The last one I know of is kernel power 42!

helex 2011-05-10 21:57

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by misiak (Post 1003124)
New power kernel (v47) reports temperature of cpu in 0.1C, while old kernels (v46 and earlier, also stock omap1 kernel) reported it in just 1C (the 'new' way is more accurate and detailed, also a standard way of reporting temperature for Linux kernel, so it's not a bug, it's a fix for a bug). Software written earlier for N900 is not aware of it, so either you take into consideration that e.g. 300C in conky means 30.0C in reality or the maintainer of package updates it. It also affects voltage reading. It's not related to decimal separator, it's not related to language settings, it's related to applications (conky in this example) not aware of this fix in the new kernel.

Thanks a lot for this exact answer. I guess I'm not able to fix this inside the config files. Perhaps if I see some mathematical operations. But I couldn't remember something like that at the moment. And I would need perhaps additionally a setting for this. I put this with a big question mark onto my to-do-list. But currentliy with a low priority. :)

misiak 2011-05-11 02:15

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by helex (Post 1003747)
Thanks a lot for this exact answer. I guess I'm not able to fix this inside the config files. Perhaps if I see some mathematical operations. But I couldn't remember something like that at the moment. And I would need perhaps additionally a setting for this. I put this with a big question mark onto my to-do-list. But currentliy with a low priority. :)

I made a fix, if you want you can download and install patched conky-n900 package from here: http://talk.maemo.org/showpost.php?p...&postcount=136 and use it untill conky-n900 developer and maintainer releases some upgrade.

Bramji 2011-05-20 19:37

Re: [Announce] Conky Layout Switcher
 
I dont have the status applet.....
Everything works fine but that doesnt work.

helex 2011-05-22 21:35

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Bramji (Post 1011406)
I dont have the status applet.....
Everything works fine but that doesnt work.

Hmm... thats strange. Have you rebooted your N900 since the installation?

Dvd25 2011-05-31 17:07

Re: [Announce] Conky Layout Switcher
 
After Conky's upgrade, layout switcher is not working anymore...

helex 2011-05-31 21:05

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Dvd25 (Post 1019553)
After Conky's upgrade, layout switcher is not working anymore...

Hmm... is the menu plugin present?
Does Conky start up as soon as you press a button?
Does Conky show the default layout and you're unable to activate the Layout Switcher layouts?

stevomanu 2011-05-31 21:28

Re: [Announce] Conky Layout Switcher
 
ye it seems i have same problem since updaing conky the switcher no longer has the config file any more an your set up looks much sharper .. can you provide config file or will i need to reinstall conky switcher !

many thanks

helex 2011-05-31 21:34

Re: [Announce] Conky Layout Switcher
 
Ah, tested it now myself and it seems that the Conky Layout Switcher is after updating Conky not longer able to foist Conky a different config file.

I guess the simplest solution for this is to uninstall ConkyLayoutSwitcher using the application switcher and reinstall it again. After this its working again. :)

Creamy Goodness 2011-05-31 21:36

Re: [Announce] Conky Layout Switcher
 
Sorry, I didn't break it on purpose! I thought layout switcher and most users would be messing with the .conf file in MyDocs or whatever the secondary location is. Updating Conky shouldn't really touch that.

Dvd25 2011-05-31 22:46

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by helex (Post 1019758)
I guess the simplest solution for this is to uninstall ConkyLayoutSwitcher using the application switcher and reinstall it again. After this its working again. :)

But with this suggest conky will be downgraded to Version 1.9.6 version, as you told in the first post. Am I right?

helex 2011-05-31 22:52

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Creamy Goodness (Post 1019759)
Sorry, I didn't break it on purpose! I thought layout switcher and most users would be messing with the .conf file in MyDocs or whatever the secondary location is. Updating Conky shouldn't really touch that.

No problem. My fault! My app does a chmod during the installation regarding /usr/bin/conky.sh from your package. This way I'm able to enable and disable ConkyLayoutSwitcher as user without breaking any kind of user created config files.
But it reverts this changes when conky gets updated. Hmm... not ideal. :confused:

helex 2011-05-31 22:57

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Dvd25 (Post 1019791)
But with this suggest conky will be downgraded to Version 1.9.6 version, as you told in the first post. Am I right?

No it gets the newest package from the currently activated repository. If you install ConkyLayoutSwitcher from extra-devel you will get conky from extra-devel too if it is not already installed on your device. But yes, it will be newer than 1.9.6. :)

Creamy Goodness 2011-05-31 23:46

Re: [Announce] Conky Layout Switcher
 
Can you add a layout option for this one?
http://talk.maemo.org/showpost.php?p...&postcount=119
I don't want to make it the default in Conky because it is a bit slow, but it's still pretty awesome. When I have some time I'll see if we can get Conky to reload the .conf file when we swap it out without restarting it or anything.

helex 2011-06-01 11:35

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by Creamy Goodness (Post 1019821)
Can you add a layout option for this one?
http://talk.maemo.org/showpost.php?p...&postcount=119
I don't want to make it the default in Conky because it is a bit slow, but it's still pretty awesome.

No, sorry. I can't. :(
This is not the way ConkyLayoutSwitcher works. It doesn't "switch" the config file. It's a single, big and heavy file that checks what to show depending of my code. And I would say this config wouldn't fit in the concept.

Quote:

Originally Posted by Creamy Goodness (Post 1019821)
When I have some time I'll see if we can get Conky to reload the .conf file when we swap it out without restarting it or anything.

Yes, because of this fact I needed a different solution. :)
If you trying to make this possible, don't forget to keep the diagramm data from the old config for the new layout.
And my work ended very often with a screwed up Conky process because I replaced the config with a new one while Conky was running. Only a kill -9 avoided a battery drain within 4 hours in such a case.

I thought after the last weeks often about writing my own Conky without the possibility for user created config files but on the other hand with a proper maemo/MeeGo styled UI... with scrollbars and options.
But I'm not sure if this is all the effort worth...

christexaport 2011-06-29 00:31

Re: [Announce] Conky Layout Switcher
 
I love your Switcher UI, but have a problem.

I use Conky 1.6.1, since I like the layout when used as a live wallpaper. Its default settings also refresh properly as a wallpaper. But installing your app brings a new .conf file and Conly version that has different colors and doesn't refresh properly as a wallpaper.

Once you launch Conky using the Switcher, it downgrades my live wallpaper to this new look, which isn't my preferred layout or colors. It also doesn't refresh at a rate I like for a wallpaper.

I have an idea. Why not have this app actually read a different .conf file based on what we need? My live wallpaper is perfect, so I don't want whatever .conf file it reads from v1.6.1 change, but I'd like a few custom views/layouts for specific use cases. Say a process view, a faster refreshing CPU/RAM view, a storage view, and a network monitor view OF MY CHOICE.

Is there currently a way I could keep my old 1.6.1 layout for the main Conky button in Switcher, and use other .conf layouts for CPU, Network, Disk, and Process views.

Also, why can't Conky have cool analog looking gauges like a car's instrument cluster? Like a cool HUD for our N900.

Creamy Goodness 2011-06-29 00:45

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by christexaport (Post 1041128)
I love your Switcher UI, but have a problem.

I use Conky 1.6.1, since I like the layout when used as a live wallpaper. Its default settings also refresh properly as a wallpaper. But installing your app brings a new .conf file and Conly version that has different colors and doesn't refresh properly as a wallpaper.

Once you launch Conky using the Switcher, it downgrades my live wallpaper to this new look, which isn't my preferred layout or colors. It also doesn't refresh at a rate I like for a wallpaper.

I have an idea. Why not have this app actually read a different .conf file based on what we need? My live wallpaper is perfect, so I don't want whatever .conf file it reads from v1.6.1 change, but I'd like a few custom views/layouts for specific use cases. Say a process view, a faster refreshing CPU/RAM view, a storage view, and a network monitor view OF MY CHOICE.

Is there currently a way I could keep my old 1.6.1 layout for the main Conky button in Switcher, and use other .conf layouts for CPU, Network, Disk, and Process views.

Also, why can't Conky have cool analog looking gauges like a car's instrument cluster? Like a cool HUD for our N900.

You can make analog guages with lua and cairo, we won't stop you! It would be hard as hell though.

christexaport 2011-06-29 01:01

Re: [Announce] Conky Layout Switcher
 
I can't code a bit. Just wondering why Conky has to look like a TRS-80 app. Would be nicer if it looked more modern. Maybe a new Conky is overdue? Or Monky, Maemo/MeeGo's answer made with Qt? I'd go ape (no pun intended) for Monky...

Creamy Goodness 2011-06-29 02:11

Re: [Announce] Conky Layout Switcher
 
It's all in the layouts, make a conf file that calls a lua script that draws a guage or whatever in cario, there's plenty of examples on the net.
Drawing in cairo is a learnable skill but yeah it is just like coding so we can all claim to be busy or interested in other things and not do it. I have no background in drawing and i hate having to worry about memory leaks in lua, so good luck convincing me to do it. What I don't understand is why nobody with an n900 has tried yet (and showed us the results). Angry birds graphics are done with cairo btw, so it isn't some weird drawing method, and lua is pretty much like c++. Did you ever look at some of the conky layouts on ubuntoforums or other blogs?
Apperently n900 owners have no talent, knowledge or time? Anyways, yeah, no rewriting conky, it's a lot easier to just make a fancy layout. Performance is a problem though, if you try to do too much. If you don't want conky to use 3 times more cpu i would leave it alone...

christexaport 2011-06-29 02:31

Re: [Announce] Conky Layout Switcher
 
Is there any way to keep the layout from 1.6.1 for the live wallpaper and still use Layout Switcher? Don't like the bluish one that replace it. Doesn't refresh as well as the other.

Creamy Goodness 2011-06-29 02:51

Re: [Announce] Conky Layout Switcher
 
Yeah helex said it was a single conf file containing all the layouts, if you can find that file and edit it, you should be able to replace the screen you don't like with another.

Helmuth 2011-06-29 07:19

Re: [Announce] Conky Layout Switcher
 
It's all locatet here: /etc/conky/

The config file from the new conky version is: conky.conf

All the other files are from ConkyLayoutSwitcher.
8 Files for 4 Layouts... grasping into each other like gear wheels!
Good luck if you touch this! Watch out for your fingers... :D

But the easiest way would be to replace the new conky.conf file with the old. Simply uninstall all Conky stuff. Install the old Conky, backup this file somethere else, update again to ConkyLayoutSwitcher and replace the conky.conf with the old one.

If you wan't to use the old, simply deactivate ConkyLayoutSwitcher somewhere in the settings and you have your old layout. Activate it if you want to use one of the four. :)

christexaport 2011-06-29 18:07

Re: [Announce] Conky Layout Switcher
 
Helmuth, I tried that, but now, layout switcher is broken. Reinstalling won't replace the other configs for Switcher, and all layouts output the default one. I've hosed my Conky royally.

helex 2011-06-29 18:32

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by christexaport (Post 1041625)
Helmuth, I tried that, but now, layout switcher is broken. Reinstalling won't replace the other configs for Switcher, and all layouts output the default one. I've hosed my Conky royally.

Sorry for my late answer.

I can't see whats gone wrong. I'm fine with the advice by Helmuth.

Please open the Terminal and enter conky at the comand line.
Could you post the output here? :)

I'm sure we're able to fix your Conky installation. :)

christexaport 2011-06-29 19:11

Re: [Announce] Conky Layout Switcher
 
My Conky works just fine. I have the old 1.6.1 .conf file in the Conky folder, but nothing else. Have backups of all the other version's .conf files in other folders. Just no LS.conf stuff anymore. That's why LS won't work. And reinstalling it won't bring it back.

helex 2011-06-29 19:44

Re: [Announce] Conky Layout Switcher
 
Okay... tough! ;)
Please try as root:

Quote:

apt-get purge conkylayoutswitcher

apt-get install conkylayoutswitcher
I hope this does the trick...

christexaport 2011-06-29 20:12

Re: [Announce] Conky Layout Switcher
 
My main reason for liking the v1.6.1 default layout is its stability as a live wallpaper. The replacement from LS causes the homescreen to flicker, go blank, and refresh after a couple seconds everytime you scroll to or away from that homescreen. When it was showing, its refresh rate seemed slow. The old layout stayed in view, refreshed well, and never flickered. Why can't my default view be the old view, and CPU be that newer one, and the rest be layouts we create.

christexaport 2011-06-29 20:16

Re: [Announce] Conky Layout Switcher
 
helex, ran those commands and got some errors, according to xterm

helex 2011-06-29 20:39

Re: [Announce] Conky Layout Switcher
 
Have you fixed now ConkyLayoutSwitcher?

Haven't used it as a livewallpaper... and I would say it drains the battery far to fast.
Have you made a good experience regarding the battery?

After my experience creating ConkyLayoutSwitcher I'm not very pleased with the fact how Conky works at all... hmm...

christexaport 2011-06-30 03:53

Re: [Announce] Conky Layout Switcher
 
@helex, when type conky, it now loads the right layout. And LS works now, too. But mysteriously, when I use Conky as a live wallpaper, even though its the classic v.1.6.1 layout, the wallpaper now flickers and goes blank like the newer version, which was why I replaced it in the first place. Must be something about LS making even live wallpaper misbehave

helex 2011-06-30 04:11

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by christexaport (Post 1041896)
@helex, when type conky, it now loads the right layout. And LS works now, too.

Good so far... :)

Quote:

Originally Posted by christexaport (Post 1041896)
But mysteriously, when I use Conky as a live wallpaper, even though its the classic v.1.6.1 layout, the wallpaper now flickers and goes blank like the newer version, which was why I replaced it in the first place. Must be something about LS making even live wallpaper misbehave

Ouh, in this case... I'm sorry. :(

As soon as you are installing ConkyLayoutSwitcher you get the newest Conky, too. Otherwise my Layouts would look very ugly. And you have only replaced the new Layout file with the old one. So, new Conky, old Layout!

Sadly the flicering seems to be because of a bug in the newest Conky version. :(

Until this Bug gots fixed you have to make a choice. :(

Aydan 2011-08-12 18:44

Re: [Announce] Conky Layout Switcher
 
Hi,

I just installed the LayoutSwitcher and I'd like to make a suggestion:
Don't make it a Statusbar applet.
My Statusbar menu is cluttered already.
I'd like to be able to switch layouts via the app dropdown menu.
If that's not possible then maybe hide the Statusbar applet until conky is running.

Regards
Aydan

helex 2011-08-14 11:09

Re: [Announce] Conky Layout Switcher
 
Thanks for the suggesstion. Sadly I'm umable to add a menu to Conky. I'm currently only manipulating Conky with this application and have no access to this part. But hopefully I'm soon able to release a own rewrite of Conky with a complete tochscreencompatible userinterface. Be patient. :)

I will look if I could hide the statusbar applet if conky is not running. Good idea. But personally I prefer to use it to startup Conky this way.

helex 2011-12-05 19:19

Re: [Announce] Conky Layout Switcher
 
I guess it is now official and I just wan't to say thankyou. My small Application Conky Layout Switcher participated at our Community Coding Competition and won the 3rd place! Yay! :D

THANKS A LOT FOR ALL VOTERS! :)

Creamy Goodness 2011-12-05 19:45

Re: [Announce] Conky Layout Switcher
 
Congrats. If you guys want to see Conky on N9 anytime soon, vote for this too!

gianko 2013-02-23 11:58

Re: [Announce] Conky Layout Switcher
 
hello. im using Conky + layout switcher without any problems for a long time, but now after i start any conky layout...a strange green overlayed message appear...that is not clearly readable....but is something like this:

Quote:

<h3 style="font-size: 30px;"> This domain name has expired.</h3>
<h4 style="font-size: 16px;">
In order to restore the domain and continue the service you will need....
also not completely readable as it exit the screen

as a newbie, can somebody explain what is the problem and how to solve?

if i start conky from terminal...it appears the simplest one without any layouts and without the error message

how can i start conky with a certain layout, (for example cpu, or disk usage layout) from terminal to see if some error is given?

Thank you

anthonie 2013-02-23 12:14

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by gianko (Post 1324596)
as a newbie, can somebody explain what is the problem and how to solve?

Without seeing your specific conky conf file it's speculation, but I assume your script is trying to connect to a http adddress, probably to get your external IP address or so, and that http address can no longer be reached.

Find an alternative, edit the conf file: Presto.

gianko 2013-02-23 12:53

Re: [Announce] Conky Layout Switcher
 
Quote:

Originally Posted by anthonie (Post 1324598)
Without seeing your specific conky conf file it's speculation, but I assume your script is trying to connect to a http adddress, probably to get your external IP address or so, and that http address can no longer be reached.

thanks, i opened with leafpad the file /etc/conky/conkyNetwork.conf

and i saw a wget line connecting to myip.ozymo.com

if i enter that url in a browser it appears the same message i saw in conky!

Quote:

This domain name has expired.
In order to restore the domain and continue the service you will have to contact your registrar immediately.
i never tried to modify the conky config files, so is the original url

how can i modify to avoid error messages?


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8