conky 1.9 for Puppies with (e)glibc >=2.15

Window managers, icon programs, widgets, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

conky 1.9 for Puppies with (e)glibc >=2.15

#1 Post by musher0 »

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! :)
~~~~~~~~~~~~~~~;~~~~~~~~~~~~~~~~~~
Hello all.

This is in answer to Puppus Dogfellow's questions about a 1-line conky, at:
http://murga-linux.com/puppy/viewtopic. ... ost#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/f ... 2/download
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
Last edited by musher0 on Fri 05 Jan 2018, 21:32, edited 7 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

@Puppus_D.and all:

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

Code: Select all

#!/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
Last edited by musher0 on Sun 01 Jun 2014, 03:56, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

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: Select all

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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

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

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#6 Post by Puppus Dogfellow »

Flash wrote:What is Conky? What does it do? Why would I want to use it? :?
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: Select all

#!/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 :shock: 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....

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

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+lu ... tart&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.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

Hello again, all.

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

I hope that helps. BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#9 Post by Flash »

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

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.c ... 4/Featured

If you know the Lua language, here's an example fo what you can do with conky-lua:
Image
(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! :(

BFN.

musher0
Attachments
conky_window_with_xcompmanager_shading.jpg
conky in a no-border window with xcomp shading
(50 KiB) Downloaded 3250 times
conky-1-liner-xmpl.jpg
a simple conky 1-liner acting as a top panel in pekwm
(48.29 KiB) Downloaded 3160 times
Last edited by musher0 on Tue 03 Jun 2014, 14:10, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#11 Post by Keef »

...and there is this thread here:
http://murga-linux.com/puppy/viewtopic.php?t=72815

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#12 Post by Moat »

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
Attachments
Screenshot-1.jpg
(66.45 KiB) Downloaded 3130 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

Thanks for the description, Moat.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#14 Post by Moat »

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 :oops: ) 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/ ... l/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. :?:

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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post by musher0 »

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! :) Actually, your reference to a Lua-enabled
conky might save people some time and trouble.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#16 Post by Moat »

musher0 wrote:No problem at all!
Ahh... goodie! :D
musher0 wrote:As a matter of fact, when I need a missing library, I sometimes download one compiled for CentOS or Fedora, through pkgs.org.
Ha - I've wondered about that from time to time, myself. Good to know, in a pinch.

Merci beaucoup, sir!

Bob

User avatar
solo
Posts: 389
Joined: Thu 14 Nov 2013, 20:33

#17 Post by solo »

Had conky 1.8.1 from archive.org Saluki repository running on Precise Puppy 5.7.1, and after uninstalling it and installing your 1.9 pet, everything worked perfectly.

Gonna have a look-see if this version has any nice new features.

Thanks!

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

Hi, solo.

Thanks for the positive report.

Don't get your hopes up regarding the features : you'll find that this conky compilation has very run-of-the-mill features! :)

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
solo
Posts: 389
Joined: Thu 14 Nov 2013, 20:33

#19 Post by solo »

Here's a good tip on how to change the border colors of your graphs and bars:

http://conky.pitstop.free.fr/wiki/index ... s_%28en%29

Now, if you happen to have a wallpaper with a single color at the spot the conky graphs and bars are placed, you can make those borders disappear by making the borders match that color.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

Hi, people.

Here is a more elegant take (hopefully!) on the conky switch! :)

BFN.

musher0

Code: Select all

#!/bin/sh
# conky-switch2.sh
# Codewise, this is more "elegant"! :-)
# musher0, June 4, 2014.
####
[ "`ps | awk '$4=="conky"'`" = "" ] && conky -c /root/.conky-1l-pek-haut || killall -q conky
#
# You may wish to colorize differently or play with the following
# icons to make yourself a nice icon for this conky-switch:
# /usr/local/lib/X11/mini-icons/mini-maxtall.xpm
# /usr/local/lib/X11/mini-icons/mini-maxwide.xpm
# Tip: save them as png pictures and make them 24 pixels wide 
# before you work with them.
# 
Last edited by musher0 on Wed 16 Mar 2016, 02:53, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply