Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 16:21
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
conky 1.9 for precise-5.7.1 & Puppies with (e)glibc >=2.15
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sat 31 May 2014, 23:27    Post subject:  conky 1.9 for precise-5.7.1 & Puppies with (e)glibc >=2.15
Subject description: ... Plus one URL pointing to a Lua-enabled conky.
 

Edit 1: there are screen captures further down this page.

Edit 2: please see Moat's post towards the bottom of this
_______ page for the URL to a Lua-enabled conky, and

_______ keef's reference to an older Puppy thread on
_______ conky-LUA, around the middle of this page.

Thanks to both of them! Smile
~~~~~~~~~~~~~~~;~~~~~~~~~~~~~~~~~~
Hello all.

This is in answer to Puppus Dogfellow's questions about a 1-line conky, at:
http://murga-linux.com/puppy/viewtopic.php?p=780591&sort=lastpost#780591

Please find below the link to a pet of conky 1.9 working on Puppy Precise 5.7.1.
http://www.datafilehost.com/d/90abbd8f (Valid for the next 90 days.)
This pet was compiled / created from the conky-1.9.0.tar.bz2 archive available at
http://sourceforge.net/projects/conky/files/conky/1.9.0/conky-1.9.0.tar.bz2/download

Quote:

Conky 1.9.0 compiled Wed May 28 09:29:44 EDT 2014 for Linux 3.9.11 (i686)

Compiled-in features:
System config file: /usr/etc/conky/conky.conf
Package library path: /usr/lib/conky

X11:
* Xdamage extension * XDBE (double buffer extension) * Xft * ARGB visual

Music detection:
* MPD * MOC

General:
* math * hddtemp * portmon * Curl * config-output * apcupsd * iostats * ncurses

In the above, please note the absence of a lua hook, since I do not have the Lua
language installed on my Puppy Precise 5.7.1

Best regards.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Mon 02 Jun 2014, 18:43; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sat 31 May 2014, 23:39    Post subject:  

@Puppus_D.and all:

Here is a handy conky "on/off switch" that you can use with a 1 line conky.

Code:
#!/bin/sh
# conky-switch.sh
####
killall conky || conky -c /root/.conky-1l-pek-haut

(the name of the conky config file can be anything.)

Drag it on the desktop, give it an appropriate icon, and there you go: you've got a
conky switch!

Enjoy!

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Sat 31 May 2014, 23:56; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sat 31 May 2014, 23:43    Post subject:  

In answer to a PM by toomanyquestions:
toomanyquestions wrote:
Do you know if it will work on slacko 5.7? I'm tweaking slacko and would love to use conky.

Do
Code:
ldd --version

in a console in your slacko.

If you get glibc 2.15 or higher, or eglibc 2.15 or higher, it should be ok to use it.

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sat 31 May 2014, 23:52    Post subject:  

Hello again.

In the other thread I mentioned that the 1-line conky in the picture and its config file
was for pekwm. I designed it specially for pekwm because pekwm does not have a panel.

You can of course use the pekwm template with any window manager.

However, if you use it with jwm or icewm, these wm's already provide some of the
information in their panels, so you may want to modify the pekwm template
accordingly. I mean: remove the informations provided by the jwm or icewm panels
from the pekwm template, and then add different, supplemental, information.

It's up to you. BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Sun 01 Jun 2014, 00:33    Post subject:  

What is Conky? What does it do? Why would I want to use it? Confused
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 692
Location: nyc

PostPosted: Sun 01 Jun 2014, 00:50    Post subject:  

Flash wrote:
What is Conky? What does it do? Why would I want to use it? Confused


it's like having the data from htop (and a weather service, if you'd care to add that as well) as a configurable box or line embedded in your desktop. it also will do drive size/space remaining and whatever else anyone has thought to add.

musher0 wrote:
@Puppus_D.and all:

Here is a handy conky "on/off switch" that you can use with a 1 line conky.

Code:
#!/bin/sh
# conky-switch.sh
####
killall conky || conky -c /root/.conky-1l-pek-haut

(the name of the conky config file can be anything.)

Drag it on the desktop, give it an appropriate icon, and there you go: you've got a
conky switch!

Enjoy!

musher0


thanks, musher.

btw, what's lua and what are the advantages to having a conky with a "lua hook"?



your on off switch works great, musher. the pekwm file took over the whole screen, though (but text was only one line.)

had a look at the config file i had-- seems pretty hairy and too involved to tweak. going to find one on the net and activate it with your script.

thanks again.

edit: on second thought, thousands Shocked of conky files is a bit much to sort through. may as well make my own or just continue to use htop-thru-urxvt and push what i don't want visible off the screen. probably less memory usage, just as pretty (other than the title and scroll bars--upper left takes care of that...), and you can still use the space beneath it....
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sun 01 Jun 2014, 08:11    Post subject:  

Hello, Puppus_D.

Compiling conky with the Lua hook allows you to present your conky information with
some graphics effects by using Lua's graphic libraries. (My understanding.)

There are many, many examples accessible from:
https://duckduckgo.com/?q=conky+with+lua+deviantart&t=oen
There is even a conky-lua designer group on deviantart!

I did try to compile conky with the Lua hook: the compile utility said that I couldn't
because I didn't have a version of Lua on the computer.

BFN.

musher0

~~~~~~~~~~
PS. Don't get discouraged. Configuring any conky line or "rectangle" requires a lot of patience. You have to do a lot of "trials and errors" before you get the result you want.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sun 01 Jun 2014, 09:52    Post subject:  

Hello again, all.

Here is some documentation on conky config files, how-tos, "pretty tables", etc., from the
"horse's mouth" Smile : http://conky.sourceforge.net/documentation.html.

I hope that helps. BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Sun 01 Jun 2014, 10:49    Post subject:  

Hey musher0, how about adding a small screenshot to your first post so we can see what Conky looks like? Idea
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Sun 01 Jun 2014, 14:52    Post subject:  

Flash wrote:
Hey musher0, how about adding a small screenshot to your first post so we can see what Conky looks like? Idea

Hi, Flash.

There are quite a few on the conky site, at: http://conky.sourceforge.net/screenshots.html

Also there's a specialized group on deviantart, at: http://conky-artists-group.deviantart.com/gallery/24132854/Featured

If you know the Lua language, here's an example fo what you can do with conky-lua:

(Please note -- You'd have to recompile conky-1.9 with lua enabled, though. The conky
compilation / pet offered in this thread does not have lua enabled.)

I know, I know, this is not exactly small... I got carried away! Sad

BFN.

musher0
conky_window_with_xcompmanager_shading.jpg
 Description   conky in a no-border window with xcomp shading
 Filesize   50 KB
 Viewed   1039 Time(s)

conky_window_with_xcompmanager_shading.jpg

conky-1-liner-xmpl.jpg
 Description   a simple conky 1-liner acting as a top panel in pekwm
 Filesize   48.29 KB
 Viewed   942 Time(s)

conky-1-liner-xmpl.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Tue 03 Jun 2014, 10:10; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 649
Location: Staffordshire

PostPosted: Sun 01 Jun 2014, 15:30    Post subject:  

...and there is this thread here:
http://murga-linux.com/puppy/viewtopic.php?t=72815
Back to top
View user's profile Send private message 
Moat

Joined: 16 Jul 2013
Posts: 217

PostPosted: Sun 01 Jun 2014, 22:52    Post subject:  

Handy little on/off script, musher0 - thanks for that!

Flash wrote:
What is Conky?


Hey Flash - you're familiar with Pwidgets, right? Pwidgets is conky - with the addition of Xonclock. The Pwidgets GUI app is a selection, placement and start/stop tool for what are essentially a bunch of small, individual conky configs & scripts. Conky being the graphics engine that visually draws system info onto the desktop - Lua being an additional engine that can draw neat animated multi-colored bars and circles (gauges, clocks, etc), which can be combined with conky.

There's a couple of those Pwidgets elements that I really like, so I copy/pasted a few together in a new conky config (text) file, added/tweaked a few things, and start/run it as plain conky, instead. Pwidgets always stacks every element vertically - I like the option - running as conky alone - of placing (even dragging) things to where I prefer, on the desktop.

In the screenshot below, I'm running the individual Xonclock .pet along with three seperate conkies - one of which is Pwidgets' own Weather Station (which requires Pwidgets to be installed, as it calls on a weather script and fonts particular to Pwidgets). The upper left "System Activity" conky is a Lua vertical bar graph element isolated from some other (too) complex conky I found on the net. IIRC, conky can only draw bars horizontally - and I liked the vertical bar Lua element better.

I find conky is really useful to monitor the system, as well as a ton of fun to play with!

Bob
Screenshot-1.jpg
 Description   
 Filesize   66.45 KB
 Viewed   904 Time(s)

Screenshot-1.jpg

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Mon 02 Jun 2014, 13:46    Post subject:  

Thanks for the description, Moat.
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Moat

Joined: 16 Jul 2013
Posts: 217

PostPosted: Mon 02 Jun 2014, 15:50    Post subject:  

Hi musher0 -

I just booted up my testbed, "throw-anything/everything-at-it" Precise 5.7.1 Retro install, and realized (via conky -v) that a while back I had found (being far better at Googling than compiling Embarassed ) and installed conky-all 1.9.0 (with Lua enabled) .deb, from the official Ubuntu packages website - and it so far has appeared to be running fine. From here -

http://packages.ubuntu.com/raring/i386/conky-all/download

In your estimation, do you see any problem in running this .deb instead of a Puppy-specific compiled conky package, like yours? It has not given me any trouble, so far, over the past few months... but does make me wonder. Question

I recall searching for an updated conky after experiencing a known bug in the earlier conky release (1.8.1-6, IIRC) where weather-type icons/images would not display apon a weather script's first call (now fixed in 1.9.0).

Bob
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4460
Location: Gatineau (Qc), Canada

PostPosted: Mon 02 Jun 2014, 18:29    Post subject:  

Hi, Moat.

No problem at all!

"As long as it works...", it doesn't matter where it comes from! I'm not a "purist"!

As a matter of fact, when I need a missing library, I sometimes download one
compiled for CentOS or Fedora, through pkgs.org.

So you won't get an argument from me! Smile Actually, your reference to a Lua-enabled
conky might save people some time and trouble.

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0929s ][ Queries: 12 (0.0042s) ][ GZIP on ]