Ubuntu :: Firefox Opens Text Files?
Nov 16, 2010all my text files are opened with firefox how can I change that.
View 2 Repliesall my text files are opened with firefox how can I change that.
View 2 RepliesI would like to make Firefox view text files not in its internal editor, but in the external editor (namely EmacsClient).Is it possible to change this default behavior of Firefox?I beg your pardon for being inconcise, I'll try to state the matter once again. First thing to mention is that I use the Linux version of Firefox. That means that unlike the Windows version the contents of the application bindings dialog is very scarce.
When I click on the link to a text file (be it remote or local) by default Firefox opens it in the internal browser. I've tested, somehow it looks at file extension - when for example I make a file with .mpg extension, the behaviour is as it should be - the dialog with "Open With..." and stuff. When the file has unknown extension (unknown to /etc/mime.types), in my case it's .out, pure text format - the default behaviour is to open it in a Firefox window.
I have installed Debian from the disk in the Linux bible and the mirrors in the US and Oregon State. The first time was successful but lasted only only a couple of days before it was corrupted. Subsequent installations have all ended with an installation that opens with a text screen login. What should I enter to convert to GUI?
View 14 Replies View RelatedI'm on Debian Squeeze, and my terminal emulator is gnome-terminal. For some reason, my terminal has started to open completely blank, without showing
Code:
user@computername:~$
All it shows is a flashing cursor, and I have to press ctrl+c to get that command prompt prefix to show up. I'd like to know how to fix this. xsession-errors shows nothing useful regarding the gnome-terminal.
Just installed the new google earth. I had some errors trying to get it to start but I got that fixed. But when it opens all works but the text is really weird and just in strait lines!! What is this? And how can I fix it?If the image does not show up just go to
View 3 Replies View RelatedI use Ubuntu 10.04.1. When i write to terminal "sudo firefox" it opens the firefox with the default users config settings. But when i write "sudo nautilus" it open the nautilus with new config settings. This means there is a problem on my system ? (when i open the firefox with "gksudo", it is using as new user (root user's) config files but nautilus is opening with the root user's files also with "sudo").
View 5 Replies View RelatedI have a win7 laptop and installed a dual-boot ubuntu 10.10. I'm using firefox & thunderbird, shared between windows and ubuntu (default profiles are on a fat32 disk that is shared between the two OSs). I can mount the fat32 disk as usual, but I can't get firefox OR thunderbird to start unless I start them from a terminal using 'sudo'. This is kinda strange. I used to do this all the time and never had a problem before.
I installed firefox, then did:
cd /etc/firefox
sudo firefox -P
in the profile manager, I set the profile file etc, but when I open firefox without doing 'sudo firefox', it hangs up and cannot find the profile. Why do I have to use 'sudo' to open firefox or thunderbird?
It works fine on my other laptop, but I've deleted & reinstalled ubuntu 3 times on this laptop and still have the same problem.
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 ?
When I open 'firefox' from the app panel at the top of the screen, it opens on the last web site visited.
I've looked every place I can think to tell it to open in a blank screen. My preferences are set to blank. Right click on the icon > properties shows 'firefox %u'.
Is there something in 'about:config' that would control this and what do I search for?
I got the mozilla FF4, extracted, copied to /usr/lib/firefox, changed the old one to /usr/lib/firefox-3 (I had the 3.03 or something like it) Now,I just can make it work... but just as root! If I am in Konqueror, super user, and click over the firefox it opens Firefox 4, as root. If I open another X, as root, I just need to click the old firefox icon and it opens. As user, there is no way I compared the files from /usr/lib/firefox, the new ones with the old ones in /usr/lib/firefox-3, and the permissions are THE SAME. I even tried to replace the firefox and the run-mozilla.sh, the only difference is that then I can get the update window to appear, but it does nothing and just crash. I didn't touched the /usr/bin/firefox, since it just point to the /usr/lib, and in fact, since it is working as root, in user space and in root KDE,it is OK. I tries first,of course, to get a slack one, but at linuxpackages there is only the FF4 for the newest slacks.
View 12 Replies View RelatedUsing an online language course, there are links to hear the words and phrases pronounced.If I click these links, a media player opens in the browser (firefox), but after a few seconds Ubuntu crashes.
View 6 Replies View RelatedI'm running Kubuntu 10.10 with Firefox 4.0.1. from the firefox ppa. If I want to open the folder of a downloaded file with the right-mouse-button menu, kid3-qt is opened and shows the folder. I already tried the following: Removed kid3-qt -> Dolphin opens the folder, kid3-qt reinstalled leads to the same behaviour as before Reinstalled Firefox -> no change Removed the .mozilla dir to create a new profile -> no change mimeapps.list in ~/.local/share/applications looks like this:
Code:
[Added Associations]
application/pdf=kde4-okular.desktop;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=wine-Programs-Microsoft Office-Microsoft Office Excel 2007.desktop;
application/x-wine-extension-ini=kate-2.desktop;
application/x-wine-extension-mas=kate-2.desktop;
[Code]...
Firefox closes shortly after web site Java applet opens
View 1 Replies View RelatedSince I upgraded to Firefox 3.6.8, when I click on a link in Thunderbird 3.1.1, nothing happens!! Right-clicking on a link and selecting "Open Link in Browser" does not work either. Any idea what might be the cause of this annoying problem?
View 3 Replies View RelatedFireFox opens but goes no where in openSIUSE 11.2 64bit. output of installed
[code]...
Truthfully, I don't know if this is a Firefox bug or not, but I've only experienced this on my Fedora machine.
There doesn't seem to be any particular pattern, and it's happened in trusted sites when clicking on various links (like this one for instance), but Firefox will suddenly go mad and just start opening window after window.
The only way I can get out of it is 'ps -ef' 'ing for the firefox process and killing it.
This has happened under both 10 and 12.
Submitted a forum post on mozilla's support site here: Firefox Opens 'Infinite' Windows During a Session
Sometimes in BBC iPlayer - Bigscreen the fullscreen video does not open on top, and then none of the lirc remote control commands (irxevent) function, not even Escape (nor Alt-TAB, which would bring the fullscreen on top if I used the keyboard - but sitting in the TV couch I would prefer using the remote only).
This often happens on my SuSE 10.2 partition, especially when wanting to resume a video, but never happens on my Kubuntu 9.10 partition. Both are 32-bit using KDE 4.3.5 Firefox 3.5.8 and Adobe Flash 10,0,45,2.
How can I get the fullscreen on top??
How can I set 7ZIP to be the default program that opens .rar files? I am using Ubuntu 10.04 32bit LTS
View 2 Replies View RelatedI didn't have this problem in GIMP 2.6.8: when I double clicked an image file in Nautilus, the file opened in an existing instance of the GIMP, if it was already running. Now, after I compiled and installed GIMP 2.6.10, a double-clicked file opens into a new instance of the program. The same for files that are dropped on the GIMP icon in the panel. The only way to avoid this behaviour is to switch to the running instance of GIMP and use the Open command.
View 1 Replies View RelatedCan 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 Relatedwhen i had windows and searched the music blogs there's links attached to the pages that let you download a song directly to your computer... with unbuntu, every time I click on these files it just opens up some visualizations in a new window while playing the song. anyone know how to change this?
View 3 Replies View RelatedI'm using Ubuntu 10.04 and i can browse our network's windows xp shared folders properly using nautilus. The problem is if i double click a file on the network shared folder, (ie. a .doc file) its opened by file-roller and not Openoffice writer. i've tried changing open with in properties to ooo writer but it still opens with file roller. What can I do to open a file properly on the windows shared folder.
View 1 Replies View RelatedI 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 Relatedmay 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 RelatedCurrently, 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 ?
I like to have my mouse set up so a single click opens directories and files How do I do it with Fedora11?
View 7 Replies View RelatedAs far as i know VLC is the best media player for linux bc it suppurts all file types. But there is one anoying problem - when i want to listen to song it opens VLC, but when i open another song it opens another new VLC window. And this problemug or whatever didnt apear in Windows version VLC player.
View 4 Replies View RelatedI 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.
I want to automate this using script.How to automate it?
File1:
s.no# 1 name:aaaaaa
city:abcd
[code]...
Why does Firefox sometimes not see text in page searches? See screen capture below. On this web page, I searched for "256" but FF did not find it on the page however the first account of 256 is right there staring me in the face.
View 5 Replies View Related