Ubuntu :: HTML Links Not Opening In Default Browser?
Jul 7, 2011
I have Chrome as my default browser, I also have FF 5 installed. If I click an html link form my desktop, or a separate program opens a web page, they always open in FF. I have seen this in older versions of Ubuntu also, 32 & 64 bit. What is the issue?
At my Uni, we use a web-based login for our internet connections. Its based off of Cisco, and every Wednesday night every computer on campus must re-enter their credentials to use the network.
Normally on my several computers I simply pull up the Terminal, point links to google.com using
Code:
And enter my credentials when Cisco redirects to the login page.
Literally, the process is
Code:
Then ENTER to accept the redirect, down arrow to skip over the logo image, USERNAME, ENTER, PASSWORD, ENTER, ENTER.
Naturally, this is EXTREMELY time consuming, as I have about 5 computers located around campus and must physically walk to the machines and login every single week.
My question is, How would I formulate a program that does the following;
1) checks for connectivity (i.e. is able to reach/resolve to the greater part of the internet) and
2) automatically fills in the credentials on the links login page?
For some reason, i cannot set my default browser to Chromium. Whenever i open up Chromium, it asks whether it should be the default browser or not. I say yes i mean "Set as default" But nothing happens. When i open it again, i am greeted with the same question again.
Whenever I click a website link to a .pdf I get this error message, "Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application." Even though there is no Adobe Reader installed on my p.c.
I then have to right click the link and "Save link as How do I set the PATH variable so that Evince can open the document directly without first having to save the link?
I have a website that has a massive list of royalty free stock photos and I want to download all of them. I have bought a membership for [URL] so I am able to download as much as I want from them for the next month.
Instead of going page by page and manually downloading each set of stock photos manually, I would like to automate this process. Here's my idea:
1. Download the website with the links to hotfile [URL]
2. Use grep to retrieve all the links to [URL]
3. Feed the links I recieve from grep into wget and download the works of them.
The problem I'm getting is when I use grep, It retrieves the entire line of html code where "hotfile.com" is shown. So here is an example of one link I receive in the output:
I have been having trouble getting Thunderbird to open links within my emails. When a link is clicked there is no response at all. I am running firefox version 3.6.2 and Thunderbird 3.0.3. After surfing the interweb and the forums I have tried setting the default browser through Firefox itself and through the preferred applications GUI in Ubuntu with no luck. I have gone into the about:config for Thunderbird and added the following lines:
When I click on a link in say Evolution, in workspace 1, the page will open in an open Firefox in a different workspace, say 7, but a item will appear on the panel of my current workspace. When I click that item I will be moved to the workspace 7. I find this very confusing.I would prefer the behaviour to be, if there isn't a Firefox in the current workspace to start one and use that rather than reuse one in a different one.
I would really like to stop Konqueror opening up links from Skype and other programs. It's becoming annoying because I have Chrome set to be the default browser, but for some reason when I click on a link it opens in Konqueror.
I try to fetch links from a URL using HTML::LinkExtor, but it always return 0 links even if the status code is 200 OK. I am running the following code in Ubuntu 9.04, just curious if the module is too old and its ways of HTTP request is disabled by some platforms.
I install a nautilus plug-in which in turn installed the elinks browser and now all of my .html files are opening in elinks instead of firefox so how do I get .htm/.html and other web type files to open in firefox instead of elinks.
I also tried removing elinks from my system but then the files just open in gedit so again how do I associate .html (and other web files) with firefox.
BTW firefox is already set as my default browser in System > Prefs > Prefered Applications > Web Browser
I am using Ubuntu 9.04. In Google Chrome (7.0.517.41 beta), Firefox (3.6.11) and Opera (10.63), links are not highlighting properly after clicking them. Either there is no difference, or they are so similar in colour as to be almost indistinguishable (dark blue and slightly darker blue).
When I click on an http link in Thunderbird, nothing at all happens. There's no error message on the console, there's no new browser starting, and there's no new tab opening with the browser already running.
I've tried: sudo update-alternatives --config x-www-browser, choosing firefox.I've also tried: adding a new string value to Thunderbird's warranty-voiding config: network.protocol-handler.app.http, with a value of /usr/bin/firefox. This was recommended in various threads.But no luck.There's an entry for https - firefox on the Attachment tab of the preferences, and https links are indeed opening in Firefox. But not http.KDE 4.4.2 itself has default mail client and browser set to Thunderbird 3.0.4 and Firefox 3.6.3 (both from the repositories, no website downloads).
I have been working on this program for Windows all month http://www.smashindex.com it is a logging program for amateur radio. Anyway, 75 percent of my users are using Linux. I'm guessing with WINE because the program is Windows based. That's all fine and well with me, but I have a problem. The donations option, opens a browser and lets the user make a donation to my paypal account, and the callsign lookup option opens the browser to the qrz.com database for whatever callsign the user enters. WINE, doesn't seem to support opening browsers for my software, but I've seen it do it for other software. I was wondering what I needed to run to have WINE open a browser on linux like the other software I've seen do it.Here is a snippet of the code used to open the browser to my donations page:
Code:
[DONATE] CLS PRINT "SMASHINDEX.COM WOULD LIKE TO THANK YOU FOR DONATING" PRINT "TO THE DEVELOPEMENT OF THIS AND OTHER SMASHINDEX"
[code].....
What can I run the URL with that WINE will understand?
However - is there such a thing as a decent HTML editor like dreamweaver? Komposer is buggy as hell - useless! Bluegriffon, well umm - screen fonts are bizarre, especially in viewing source code - brake down, multicoloured obviously a bug - no deb either, looks like a windows program install (?). This does look really good, but is unusable as I cant see in souce code view without getting a headache! Also, ignores css on links.
Seamonkey - you have to open browser then editor, then open your file. Ignores css totally. Amaya - ignores used fonts unless you re-edit - and ignores css on links. Weird way to select things as well, such as images. There must be at least one decent editor?
I recently installed Debian 5 04 AMD64, when I double-click on any HTML document it is rendered in very large characters.I guess one of the browsers installed (Iceweasel or Epiphany) is selected by default but I cannot find any clue as to which one.What puzzles me most is that I have not yet edited the Apache2 config files to give access to the directories where these files are stored, nor the user etc, and as far as I understand these HTML documents should not yet be available to Apache2 and the browser.
I've an network architecture where for the user to reach the machine that it want, it has to pass through a frontend machine.
Code: User ---> Frontend ----> Machine1
The connections between all hosts uses ssh. If I want to reach the Machine1, I've to authenticate to the Frontend and authenticate again to the Machine1. The Machine1 and the Frontend doesn't have X installed - only console mode.
The Machine1 has the file in my HOME directory called: hello.html that contains flash embedded. I would like to view the hello.html in my browser located at the User machine.
Is there a way to access remotely to the html file, without have to copy the file to my local machine?
I have an acer aspire one running Linpus Lite (i think) - worked fine for a year on wireless and LAN but yesterday I started it up, it connected fine and clicked up the wireless icon but when clicking the "Browser" icon it won't open the browser screen - repeated clicking brings up a screen that says Firefox was stopped and is still open - please shut it down- How do I do this when there are no screen commands ? I have tried switching off and re-starting the unit but no effect. What can I do to fix it ?
I am using F13 and new to Linux, whenever I am browsing internet that contains java script, the browser crashes, showing error signal as: Package: firefox-3.6.3-4.fc13 Latest Crash: Wed 04 Aug 2010 12:00:09 PM Command: /usr/lib/firefox-3.6/firefox Reason: Process /usr/lib/firefox-3.6/firefox was killed by signal 11 (SIGSEGV) Comment: None Bug Reports: I also used google-chrome browser, same problem is arising there too.
I have installed Swiftfox, and made it default, and after, removed it. Firefox is set as default, but when I want to open any html file by double clicking, it gives error as swiftfox does not exists.I went on right-click and verified, firefox is set as default.Then I went to personal settings, gone to Default apps... firefox already there, but I tried to change it to other (flock), setting is disregarded.I suspect that link "firefox" is made to swiftfox, but I dont have it anywhere on menu.
I tried the Googles praised Chromium browser and while it seems to render pages fast enough and has a really nice interface, I experienced an annoying responsiveness problem. Opening a link in a background tab seems to stall the browser almost completely until the page has been loaded and rendered. For example scrolling the page that I'm currently viewing becomes almost impossible. The same actually applies to the current tab too, of course. If the page in the tab hasn't been loaded completely, scrolling is really really clumsy. I tried disabling the installed extensions and also tried experimenting with some command line options, but no help there.
I have this problem, however the solution given there is outdated- There is no such menu entry (I tried to see if it was disabled, but it wasn't in the menu editor either).
So how would I do this in Karmic?
Edit: I found it. As a reference: Open Nautilus, go to Edit-> Preferences -> "Media" tab -> Photos -> Your choice.
I automount two NTFS volumes on login. These display in both the desktop and the Unity launcher.
The first time I clicked one of them in the Unity launcher, it asked if I wanted to use Nautilus or Thunar. I chose Thunar.
Now, when I open the volumes in the Unity launcher, it always uses Thunar. When I open the volumes on my desktop, it always uses Nautilus.
Is there any way to standardize these, so that I use either Thunar or Nautilus, but not both? And how do I switch back and forth? Where can I reset the Unity launcher to use Nautilus again?
I want to use my Thunderbird as default newsreader for rss feeds. When I click on the icon of the website, it tells me that another application is the default. There is an option to browse for another application that I can set as default.But where do I have to browse to find the Thunderbird program. I have to same problem with pdf -files. I want to use acrobat reader as default.
i have installed fedora 11..when iam opening my apache default test page using http://localhost its opening but when iam trying to open the same using my ip address i.e. http://172.31.73.4 its not opening..instead iam gettin an error message like this in firefox
ERROR The requested URL could not be retrieved....While trying to retrieve the URL: http://172.31.73.4/can anyone tell me whats the problem because till now i was using fedora 8 and while using apache i never got this sort of problem..
I have Chromium and Firefox installed on Karmic. HTML files by default open with Chromium. I try to set Firefox as the default application through the "Other application..." dialog, but it opens the file through Firefox once, then after it goes back to Chromium