Ubuntu :: Get Rid Of The Confirmation Message To Open Text Files?

Apr 16, 2010

How do I get rid of this kind of annoying (silly) confirmation messages :

Quote:

Do you want to run "footer.php", or display its contents? "footer.php" is an executable text file.and then you have these buttons to choose from :

Quote:

Run in Terminal | Display | Cancel | Run

I've been clicking on Display for many many times

View 6 Replies


ADVERTISEMENT

General :: Convert Open Office (odt) Files To Text Files?

May 25, 2011

How do you convert Open Office (ODT) documents to Text files?
I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.

I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?

View 1 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Programming :: Open Two Text Files - Read Them Line By Line And Update Parameters Of The 3rd File ?

Oct 18, 2010

I have two txt files containing x and y coordinates: xcoord.txt & ycoord.txt. I need to open them; read them line by line to get each coordinate; then each time I need to update Xs and Ys parameters inside another file called "dc.in" with the grabbed values.

Finally each time I need to run two exe files ( dc_2002 and st_vac) and produce corresponding output for each Xs and Ys ( dc.in is an input file for this exe files)

I have written the following code but it does not work:

View 14 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

CentOS 5 :: Text User Interface To Configure Text Files

Nov 5, 2009

I would like to write a text user interface (TUI) to adjust some text config files etc. Is there a tool or application for creating TUIs like this. I�m talking about those types of config tools which you see executed at first boot.

View 19 Replies View Related

Ubuntu :: Sending Alert Via Text Message?

May 8, 2011

is it possible to send text message alerts instead of emails to a phone from ubuntu?...

View 2 Replies View Related

General :: Loop Append Text To Text Files?

Jan 15, 2010

may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.

View 1 Replies View Related

General :: Search Text In All Text Files Of All The Sub-directories?

Apr 21, 2010

Currently, when I'm searching text in files of my PHP project, I use this line :

Code:

grep -r 'myTextToFind' *

But now, I would like to search only in ".lang" files. How can I do that ?

View 7 Replies View Related

Programming :: Insert Text Message In Textarea Using Php?

Dec 13, 2010

i trying to add text messge in textarea and i got error in connection and i don't know if it correct syntax. and i wonder when i was install xamp server it no password required. but i dont know what password that i input in my php connection.?

PHP Code:

<?php
$con = mysql_connection("localhost","root","123");
if(!$con)
{

[code]....

PHP Code:

<textarea rows="3" cols="30" name="txtcomment" wrap="physical">Leave a Comment

View 4 Replies View Related

General :: How To Specify Text Message Color On Gnome Terminal

Aug 11, 2010

OS is CentOS 5.5, and GNOME terminal emulator (v2.16.0). However I regard the question is not related with OS/Gnome version level. My question is whether if color setting is available or not for the text character outputted by kernel (or shell, i.e. Bash). Normally we can specify/modify text character color (and background color) with property setting on the terminal. However, it only takes affect to the text for inputting character, not for outputted character by kernel/shell. For example, when we type a shell command "ls -al <cr>", the text appears with the color along with the terminal property.

Meanwhile, the text message displayed on the console (output message against "ls -al" command), in this case it must be file and/or directory names, will appear with some preset color which we've not preliminarily set. In my case, I set Text color with "White", Background color with "Black". Then I expect the text output message color displayed by kernel/shell would be some brighter color. But the color is "blue" which does not look better brightness against "Black" background. For this situation what I'd like to know is how to set/specify the color outputted by the kernel/shell (or whether or not it is possible to set manually).

View 4 Replies View Related

Software :: Display A Text Message On XDM Login Screen?

Mar 13, 2009

I am using Debian Lenny (5.0) and I would like to know how can we display a custom text message on the XDM login screen?

View 1 Replies View Related

Ubuntu :: Get A Message To Flash Up On Screen Based On A List Of Messages In A Text File?

Oct 10, 2010

i've been using some subliminal software on windows for a while now and have found it to be really good. It basically just flashes up a message on screen over the top of whatever is going on at that time but the message is only there for about 30 milli seconds

The message is not there long enough for your conscious mind to read it but the theory is that your subconscious mind will read it.It actually works really well. THe problem is that they dont package a linux version although they do have an OSX version, i'd really like this on ubuntu.

Tried it in wine and it installs but nothing happens after that. Alternatively perhaps somebody can tell me how you could get a message to flash up on screen based on a list of messages in a text file?

View 4 Replies View Related

Ubuntu :: Error: To Many Open Files But None Of The Files In Them Are Open?

Jan 9, 2010

they keep coming up with Error: To many open files but none of the files in them are open?

View 4 Replies View Related

Ubuntu Networking :: Nfs Locking Files - Cannot Open For Editing, Or Open Firefox / Thunderbird?

Dec 12, 2010

Server - Ubuntu 10.04.1 lts
Client - Kubuntu 10.10

When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:

"Document file 'abcde.odt' is locked for editing by:

Unknown User

Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...

relevant entry in /etc/fstab:
server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0
relevant entry in server's /etc/exports:
/nfs/dan/Documents client(rw)

View 8 Replies View Related

Ubuntu :: Firefox Crashed And Will Not Open - Error Message

May 26, 2011

I am on 11.04. Firefox suddenly stopped working after reboot. I get the error message as shown in the enclosed screen shot. Have gone in to Synaptic Package Manager to remove FF and reinstall, but I still get the same messages.

View 4 Replies View Related

Programming :: Command For Find/Replace In Text Files (inc. Files In Sub-folders)?

Oct 11, 2010

I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.

Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'

The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.

View 1 Replies View Related

Software :: Differentiate Two Large Text Files Using Shell Script / Files Are Like Below?

Jan 20, 2009

I want to automate this using script.How to automate it?

File1:
s.no# 1 name:aaaaaa
city:abcd

[code]...

View 1 Replies View Related

Fedora :: Compression Ratio For Text Files / Binary Files

Apr 15, 2011

Fedora provides several compression techniques. E.g tar, tar.gz, zip etc. I want to know which among them provides

1. the best compression ratio for text files

2. the best compression ratio for binary files

3. fastest compression

View 6 Replies View Related

Applications :: Error Glibtop: Open (/proc/stat): Too Many Open Files

Oct 1, 2010

I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.

View 5 Replies View Related

Software :: Cant Open Xls Files In A Shared Folder Using Open Office 3.1?

Oct 12, 2010

I cant open xls files in a shared folder using open office 3.1. Its all started when i install a new open office version. when im using open office 3.0.8 i can open all the files but now i cant even open it. Its always display untitled documents.

View 14 Replies View Related

General :: Locale Or Run Level - Cannot Open Display Message

Jan 13, 2010

I try to change locale for a program to run my native language with root. I don't know what I made, but can't open gui programs from konsole with root account.

It appear this error:

Code:

When type locale, it appear:

Code:

Yesterday I make run level 4 to skip typing startx in console, and login directly to KDE.

View 7 Replies View Related

Ubuntu :: Recover Old Version Of Open Office Text (.odt)?

Jan 14, 2010

I had an open office document text and accidentally over-wrote it with a completely different file! i am not sure how it happened but it seems like I "saved link as" from a browser and accidentally double clicked on the existing file - and it now contains the text I was downloading.

does ubuntu save old versions of documents? does open office have a revert function? i really need the document that was lost and it seems like this problem is way too easy to make for there not to be safeguard,

View 1 Replies View Related

Ubuntu :: Open Office Text Is Blacked Out Or Smeared?

Oct 21, 2010

I just updated to Ubuntu 10.10 and when i opened open office all the text is blacked or smeared, it kinda looks like someone took a pen and scribbled over the text. If the test not blacked out if you scroll over the text it is the blacked out.

View 1 Replies View Related

Ubuntu :: Open Office In 10.04 - Put Animation In Either The Text Or Pics

Feb 9, 2011

I am working on a presentation in OpenOffice's Impress. When I try to put animation in either the text or pics, it suddenly quits. I then click into it again and it does a recovery. Has anyone had this problem? What have you done about it? I am on a Dell optiplex 745 dual core with 2 gig memory operating in 10.04.

View 2 Replies View Related

Ubuntu :: Open Text Editor In Multiple Windows?

Sep 1, 2011

I sometimes have two similar files that one works and one doesn't. I would like to compare the differences. But TEXT EDITOR opens two files in two tabs making it impossible to compare the data side by side.

Is there a way to make Text editor open a separate window for each file? Browsers usually have such an option to choose multiple windows or tabs but I can't find away to do this with Text editor.

View 5 Replies View Related

Ubuntu :: Way To Have An Option Appear To Open The On Screen Keyboard When Click In A Text Box?

Dec 1, 2010

I would like to find a way to have an option appear to open the on screen keyboard when I click in a text box.the moment I am using a ginn multi-touch gesture to bring up 'onboard', is there another way do this?

View 1 Replies View Related

Ubuntu :: 10.04 Shutdown Confirmation Feature-bug

May 4, 2010

When shutting down 10.04 you are forced to deal with a confirmation window. In previous releases it was possible to switch this off, e.g. right click shutdown button or using gconf-editor. I can't remove this feature bug in 10.04.

View 7 Replies View Related

Ubuntu :: Why Does 'shut Down' Now Require Confirmation?

May 29, 2010

Since I upgraded to 10.04 Lucid the Shut Down applet puts up a window titled "Shut Down" that has two buttons "Cancel" and "Shut Down". In 9.04 this confirmation window didn't appear. How can I make "Shut Down" skip the confirmation and shut down directly? I've looked around for a preference item about that a couple of times but didn't find it.

View 3 Replies View Related

Ubuntu :: Aptitude Install Does Not Ask For Confirmation

Jun 22, 2010

After executing:
$sudo aptitude install package_name
I am no longer asked for a confirmation before downloading and installing the pkg.

View 5 Replies View Related







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