Slackware :: Conky - Display Values To Set Precision
Feb 16, 2011
I run my conky as one bar at the top of the screen (Ratpoison). It is frustrating when % values jump between 0->10% for example and then the entire bar shifts. How can I make it display 000% 010% 100%?
Recently I succesfully installed conky. I managed to get a lot of things work with more or less effort but I can't make conky to display any image.Images path and permissions had been checked. Imlib2 support too but conky won't display a thing.
I'm trying to display my todo.txt file in my Conky, but it won't align correctly. Only the first line of the list is where I want it, the rest is in the default location.Quote:
i have the following text in a file located in /home/anoopm101/.task [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]
i have to display on my desktop "this is the text" using conky.
So I'm running Fluxbox as my window manager in Xubuntu. I use ivman to automatically mount any usb devices.Now I was wondering if it's possible to have conky display all mounted drives and some information about them.I saw you can do {$ifmounted /media/blah} but this would assume I have a set number of devices preconfigured in fstab. It doesn't account for some random guy's flash drive, or a buddy's smartphone.
I know mount | grep sd outputs a list of mounted drives. So then could I somehow format that output and pass it to conky? Or do you guys have any more clever ideas on how I could accomplish this?
I am putting together a Conky config file by a sort of 'smash and grab' approach borrowing things from various configs I've seen around the web that do stuff I like. I have reached a stumbling block as I want to display my external IP, I have used
Code:
${addrs eth0}
to display the IP on my LAN and guessed I would just need to substitute 'eth0' with something else to get the external IP?? I have tried the mac address of my primary router to no avail, this just displays '0.0.0.0' My current config looks like:-
Code:
# set to yes if you want Conky to be forked in the background background yes #font use_xft yes
I have an K10 AMD CPU and unfortunately it has a borked temp sensor. I have figured out that if I subtract 8 from value stored in /proc/acpi/thermal_zone/temperature that the result is very close to being spot on. The problem is I have no idea to do this and conky has no built in way to do this.
The data stored in /proc/acpi/thermal_zone/temperature looks like this:
I want conky to display holidays on their respective days. I would be using a Catholic calendar. Do I make an .xml file of the dates and feasts? How can that be accomplished?
I'd like to tweak my Conky so it automatically displays the days of the week correctly. So for example, if TODAY were Tuesday, it would look like this:
Tuesday
Wednesday
Thursday
Friday
[etc.]
And then tomorrow, *automatically*, it would look like this:
Wednesday
Thursday
Friday
[etc.]
I know I can get it to display *today's* date like this:
While trying to compile itcl, one of the error messages caused me to look inside /usr/lib64/tclConfig.sh. I found many paths that were in /tmp, such as...
Code:
# String to pass to linker to pick up the Tcl library from its # build directory. TCL_BUILD_LIB_SPEC='-L/tmp/tcl8.5.8/unix -ltcl8.5'
I'm trying to install conky on my Slackware. I've downloaded the files from slackbuilds.org (both conky and lua). I've compiled and installed lua writing "make linux" and "sudo make install", but when I'm trying to compile conky, it says:
Code: No package 'lua5.1' found Consider adjusting the PKG_CONFIG_PATH environment variable if you
In the past I've been using the work around with feh to grab a copy of the image used for the background in KDE, however with the upgrade to Slackware 13.1 / KDE 4.4.3 this no longer happens.
I've trying to compile conky 1.7.2 in slack 13 with lua-cairo and lua-imlib2 bindings, have lua 5.1.4 installed and also installed tolua++-1.0.93 from der site installed it through scons.. here's my config_linux.py
Code: ## This is the linux configuration file # This file was adapted to be used with ArchLinux # Use 'scons -h' to see the list of command line options available # Compiler flags (based on ArchLinux's installation of lua) #LINKFLAGS = ['-g'] CCFLAGS = ['-O2', '-ansi', '-Wall' ]
I thought I would try out Eric's KDE 4.5.1 and Robby's new Xorg pacakges. The upgrade went off with out a hitch, but now when I try to launch conky I get
conky: error while loading shared libraries: libmowgli.so.1: cannot open shared object file: No such file or directory
So I rebuilt conky and reinstalled libmowgli ran ldconfig but I still get the error.
I am trying to build conky from SlackBuilds.org using sbopkg, but the build fails every single time. It may be worth noting that I am trying to build with extra options, namely --disable-x11 --disable-xdamage --disable-own-window --disable-xft.
This is so I can have a cli-only conky that I can pipe to my status bar. This has worked in the past, but now the build is failing with a seemingly unrelated error.
It states:
Code:
At the end of the build. I tried removing the option --enable-audacious, but that only resulted in an error which complained that yet another option (--enable-rss=yes) was a "Command not found". This continues as I remove options. I would like to keep many of those options active as I have a need for certain features.
This is a copy of the SlackBuild being used:
Code:
I have a full install of Slackware64 v13.1, so audacious is installed. I don't know what else could be going wrong, and I don't know why this worked in the past.
Doing some research I found that in conky 1.8.1 there is support for nvidia using libxnvctrl. I am trying to compile it but I am missing libxnvctrl. Does any body know where I can get it?
my Conky needed the Coretemp, and a friend of LQ told me to run modprobe, and it works greate! no every time I start my system, I need to run the modprobe to add the module to Kernel. How can I put the coretemp to start every startup? (I think there is somenthing to do with a file on the rc.module at /etc/rc.d/, but I'm afraid to do something stupid...) I want to make the conky running after start of the system. How can I do this?
This works on my Slackware64 13.1 using KDE 4.4.4, Conky version 1.8.0. This is a simple .conkyrc tweak that doesn't need feh, it doesn't have the distracting faun shadow-border and most importantly, it doesn't disappear when you click your desktop (On my system anyway). These are the relevant sections to edit:
I found that getting rid of the own_window_argb_values yes suggested in other fixes and replacing it with a specific alpha and then changing window type to override solved all my issues. I've noticed no bugs or strange happenings. This seems to be a common problem with a lot of workaround solutions. I think this is a much more elegant way. Edit: Not persistant... After 2 reboots it's back to normal.
Said that all the config i find put all the info in one place of the screen, in this example on the right side:
url
or like conky colors where you can put in either side, or other complex examples that use folders with images..that at least i need one day to study all the variables it has...
What i want is something simple, in my black background i dont want images and effects, only white simple text.
My problem is: i want for instance my specs above, my log info in the middle, my music info bellow (above my clock) and in conky config i'm hitting my head in the wall....
For instance if i use my facebook script to appear in the midle how the hell can i put my music info bellow without ruined the facebook in the midle...do i need 2 conky configs?
when I type "conky" in terminal it returns with Conky: invalid configuration file '/home/user/.conkyrc' Conky: missing text block in configuration; exiting ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_context_free(); With the parameter: context being NULL. Please fix your program. I've tried completely uninstalling, rebooting, then reinstalling, still same error?