Ubuntu :: All Files Show As Type Plain Text?
Apr 14, 2011
I somehow managed to screw up my lucid lynx system so that all files show up under Nautilus properties as Type Plain Text. When I double click a file, any file, the system tries to open it as plain text with gedit. Everything worked correctly until yesterday when I tried to install a new version of PyQt4. If I reboot with an old (karmic) version of Ubuntu and bring up Nautilus Properties on the same file (my data partition can be opened in other OS's) the files show up with the correct file type (PDF, ODT, etc) So the problem is not in the file itself, but rather in the lucid OS, which is mis-interpreting the file type. As I said I somehow messed it up when installing the new version of PyQt4.
View 7 Replies
ADVERTISEMENT
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
Apr 5, 2010
I've got an apache-svn server up and running fine but I'm struggling with an irritating problem. I need the apache server to display .vbs, .cs., vb., .sh, .pl., .c, .h, .cpp, etc, etc files in the browser. Whenever our users click on a script they get a download dialog instead of the script being displayed in the browser as plain/text. I have added:
Code: AddType text/plain .vbs Into /etc/apache2/mods-enabled/mime.conf but it seems to be getting ignored. how I can tell apache to treat script files as plain-text?
View 1 Replies
View Related
Jan 1, 2010
In the /boot/grub/ all the grub mod files show as music file type for Linux Mint 8. So is it really needed to correct this, and how to change this file type from some music application to the grub module file type association?
View 5 Replies
View Related
Jan 7, 2010
I've been using openoffice.org a lot recently and I was hoping that I'd be able to cat the contents of the file solely through the terminal.What's the best way to do this? My thought is to use a command in a terminal to convert to plain text and cat the file.
View 2 Replies
View Related
Jan 16, 2010
With the gpg command I used to encrypt files so they saved as plain text (the encrypted files were viewable in a plain text editor though were a encrypted nightmare)
I just forget the option in the gpg command to do this and I can't find it in a hurry either in the man file
View 6 Replies
View Related
Jan 14, 2010
Does anyone know of a application that will use plain text, but allows the customizatino of width and lenth of the number of characters?
Looking to set my footprint to be 78 characters wide (by) 59 characters high.
View 2 Replies
View Related
Jul 15, 2010
Basically, I have a selection of .rdp shortcuts to various machines, but they are considered the file type "plain text document (text/plain)" so if I change it to open with to tsclient, all of that file type opens with tsclient. And if I change it to gedit, all the rdp files open with gedit. Is there a way to create a custom file type dependent on the extension rdp, or is there a way to set tsclient to open by extension rather than filetype?
View 2 Replies
View Related
Jul 27, 2010
I am looking for some source package which will convert html fileto text file without using perl.I mainly need to do this on an ARM platform, so if I get sources I can cross compile it. I need the source package in C
View 4 Replies
View Related
Apr 14, 2010
i have a big file of random numbers i generated at some point in time, after working with it with different things(how fun that was)... i want to remove duplicate lines and i'm not sure i'm doing this right
heres the command
Code:
sort random.txt | uniq -u > rand-shorter.txt
the file is pretty big, everything on a new line. i found the command on a web site so i'm sure its correct(bit of a command line in linux newbie)
can anyone confirm if this will remove lines duplicate lines (keeping one copy) and dump what is left in a file named rand-shorter.txt?
EDIT: i think its actually working, just taking a reallllly long time (on an old pen 4 from 2000)
View 8 Replies
View Related
Sep 27, 2010
When I print receipts from certain company's emails, they span three pages or more bloated with images, links and overly large text. I can view the message in plain text by setting the preferences to only display text instead of html, but it doesn't affect what is printed. I still get the full HTML page printed. Is there a way to force evolution to print in plain text instead of HTML?
View 3 Replies
View Related
Jan 31, 2011
I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the file. What do I need to configure?
I've tried this Code: <Directory /var/www/>
AddHandler cgi-script *.cgi
Options +ExecCGI
</Directory> And I've tried this Code: <Directory /var/www/>
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
[Code]...
View 1 Replies
View Related
Sep 16, 2009
My code perl code is as below.I want to print the contents of file "/dir/Myfile".But problem is that the file "Myfile" contains html content as below.
<TP_INFO> <Mail> </Mail> </TP_INFO>
So the IE treats it as HTML content and doesnt print the content present in the tags.Can any one help me to print HTML content as plain text?
sub PrintLog
{
print "Content-Type: text/plain
";
[code]....
View 4 Replies
View Related
Mar 21, 2010
I just downloaded a Plain Text File that contains (what appears to me as) code that will 'unlock' functions of my MS keyboard, now what do I do with it? Here is a preview of some of the contents of the file from the beginning of the text.
[Code]....
.....and so on with different items. My goal in doing this was to enable the zoom button on the keyboard.
View 1 Replies
View Related
Jul 31, 2010
Linux kernel 2.6.21.5, Slackware 12.0.
I would like to know if it would be easy for me to get a program which, given a plain text file as input, discards the line separators and writes the rest as its output. And let's put in the case of a file that has been mangled to the point of having CR,LF (carriage return, line feed) in some places, only CR in others, and only LF in still other places. That is, the three possible combinations used in systems as a newline char (the 1st is, or was used by m$- dos, the 3rd one by Unix and I know systems where CR is the line terminator).
After all, all the program has to do is, every time it finds a char belonging to the set {CR, LF}, cast it away.
View 11 Replies
View Related
Jun 15, 2010
I was wondering if there is way to hide passwords in bash scripts. For example: I have to write a script to export a full ldap structure, and I'm using the ldapsearch -y passwordfile, where password file is a plain text file that contains the password. Is there a way to hide the password from that file?
I was thinking to remove the r attribute from the file and before the script is lunched to put the attribute back, but is not a good solution, the same with immutable attribute.
View 7 Replies
View Related
Jan 4, 2010
Is there anyway to decrypt some plain text which was encrypted using the function crypt()?
View 3 Replies
View Related
Jul 24, 2009
I dont have permisions to edit plain text file.
When I run:
View 2 Replies
View Related
Sep 5, 2011
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
View 1 Replies
View Related
Apr 23, 2010
Is it possible to have the passwd file for svnserve encrypted, rather than store the usernames/passwords in plain text?
View 3 Replies
View Related
Sep 9, 2010
where the file is that allows me to change CTRL+V in Pidgin from "paste" to "paste as plain text"? According to a changelog, it should be possible somewhere. I've seen about five different files referenced on various forums, but haven't been able to locate any of them on my computer.
Another thread mentioned appending the following bit of code to the gtkrc file:
Code:
bind "<ctrl>v" { "paste" ("text") }
I found the file in /user/share/themes/Default/gtk-2.0-key/.When I open this file, it's empty. I added the code there, but it didn't work. The only other locations I found that file were in the other theme folders, but I use the default.
I'm running Ubuntu Netbook Remix v9.10, and the latest build of Pidgin (2.7.3).
View 1 Replies
View Related
Jun 9, 2010
I am looking for some source package which will convert plain text file to html file without using perl.
I mainly need to do this on an ARM platform, so if I get sources I can cross compile it.
View 5 Replies
View Related
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
Aug 31, 2010
I was using Hardy Ubuntu and have recently moved to Lucid and in both distributions I have noticed that alt+f2 (launcher) is very slow to show up when I have a lot of programs open.
Also, when I start typing in the box (alt+f2 launcher box), the typing is very slow (Maybe because it is trying to auto-complete?). I don't really understand why.
My terminal auto-completion is very fast. I have a very beefy machine with lots of RAM.
Has someone else also faced this problem? What is the solution?
Is it possible to replace the default gnome alt+f2 launcher with a different one that perhaps doesn't auto-complete?
EDIT: I'd like to add that launching applications from the gnome-terminal is extremely fast on my machine (less than 1 second). With alt+f2, they take 3-4 seconds and sometimes even 5+ seconds.
View 2 Replies
View Related
Aug 11, 2011
I have a question regarding to the Graphical Splash Screen. Is their a way to show the text based startup on booting your OS? So. I don't the OpenSuse Background with the loading line. But i want the half transparent black background if possible or just the black background with all the loading texts. The black and white screen.
View 9 Replies
View Related
Jan 9, 2010
How can I get PDF file type to show up in the firefox applications list so I can specify what application to open it with, etc..
View 1 Replies
View Related
May 25, 2010
First, I'm sorry if some one has already posted this but I can't find it. I recently installed Ubuntu 10.04 LTS on my laptop and I have a dual boot between that and Vista. I cannot use Ubuntu for more than an hour or two before it won't let me type in text fields. When this happens, the menues (Applications, System, ect.) stop working also.
I can continue to browse the internet and play music when this happens. The problem can be recreated consistently by using OpenOffice Word Processor. I can not type more than a sentence in OpenOffice before this problem occurs. The only way to fix it is to hold the power button to shutdown.
View 3 Replies
View Related
May 16, 2011
is there any tool (terminal command preferably) which can show the frequency and the type of the connected mobile broadband network. I mean HSDPA/GPRS etc and 900/2100MHz. At my country there are 2 frequencies used for UMTS, 900MHz for rural areas and 2100MHz for urban and I need to know what type is the connection and what is the used atm frequency. I am using wvdial for connecting to the internet.
View 2 Replies
View Related
Jan 24, 2011
I have problem with login to Fedora 14. After I type my password is show Fedora 14 screen but It stop doing anything it show only Fedora 14 Picture background.
View 11 Replies
View Related
Jul 30, 2011
I am running Ubuntu 11.04 Encrypted LVM.I have problem with plymouth resolution. I managed to fix ugly plymouth with SterUpManager. But when i boot, before logo appears i get message: "Vga=189 is deprecated. Use set gfxpayload=800x600x24,800x600 before linux command instead.I don't want this message.I have followed this tutorial showthread.php?t=1446132, but tis doesn't work for me. I don't know why.So, everything i want is just a text during boot and a passphrase prompt --> no logo and no VGA message.
View 2 Replies
View Related