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?
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?
What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.
I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?
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?
While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?
I have my OpenSuse 11.1 box set up with utf-8, however, every time I try to open a file with utf-8 characters with vi it can't handle those characters properly.
I 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)
I 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.
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.
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?
I 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.
does 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.
When 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?
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.
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.
As 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:
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:
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
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.
I'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.
This (correctly) display a message to the effect "There are no weather alerts for ...." when there are no weather alerts. However, when there is an alert, it simply displays a message like "Short-term forecast for ..." with no further information.
How are other people getting weather alert info in their conkys?