Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Adding stuff to Conky


  • Please log in to reply
4 replies to this topic

#1 Al1000

Al1000

  • Global Moderator
  • 7,721 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:07:02 PM

Posted 12 December 2016 - 12:31 PM

Recently I've added more information about RAM usage, and a list of mounted file systems.

H7x1tBu.png

The new RAM usage lines are fairly straightforward and read buffered, cached and free memory:
Buffered: $buffers
Cached: $cached
Free: $memfree
The list of mounted file system is slightly more interesting:
${exec cat /proc/mounts | grep /dev/sd | awk ' {print $1} '}
It uses the exec command, to run a shell command, which according to /usr/share/doc/conky-std/variables.html "takes a lot more resources than other variables." However I cannot tell the difference; Conky seems to use the same CPU and RAM resources as it did before.

cat /proc/mounts outputs the /proc/mounts file, which contains details of all mounted file systems.

The output of that command is then piped through the grep filter, which filters out all lines that do not contain the string /dev/sd

The output from the grep filter is then piped to awk, which reads only the first column from the lines, which is the one I want Conky to display. :)

Here's my .conkyrc file in its entirety:

Spoiler


Please share anything interesting that your Conky displays.

Edited by Al1000, 12 December 2016 - 12:35 PM.


BC AdBot (Login to Remove)

 


#2 synaptic

synaptic

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Local time:07:02 PM

Posted 17 December 2016 - 03:48 AM

I have been a fan of Conky for a long time but I always meant to tweak it , and tidy it up a little .

 

Your guide has given me the incentive to get started on it .....

 

.... Thank you for posting .


Edited by synaptic, 17 December 2016 - 03:48 AM.


#3 Al1000

Al1000
  • Topic Starter

  • Global Moderator
  • 7,721 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:07:02 PM

Posted 17 December 2016 - 06:05 AM

You're welcome!

My Conky has recently developed a habit of moving to the left by a few 10s of pixels on my desktop. Restarting Conky puts it back where it's supposed to be, but then it may, or may not, move to the left again at some seemingly random time.

Perhaps it just needs some more "configuring." :)

Edited by Al1000, 17 December 2016 - 06:05 AM.


#4 synaptic

synaptic

  • Members
  • 34 posts
  • OFFLINE
  •  
  • Local time:07:02 PM

Posted 18 December 2016 - 04:39 AM

Yes indeed , Conky can be clunky ...

​I have similar display issues on my system .

There are some lines of text below the lower edge of the screen .

I found this :-

http://conky.sourceforge.net/config_settings.html 

The own_window_type parameter looks promising .....

....I will post back here if it does the business :)


Edited by synaptic, 18 December 2016 - 04:40 AM.


#5 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 18 December 2016 - 03:02 PM

Mine doesn't display much, but it's well organized.

 

vnogkt.JPG

 

Spoiler





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users