Ubuntu :: Display A Text From A File Using Conky?

May 29, 2011

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.

View 2 Replies


ADVERTISEMENT

Ubuntu :: To Display A Text From A File Using Conky?

May 29, 2011

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

View 7 Replies View Related

Ubuntu :: Displaying A Text File Dynamically On My Desktop - Conky ?

Nov 1, 2010

I use the awesome todo.txt cli tool for my todo list. I want to find a way to display this on my desktop, and have it update every time I update the file. Is there an easy way to do this? Does conky do stuff like this?

View 2 Replies View Related

General :: Ubuntu - Search Text In Files And Display File Name?

Mar 30, 2011

I am using find some_dir -name "*.some_ext" | xargs -l10 grep "some_expr"

to find files in folder, but I just want to display the file name but not all file content. Any solution?

View 2 Replies View Related

General :: User Passwords Display In Log File In Clear Text?

Apr 21, 2010

Running SunGard Banner software on RHEL 4.2 x86-32 bit Linux server Oracle Application 10.1.2.3 samba enabled. Users run processes/reports that are logged in a daily log file. In our daily job submission log files the user password shows up as clear text.The password shows up as $PSWD (sample from the logfile):

$JOB
$BANUID
$PSWD

[code]...

View 1 Replies View Related

Software :: Parsing A Text File To Display Certain Data On Website In Php?

Dec 26, 2009

Im trying to figure out how to display parts of a .db file created by the scorch2000 server to display a player name, games played, score and maybe more...

here is the text file format example:

playername1 password email #ofgames score setting1 setting2 setting3
playername2 password email #ofgames score setting1 setting2 setting3
playername3 password email #ofgames score setting1 setting2 setting3
playername4 password email #ofgames score setting1 setting2 setting3
playername5 password email #ofgames score setting1 setting2 setting3

I dont want to display everything, of course ^^, but how do i get the player name, the number of games he played and his score to display it in a webpage in this fasion:

Name Games Played Score

joe blow1 25 9876890
joe blow2 31 8989767
joe blow2 26 7989767
joe blow2 17 5989767
joe blow2 13 4989767

and by highest score because the log doesin't put them in in score order....

please help, i asked the maker because he has one runing already but no answer back, well the game is pretty old so i didn't really expect an answer anyways and tryed to figure it out but i dont know functions in php, this is to include in a php-nuke block (this i know how to do

here is an example of a working page at the developper website:url

View 14 Replies View Related

Software :: Finding A Php Script To Format And Display A Select Amount Of Text From A File?

Jan 23, 2009

i need a php script to format and display a select amount of text from a file or a cron job that'll do it (with grep etc) and out put to a file but whatever is easier i want to display all the banned ip's i have in my .htaccess file i have a lot of lines in my .htaccess file but i have a line that read like this:

Code:

RewriteCond %{REMOTE_ADDR} (123.123.123.123|123.123.123.123|123.123.123.123)$

the 3 test ip's are 123.123.123.123 and i want the "" stripping and the "|" removing and each ip to be on it's own line like this:

123.123.123.123
123.123.123.123
123.123.123.123

i'm not bothered if this is a php script that'll read the .htaccess file and display the output or a cron job that'll run every x mins and output it to a .txt file but i'd prefer a php script

View 14 Replies View Related

Ubuntu :: When Type "conky" In Terminal It Returns With Conky: Invalid Configuration File

Feb 1, 2011

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 Related

Ubuntu :: Conky Only Showing Text Shading?

Apr 24, 2010

I have my conky set up so it displays fortune, then I run a script to add enough spaces so that even if fortune is any amount of lines long, it will take up exactly 17 lines, and after that, it displays the time. The problem I have is that a lot of the time, the fortune will display fine, but the time will only display what default_shade_color is (black).

Code:

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.

[code]....

is there a built-in linux script that does what mine does? and why is conky only drawing the fortune in the right colors? PS the reason I want it all on one conky, is I'm running openbox and the right-click menu only works for stuff drawn to the root screen.

edit: When I don't use the script the colors work just fine, but the spacing's off, obviously. sceenshot-1 shows it.

View 4 Replies View Related

Ubuntu :: Conky Change Text Based On If From Script

Mar 25, 2010

My conky file declares a color association with this

color5 green

and then after TEXT has this line

Code:
ISC: ${execi 60 /home/ben/scripts/isc.sh}
the isc.sh file has this

Code:
#!/bin/bash
curl http://isc.sans.org/infocon.txt | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' > /tmp/isc

[Code].....

Why is it not displaying GREEN in the green colour? If I manually type ${color5}GREEN into .conkyrc its fine.

View 1 Replies View Related

Ubuntu :: Display Battery Into Conky For Laptop?

Aug 29, 2010

I would like to display my battery into conky for my laptop, do you have /proc/acpi/battery/BAT0 ? - I cant find it

View 1 Replies View Related

Ubuntu :: Getting A Conky Variable That Display The Version (ex 10.04)

Sep 26, 2010

Is there a conky variable that displays the Ubuntu version (ex 10.04)?

View 9 Replies View Related

Ubuntu :: Conky Won't Display Todo.txt Correctly?

Mar 16, 2011

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:

background yes
update_interval 1
cpu_avg_samples 2

[code]....

View 8 Replies View Related

Ubuntu :: Conky Display All Mounted Drives

Sep 18, 2010

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?

View 9 Replies View Related

Ubuntu :: Conky Broken - Missing Text Block In Configuration

Jun 10, 2010

It seems that Conky is broken, if I try to do anything with it(even after complete removal and reinstallation) I get this output.

Code:
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 don't know what to do?

View 7 Replies View Related

Slackware :: Conky On Which Display To Start?

Apr 22, 2011

Is there a way to tell conky on which display to start. I have dual twin monitor setup and its starting on my secondary monitor.

View 10 Replies View Related

Ubuntu :: Conky Display Computer Login Attempts?

Jul 10, 2011

I think someone has been in my apartment when I'm at work and attempted to login to my computer.

Rather than searching through all the logs, is there any way for Conky to display the last 2 or 3 login attempts?

View 9 Replies View Related

OpenSUSE :: Can't Make Conky To Display Any Image

Jun 6, 2010

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.

View 4 Replies View Related

Software :: Display External IP Address In Conky?

Nov 27, 2010

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

[code]....

View 2 Replies View Related

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%?

View 7 Replies View Related

Ubuntu :: Sort The Output To A Text File So That It Prints To The Text File At 1 Process Per Line?

Feb 6, 2011

im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.

echo $(ps aux) >>out

The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.

View 5 Replies View Related

Ubuntu :: Conky Date Display: Automatically Change Days Of Week

Jan 2, 2011

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:

${time %A}

But how do I get it to display tomorrow's date?

View 1 Replies View Related

General :: Temp Script To Minus Value To Display In Conky?

Jan 18, 2011

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:

Code:
temperature: 52 C

Is there some sort of script that can do this?

View 14 Replies View Related

Debian :: Conky And Custom Calendar - Display Holidays On Their Respective Days

Sep 28, 2010

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?

View 3 Replies View Related

Programming :: Remove Lines In A Text File Based On Another Text File?

Jan 28, 2009

I have a text file called file1.txt containing many lines eg.

line1
line2
line3
line4
line5
line6

Then i have another text file called file2.txt contains

3
5
6

Is there a command to remove the lines in file1.txt based on the keywords in file2.txt? note: It should remove line3,line5,line6 based on 3,5,6

View 10 Replies View Related

Ubuntu :: Conky Quirk - How To Get Conky To Start Normally Without Having To Do Manual Restart Everytime Login

Jun 26, 2011

I 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?

View 3 Replies View Related

Ubuntu :: Add / Remove Bits Of Text From A Text File

Dec 6, 2010

I am looking for a way to keep a log and make if then statements if a line exitsts in the log. I also am looking for a way to make a simple loop, like goto line number, and I also am wondering how to add/remove bits of text from a text file (plugins line in server.properties)

View 5 Replies View Related

Fedora :: F14 Gnome Text/plain Versus Text/html File Type

Apr 2, 2011

I put a text file on my desktop and added a couple lines of text with gedit. File type shows text/plain. Double-click opens the file in gedit which is what I want. I'm using the file to temporarily hold some snips of code that I copy from file to file, but when I copy some html into the file and save it, now file properties show it's text/html and a double-click opens the file in firefox, which isn't what I want. Is there some way to keep the file type from changing itself?

View 6 Replies View Related

General :: Replace Text In One File With Text From Another File Using Sed?

Apr 28, 2010

How could I replace text in one file with text from another file using sed?

The text in each of the files would be surrounded by a starting and ending delimiter or a starting tag, say like /* */ so to easily find them.

View 8 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved