|
Page 3 of 5 |
|
Prev |
1 2 3
4 5
|
Next
Re: [NEW] Conky 1.8.5 n900 edition
kishan, sorry - that wasn't what I meant - for me the conky process that I was killing was the one you had left over:
"8582 user 31548 S /usr/bin/conky -d -c /etc/conky/conky.conf" The majority of my post was about that being there, because on my N900 that process was eating CPU needlessly. I think what you were reporting is perfectly normal. Not really needing any fixing. |
Re: [NEW] Conky 1.8.5 n900 edition
Lol, so many people replying, I can't keep up, and I feel like I have to double post so that people don't miss me responding to them.
mrsellout: Right now, you need to manually enable Conky's rotation. My .conf file switches layouts depending on device orientation, so that you get a portrait mode-compatible layout when conky is rotated. However, I don't yet know how to enable rotation the moment conky is launched from a command I could run from within Conky. The way I do it is I have shortcutd installed, and I have short-half-press of camera key set to toggle rotation. So when I want to use conky in portrait mode, I just press that. And then Conky itself is rotated along with the layout change. Alternatively, I believe the key combination ctrl+shift+r turns on rotation too. I'm going to try to get this to be run from-config-file once upon Conky start hopefully within a day or two. When I make progress again I'll post another conf file. At any rate, I'm glad you liked it. Also, you may be able to avoid the need to copy and paste the conf file's contents into a blank file if you download directly from the N900. I saved it, renamed it, and uploaded it, from the N900, and will probably continue doing so, so you may be able to avoid whatever openings/saving/renaming it in Windows causes. |
Re: [NEW] Conky 1.8.5 n900 edition
Quote:
I'm going to try to get this to be run from-config-file once upon Conky start hopefully within a day or two. When I make progress again I'll post another conf file.[/QUOTE] Right I forgot about that. One way round it would be to borrow could from other apps that use portrait & landscape mode. Forgive me I'm no programmer, but I'm going to look into the Qt tutorials, or maybe Filebox's source code to see how they do it. Maybe we could get fullscreen mode as well for a bit more real estate. Quote:
|
Re: [NEW] Conky 1.8.5 n900 edition
Well, do we know how to run a Qt line of code from the command line? I don't think Conky has native Qt support. However, that IS a good avenue to pursue - I applaud your motivation. Even if we don't figure out how to run Qt from conky, the knowledge from the code may be enough to know how to do it directly from command line.
Ideally, we could get Creamy Goodness to make Conky's N900 port have way to set it's own portrait-mode-enabled-by-default setting - and you just change the yes to a no or vice-versa in the conf file. Since the best way would be to just enable the already-built-into-hildon rotation enabled flag, and figure out how to make the program launch with it on or off as-per-user-configured settings (which in the case of Conky is in the .conf file entirely). Hmmm... MohammadAG did that with Modest and Hildon Settings Menu... I should prod him about that too. But that's an extra feature request to put more burden on him, hence for the time being running commands from within conky suffices. There SHOULD be a dbus call that simulates keyboard presses. Perhaps we can find one that will toggle rotation - actually now that I think about it there should be a dbus call that will toggle rotation directly). Then you just put that in the first line (or really any line, so long as it's outside any other tags) under "Text" in the conf file, inside ${exec []} - or whatever other command it is that only runs once (as opposed to execi, which runs repeatedly per interval). Unless exec is just execi but using the default interval? *Shrug* (I'm currently working on something with python [not coding something on my own - copying latest version of code into files on my N900], so I'm useless for a few hours between now and when I finish, but I should be able to work on this after that.) |
Re: [NEW] Conky 1.8.5 n900 edition
superb! love it
|
Re: [NEW] Conky 1.8.5 n900 edition
Quote:
Code:
${color 4072a5}RAM:${goto 75}${color 3a3030}${voffset 2}${membar 16,240}And now it does look OK but I don't know why my alignr values are all different. |
Re: [NEW] Conky 1.8.5 n900 edition
same problem here , start conky then i close it it left in bg....
|
Re: [NEW] Conky 1.8.5 n900 edition
Quote:
|
Re: [NEW] Conky 1.8.5 n900 edition
duno, examplei check pre day 6times conky all go to bg.... maybe i`m blind :) how can fix it?
|
Re: [NEW] Conky 1.8.5 n900 edition
Read the first post carefully. ;)
|
Re: [NEW] Conky 1.8.5 n900 edition
Alright, progress - while digging around for the much more important thing (how to auto-enable conky rotation from within conky), I stumbled upon keyboard state being open/closed.
/sys/devices/platform/gpio-switch/slide/state (In case anyone wanted to know.) So we're one step closer to fully properly rotating Conky. I'm not ignoring the thing above about $alignr and the values being wierd - I just haven't had time to look at it at all. |
Re: [NEW] Conky 1.8.5 n900 edition
No problem. It's just that I would like to know what I'm doing wrong. I like to learn ;) Some other time.
|
Re: [NEW] Conky 1.8.5 n900 edition
Well, as you may have seen I posted a thread asking for help. I simply have no idea how to set the auto-rotate flag from the command line, and I have no clue what other documentation I can conceivably look through, so I should have a bit more time to experiment with the alignr and the new features of conky in general over the next few days.
|
Re: [NEW] Conky 1.8.5 n900 edition
Quote:
You've also got to look at the font you are using. Using a non-monospace font can also mess up your tables. On my desktop I ended up using my font (HandelGotDBold) everywhere else and then a monospace on for the table. |
Re: [NEW] Conky 1.8.5 n900 edition
hey guys,
sorry, i was moving to a new house the last weekend so i didn't have time to see what's going on here. I got enough work done to fix the problems with the .conf file installing and the auto-install for the dependencies just won't work until this is move to a repository. I thought it's not worth doing a new build because it's easy to copy the .conf file, and I assumed the dependency thing is fixable on my end, so I could do that too. Anyways, I'm sure your ghost conky process is all from when it doesn't load the .conf correctly on your first attempt, if you didn't have a valid .conf installed it just runs invisibly I guess. So either kill it or restart to fix that. Although conky runs in a background process and is launched by a shell script, I have never seen it launch extra processes except when I break the .conf file. Also the alignr stuff I think is simple, the # you specify is the number of pixels you want to count backwards from the right edge, so if I say something like alignr 500, it's the same as a goto 300, except the text flows the opposite direction. Only reason I used it was so I can align by the unit symbol (%,M) to the right edge of the bars, and a 2 or 3 digit number won't change that. You can only specify one alignment type per line of text, so I write the text with one alignment, and then on the next line specify a negative vertical offset (pretty much a random number, trial and error) and write the rest of the text. Okay, I should probably get back to work now, I can't really do anything with conky until I put my computer desk back together, and I lost some screws somewhere. Moving sucks :( I'll see what I can do about the portrait mode soon though. |
Re: [NEW] Conky 1.8.5 n900 edition
Well, all you really need to do is link the hildon-always-rotate flag that every app running on the N900 has somewhere, as I understand it - and tie it to a setting that can be set with a yes/no in the conf file. We have the rest already (though if you know how to make conky report whether the window is rotated in landscape or portrait - as opposed to the device's raw accelerometer-determined position), and set that as, say, $orientation variable and $if_portrait and $if_landscape variables (or $if_orientation [portrait/landscape]), that would make things more convenient and less processor intensive to the average portrait-capable configs.
But the latter isn't as necessary. No rush though. It's workable as is. :) You already contributed ridiculously by making this port. Also, thanks for clearing up the alignr thing. |
Re: [NEW] Conky 1.8.5 n900 edition
Hello Do you plan to upload this in the repos to be able to install via App Manager?
Thanks |
Re: [NEW] Conky 1.8.5 n900 edition
I believe he will eventually.
Meanwhile, Titan just responded to my pm. He released the latest power kernel. And guess what? That one thing we were missing in kernel, top I/O per process, is supported now. Rejoice, Conky users. You can now get that much more stats from your N900s. |
Re: [Updated Nov 11] Conky 1.9.0 n900 edition
1 Attachment(s)
whaaaaaaaaaaaaaat really?
that's awesome. there goes my night. latest 1.9.0 build supports image variable $image now you will have to install "libimlib2" though i really didn't want to update the kernel, but i got it working now. that boot menu is a ***** to reconfigure! gonna start looking at that iostats thing now. damn, top_io just shows the difference between the io value from the update interval as it refreshes. so if you refresh it every second, it's gonna show 0 most of the time :( the "diskio_avg_samples" config setting has no effect on this, it's just for the other (non top related) disk io stats. like the graphs for the whole device or whatever. http://appcheck.net/storage/Screensh...112-005757.png |
Re: [Updated Nov 11] Conky 1.9.0 n900 edition
Repos please! Great app.
|
Re: [Updated Nov 11] Conky 1.9.0 n900 edition
i enabled lua and imlib2 recently, if you want to test just install those two dependencies manually. i don't think i can enable cairo, although cairo can support opengl or qt as an output device, conky is built with that stuff missing. i'd have to take the cairo source and find what we need there, do something with tolua++, and then patch conky again to use the new functions. i really don't understand anything i just said, so don't expect me to do that right now :)
|
Re: [Updated Nov 15] Conky 1.9.0 n900 edition
Just installed the 1.9.0-1b, tried to run apt-get libimlib2 to get that dependency, it complained about other two libraries, tried to install those one by one, where-upon it complained about conky-n900 missing a dependency. Ran apt-get -f install, and after one try where it failed to fetch the stuff for whatever reason, second try with the same command worked lovely.
Old conky.conf file still works, so nothing broke. I'll get around to fiddling when I have time. (Busy phase in semester these upcoming two weeks.) |
Re: [Updated Nov 15] Conky 1.9.0 n900 edition
Assuming Creamy hasn't pushed an updated conky through the autobuilder before then, I'd hope to be able to help out with any remaining packaging and extras stuff towards the end of December, as I have a bunch of time off then (hopefully).
Getting Conky into extras was last Xmas' main project for me. |
Re: [Updated Nov 15] Conky 1.9.0 n900 edition
2 Attachment(s)
|
Re: [Updated Dec 2] Conky 1.9.5 n900 edition
drool.....
|
Re: [Updated Nov 15] Conky 1.9.0 n900 edition
Quote:
|
Re: [Updated Nov 15] Conky 1.9.0 n900 edition
Quote:
|
Re: [Updated Dec 2] Conky 1.9.5 n900 edition
own_window yes
own_window_class Conky own_window_type normal own_window_transparent no own_window_hints undecorate fullscreen new feature :) i'll upload a new version later, trying to see if i can make an interface to exit from fullscreen first... |
Re: [Updated Dec 2] Conky 1.9.5 n900 edition
This version is much cooler than the one in the repo. Thanks!
Just a wild thought: would it be possible to launch Conky upon startup and get it to use one complete desktop space, i.e. kinda like a widget? It would be nice if I can have my usual desktop on #1 and look up the system info on #2. :D |
Re: [Updated Dec 2] Conky 1.9.5 n900 edition
possibly... every time i try to do something simple i find it's like 4 times harder than i thought. if you find any documentation on how to draw on those windows, let me know. chances are that the desktop panels aren't individual windows though. may be some trick to draw on them still.
i got some really bad code written that just closes conky instantly if you click in the top right area (x>750 && y <50) if in fullscreen mode only. well, it's the best simple solution i could come up with. x11 / xlib has no simple way to detect a double click of course. |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Can i use this new version as a live desktop? I have the original conky as my number1 desktop and being able to do this with this version would be the biggest contributing factor for installing it.
Ill prob test it for myself when i've got more time next week, but would be really interested to see any screen shots if anyone else is using the new version as a live desktop. Thanks Matt |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
i don't think anyone else knows how, apparently you didn't read the last two posts or you wouldn't be asking if you can still do the thing we just said we don't know how to do...
|
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
matts76 finally answered my PM, the procedure is to install "Live wallpaper", go to your phone settings and click it. Now, click a desktop, choose category "unknown" and select "conky".
It works fine except it launches conky directly instead of using conky.sh, so the default config file is always loaded, even if you have a customized one in your MyDocs. I am thinking the easiest solution is just to delete the conky.conf in /etc/Conky and create a symlink to the MyDocs one. Then again, some people may prefer to have two configs - one for the desktop, and one for the windowed version. Here's a screenshot, the default conf i provided actually works very well, only problem i see is the right aligned text is off the right edge of the screen by a pixel or two. Maybe a bug in the live wallpaper or something, should be easy to work around. The bargraph text is also shifted but its not as bad, at least is still readable. http://www.appcheck.net/storage/Scre...211-143707.png If you're wondering, the conky process is killed any time the desktop goes off the screen, so it's not a battery killer. Just the history graphs start over each time. |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Thanks for pushing out the new version! (sorry I couldn't test it),
With all the new features, any chance of the weather plugin working? |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Quote:
You could probably get it working without repackaging the deb, but it's not much work either way so I don't know which is easier :) |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Heres a screenshot!
http://postimg.com/image/26000/25873.jpg You can just use the deb's from the ppa in the N900 the way they are. :) EDIT: Fixed |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
cool, might work well with the live desktop method... only problem with those debs is they will take up rootfs, but yeah if its just a tiny script and you put the images elsewhere, who cares.
|
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Well, they don't take up much, but if there is interest I wouldn't mind trying to repackage all the different conky extras from the ppa into an optified conky-extras (original name!) package.
|
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
1 Attachment(s)
I updated my codebase to use the latest from the master branch, so its 1.82 now.
I fixed a few small bugs I found and spent the rest of the weekend (almost all of it) playing with lua and cairo. It was really frustrating because I didn't know either of those languages and I had to learn them because the scripts people posted online are full of memory leaks and bugs :( I need to go play some xbox and clear my head, but I thought I'd update you guys on the progress in case anyone else finds this "fun". I will upload a new version to the garage page, the bugs i fixed are critical to get this lua and imlib2 stuff working the way i did. http://www.appcheck.net/storage/Scre...219-211628.jpg (looks cool but uses a lot more cpu! also xorg crashed twice and phone reboots when that happens... YMMV) Also gotta attach this zip, its containing some lua scripts and font, jpg is not included as its not public domain. I run the lua scripts by placing all in a "lua" subfolder of MyDocs. The LoadAll.lua sits in mydocs, call that one from conky .conf with... well just look at the conf. I'll attach it in a minute. |
Re: [Updated Dec 3] Conky 1.9.5b n900 edition
Quote:
|
| All times are GMT. The time now is 19:08. |
Page 3 of 5 |
|
Prev |
1 2 3
4 5
|
Next
vBulletin® Version 3.8.8