Ubuntu :: How To Write A Conky Script
Mar 2, 2010I am a beginner,i like to write my own script but from where to start?
View 3 RepliesI am a beginner,i like to write my own script but from where to start?
View 3 RepliesJust wondering if there is a way to show the stats of the hard drive(s) in the computer mainly the current read and write transfer rates. Similar to the network graphs that show the Download and Upload speeds, but concerning the hard drive(s) in the computer. I know you can monitor the hard drive temperature, but I haven't seen anybody monitor the stats for the hard drive.
View 7 Replies View RelatedI have conky installed and set up as a startup application, however everytime I log out and back in conky creates itself as a new window:
How can I get conky to start normally without having to do a manual restart everytime I login?
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?
View 3 Replies View RelatedI have a problem with conky. It draws a black background instead of using pseudo-transparency. I ofc tried to achieve this with feh but to no avail. All the instructions here failed: Conky Hardcore! Conky transparency with KDE (3 and 4)
[Code]...
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies View RelatedIve installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies View RelatedI can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies View Relateddf -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
I've tried other solutions, but none work for me.Here is my .conkyrc
Code:
######################
# - Conky settings - #
[code]....
how do i make this conky not to be on top of others on startup? i have to killall conky then activate conky to use it normally.
View 2 Replies View RelatedI just did a fresh install of Ubuntu 10.10 and i thought I'll just compile the latest version of conky.
So i did:
Code:
./configure --prefix=/usr --enable-audacious=yes --enable-iostats --enable-curl --enable-rss --enable-weather-metar --enable-weather-xoap --enable-imlib2 --enable-lua-imlib2 --enable-lua --enable-lua-cairo --enable-wlan All good. I finally install everything and manage to get configure to finish but once I type make it exists in the middle.
Code:
[...]
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE="/usr/etc/conky/conky.conf" -DPACKAGE_LIBDIR="/usr/lib/conky" -pthread -[code]....
I recently installed Ubuntu and I came across Conky.I was fascinated with this software and installed it using terminal codes. At first it rand with the default config file loaded. then i PC shutdown due to a power failure. now conky does not start and after searching over the net i found out that my conky config file is missing. I pasted the conky config fiel yet to no avail.
It gives me this error while running it in Terminal
Code:
Conky: /home/shazzy/.conkyrc: 30: no such configuration: 'on_bottom'
Conky: /home/shazzy/.conkyrc: 63: no such configuration: 'border_margin'
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
[Code]....
Here's the link to the site. I'm not sure how do i set this up as my conky config.
Link to ConkyConfig
I've been trying to set up Conky and everytime I try to put in new code that I've copied and pasted I always get it to look super crappy for some reason..Also why is it going to the bottom left instead of top right?
View 7 Replies View RelatedI would like some help with Conky. I have no Idea how to configure it and all the guides are soo confusing to me. I would like it to be clear, have some basic PC info about my computer and show me the weather.
View 3 Replies View Relateddoes anyone have cpu temp,gdu temp,fan information working in 11.04? if so you tell me how you did it. I have cpu temperature working just not the rest.
View 5 Replies View RelatedWhen I run Conky on Ubuntu 11.04, then after some time it suddenly disappears (isn't drawn anymore on the desktop). With 'ps' I can see that the Conky process is still running, it just isn't drawing itself anymore. I don't know what exactly triggers Conky to disappear. Does this have something to do with Unity?
View 1 Replies View RelatedIm trying to get Conky to run at startup. I created a file called conky_start.sh in etc/init.d that looks like this:
Code:
#!/bin/sh
### Starts up Conky ###
sleep 30 && conky
Then did this to get it into startup:
[Code]....
I have conky on my desktop, and it works most of the time. The only times I've noticed problems are when I do large file transfers from my computer to an external HD.
What happens during large file transfers is that Conky crashes, and then I realize that my desktop is also "dead" (as in, I can't highlight anything. The icon for my external HD is gone, even though it is still mounted and accessible. Right-clicking doesn't do anything either.). I tried Ctrl+Alt+Backspace, but that didn't work either. I can log out and back in to get everything working again, but that's a bit of a pain.
I'm using the GNOME desktop on Ubuntu 9.10.
I've downloaded a .htm file from the WWW which has the following few lines:
Quote:
<h1>
Latest Times as at: 4-Feb-2010 15:30 ${color3}${execi 1800 grep "Latest" FinishTimes.htm | sed -e 's/ in Tideda Files//'}
</h1>
and in my Conky script I do this:
Code:
${color3}${execi 1800 grep "Latest" FinishTimes.htm}
but when it prints on the screen there is an empty box at the end of the line. I assume this a CR or LF that's attached to the end of the line, but how can I get rid of it?
Is there a way to stop conky from closing when I click on it? I have a few set up as a system monitor bar on the desktop, and I'd like to anchor them there from accidental clicking so I don't have to restart my script.
View 2 Replies View RelatedAs the title implies, I have fluxbox and conky running in Karmic. The problem is getting conky to start at startup. Below is my ~/.fluxbox/startup file. I have searched and tried everything I have found to get it to work. Conky works beautifully when I run it manually. Anyway, here is my startup file:
Code:
#!/bin/sh
xmodmap "/home/doug/.Xmodmap"
unclutter -idle 2 &
conky &
exec fluxbox -log "/home/doug/.fluxbox/log"
Lines added before and after the conky line run perfectly. Unclutter runs, but no conky.
I'm trying to get weather installed/working for conky. In my .conkyrc file I have this code of line
Code:
${color white}${execi 1800 /home/rjr/weather/weather.sh 92392}
I have the 2 files weather.sh and weather.xslt in its own folder named weather and in weather.sh file I have this line of code..
Code:
# where this script and the XSLT lives
RUNDIR=/home/rjr/weather/
I gave permission to weather.sh file, on my desktop running conky in the weather section it says Invalid Partner Code. I tried even putting USCA1197 in the .conkyrc file instead of my zip code and still same problem. Do I have to give weather folder permission as well?
Every time I boot, conky (the system manager tool) is on top of all other windows. Every time I restart conky (save the .conkyrc file) it ends up under all the windows. Here is my conkyrc up to the TEXT part:
Code:
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
[code]....
If nothing else, is there some command I that restarts conky other than saving the conkyrc file?
I have everything working fine, but the main reason o wanted to use it was to monitor my network usage etc.. As you can see in the scrot the network is blank. If anyone knows how i can get my conky to show the network here is my conkyrc
[code]....
I just realized today that my conky is ticking I know it's conky 'cos if I turn conky off the ticking stops, and the ticks are in sync with conkys update interval. How do I get the ticking to stop?EDIT: Actually I think the ticking is coming from my processor fan or something next to it (it's in a laptop) 'cos the sound doesn't stop if i plug earphones in or mute it. But it is conky causing it. If I put my ear on my laptop keyboard where the processor is I can hear the ticking louder.I Think it's the same problem as this thread, but it doesn't do it when I resize windows.
View 5 Replies View RelatedI've been running Ubuntu 10.10 since its became available and have recently dialed in my conky config. All has been working just fine. I usually leave my system running 24x7 and will reboot it or shut it down from time to time.
I have conky running via a command line (manual) and as soon as I enter 'conky' it will run immediately. However, this morning I rebooted my system, ran conky in a terminal window as I usually do...nothing the usual script shows up in the terminal window, but conky didn't appear on the screen. I've not changed backgrounds, changed my .conkyrc file, nothing. I removed conky and reinstalled it and pulled a new .conkyrc from a backup. I could read the original just fine, but thought perhaps the . file had something wrong. Still the same results...conky didn't appear on the desktop. Here is what is really weird.
After about 3 or 5 minutes, conky appeared on screen and is running fine except its no longer pulling my external IP number via:
Why its taking conky so long to appear on the screen?
I installed the 2.6.35-23-generic kernel yesterday and now conky doesn't run because there is a folder that is now missing. Conky runs at startup and when entering this in terminal:
conky -c /home/cavsfan/.conkyrc
I get this error
Code:
Conky: can't open '/sys/bus/platform/devices/coretemp.2/temp1_input': No such file or directory
please check your device or remove this var from Conky
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
And sure enough folder coretemp.2 is missing:
Code:
cavsfan@cavsfan-MS-7529:~$ cd /sys/bus/platform/devices/
cavsfan@cavsfan-MS-7529:/sys/bus/platform/devices$ ls
coretemp.0 coretemp.3 Fixed MDIO bus.0 pcspkr
coretemp.1 f71882fg.2560 i8042 serial8250
cavsfan@cavsfan-MS-7529:/sys/bus/platform/devices$
How to get /sys/bus/platform/devices/coretemp.2/temp1_input back? The whole folder is missing and I have tried uninstalling lm-sensors, hddtemp without success. I do not understand why the folder would be missing after an update.