My first and only conky......
Screenshot.png
My first and only conky......
Screenshot.png
HP Pavilion DV9608nr
Dual Boot | Compiz-Check | Partitioning | Compiz Plugins | bash_aliases | Installing nvidia drivers | using dd
| gparted live cd | Google cheat sheet | Unix/Linux cheatsheet | intrepid 8.10 live cd | Uninstall Ubuntu
Nice Guide Bruce. There is a new program called Conky GUI which you might want to take a look at. It's a bit raw a the moment but shows some promise.
Intel E5700 G41 8Gb Xubuntu 13.10, Ubuntu 13.4, WinXP.
Revo R3610 Win7 Pro, Ubuntu 13.04
Absolute Beginners Compiz-fusion wiki Local Weather
Last edited by kaivalagi; July 22nd, 2008 at 09:34 PM.
Windows 7 + VMWare Player + TinyCore Linux
Getting the Best Help on Linux Forums | A Beginner's Guide to Filing Bug Reports
Awesome topic guyz.
I need a code for getting remote machine's load.Can someone have a code for this using Curl?
Hmmm! I don't know. I have bashrc aliases setup for editing my conkys:
I open a terminal type: conke and gedit opens with all my files ready to edit.Code:# my aliases alias conke='(gedit ~/.startconky ~/Conky/conkymain ~/Conky/conkyforecast ~/Conky/conkyemail ~/Conky/fortune ~/Conky/scripts/SP_Forecast.py ~/Conky/scripts/EN_Forecast.py ~/Conky/scripts/mail/conkyEmail.py ~/Conky/scripts/myweather.template ~/Conky/scripts/argentina.template ~/Conky/scripts/otherweather.template &)' alias cia='killall conky && ./.startconky' alias killc='killall conky' alias stc='~/.startconky'
After editing a few lines "cia" kills and restarts conky so I can see the changes. The last two either kill conky out right or start it from nothing.
Took me a while to get here, but I'm comfortable with it. It reminds me of my days of writing .BAT file in DOS. Had over 200 of them at one time, looking after a multi-node Wildcat BBS and other things.
I'm very comfortable with CLI. Not like when I first came here to Ubuntu.
Have a nice day.
Bruce
PS: OK I'll look, but I make no promises.
Last edited by Bruce M.; July 22nd, 2008 at 10:56 PM. Reason: "to" to "two"
Well, I'm not so sure I'd go that far.
After all, you're already there and I'm waving at you, so there isn't really a need to rub elbows.
EDIT: I did download it ... looked "in" the archive, saw what it was going to install and deleted it.
I'm sure it will be good for "new people" in the future, but I'm comfortable in my setup now.
Last edited by Bruce M.; July 24th, 2008 at 03:04 PM. Reason: Edit
Try asking kaivalagi he loves a good challenge.
Have a nice day.
Bruce
Not sure whether there is a suitable tool already available or not?
The first thing that comes to mind is creating a simple php page and running it on the remote pc, then accessing the html output from it. I am not too familiar with /proc but somewhere in that pseudo-filesystem should be the details you're after. Alternately if you know of a CLI tool that would do the trick, let me know. I am looking at statgrab...
This thread isn't really the place to discuss, PM me with details of the local and remote pc's such as os, what's services available etc and we can put some thought into it. Some Googling (is it a word yet ) should get us somewhere.
Edit: See attached, if you run the php on the remote pc's web server you can retrieve cpu load info locally with a web call, you could just use wget in the CLI...PM me if you still need help
Last edited by kaivalagi; July 23rd, 2008 at 12:48 AM.
Here's a little something for the Facebookers.
There's a command line interface available for Facebook called fbcmd(link); so far only a beta version of the script is available.
It uses a command line PHP interpreter to get things done, so to get that, run the following command:
To get the script, run these commands:Code:sudo aptitude install php5-cli
Now that you have the script, you need to access Facebook with it.Code:cd wget http://www.cs.ubc.ca/~davet/fbcmd/fbcmd-0-85.tgz tar zxvf fbcmd-0-85.tgz rm fbcmd-0-85.tgz
To do that, go to this link and follow the instructions to obtain an authorization code.
Use the authorization code in the following command to allow fbcmd to access Facebook:
The script is now installed and ready for use.Code:php ~/fbcmd/fbcmd.php AUTH <AUTHORIZATION_CODE>
To get an output like this in your Conky,
input the following in the TEXT section of your .conkyrc file:Code:1 unread messages 3 pokes 2 shares 3 friend requests 1 group invites 1 event invites
The 1800 in this command makes Conky update every 1800 seconds(i.e. every half hour).Code:${texeci 1800 php ~/fbcmd/fbcmd.php NOTIFY &}
There are other options available with this script; instead of NOTIFY in the above command,
you can write STATUS to see your current status or RECENT 3 to see the 3 most recent status updates from your friends.
Run the following command to see all the possible arguments for fbcmd:
Code:php ~/fbcmd/fbcmd.php
Bookmarks