LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-26-2013, 07:16 AM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
Firefox on wheezy question -- default browser option


I installed firefox in the directory '/home/<me>/bin'. This works for me, but I made a mistake. When firefox starts up it asks if you want to make it your default browser. Stupidly I said yes. It did something there. Does anyone know exactly what firefox does to make it into your default browser? Since that time I cannot get links from icedove to open up in firefox correctly. They open a firefox window but they do not open up the link in the window (iow it's empty).

I want to reverse whatever it is that firefox does to make itself into your default browser and see if that changes the way that icedove works. Does any body know? Thanks.
 
Old 02-26-2013, 10:39 AM   #2
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Take a look at this:

http://support.mozilla.org/en-US/kb/...irefox-default

Not sure if messing with these settings will remove FF as the default or not.
.
.
.
.
EDIT: From Gnome: System>Preferences>Preferred Applications
.
.
.
.

Last edited by Fred-1.2.13; 02-26-2013 at 10:47 AM.
 
Old 02-26-2013, 09:22 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You have to change iceove url settings I experienced the problem before, will get back to you soon.
 
Old 02-26-2013, 09:24 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://forum.mepiscommunity.org/view...hp?f=8&t=28635
 
Old 03-01-2013, 07:18 AM   #5
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
thank you. I am away from the computer with the problem. I will post as soon as I try these out.
 
Old 03-02-2013, 08:00 AM   #6
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
nope. didn't work. I tried the stuff from the Mepis community forum. I do believe that setting the FF preference to 'make this my default browser' is what started the problem. Here's another example of the messup. I open Gnome Terminal. I type:
Quote:
echo http://www.google.com
Then I press return. Then with the mouse I hover over the text with the url and right click. Then I select 'Open Link'. What should happen is some browser is opened with the www.google.com page in it. What does happen is that I get a browser window, but nothing in it. (this is the same behavior as with icedove... a FF window with nothing in it.)

What I've tried:
I set up update alternatives with my version of FF in it, so that if you type 'x-www-browser http://www.google.com' from the command line, a FF window pops up with the google page in it. This works. I also use x-www-browser in my 'preferred applications' setting. I am also using testing and xfce4. At this point I'm kinda despairing, thinking there's no solution to my problem. I have a laptop with the same xfce4 and wheezy and it doesn't have this problem. On the laptop I never made the mistake of using FF to set the default browser.

Last edited by radiodee1; 03-02-2013 at 09:27 AM.
 
Old 03-06-2013, 06:41 AM   #7
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
HI. I edited the 'alacarte-made-1.desktop' file. Now things seem to work. The contents of the file are here. I edited the 'Exec' line, adding the '%U' that you see. The '%U' was what was missing (I think). Here's the complete contents of the file:
Code:
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=firefox
Name[en_US]=firefox local
Exec=/home/me/bin/firefox/firefox %U
Comment[en_US]=local firefox
Name=firefox local
Comment=local firefox
Icon=/home/me/bin/firefox/icons/mozicon128.png
That '%U' seems to fix everything. I don't know if in the end it had to do with setting FF as the default browser. I think it did but have no proof. yay.

EDIT: the file for me is located at '~/.local/share/applications/alacarte-made-1.desktop'. The name of the file would probably be different on another system.

Last edited by radiodee1; 03-06-2013 at 06:47 AM.
 
  


Reply

Tags
firefox wheezy



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Mozilla Firefox as default in Debian wheezy chiendarret Linux - Software 8 05-15-2012 12:40 AM
Firefox as a Default browser tulip4heaven Linux - General 2 04-23-2005 06:08 AM
firefox default browser charnel Linux - Newbie 4 03-16-2005 06:12 PM
Firefox default browser ? Warmaster Mandriva 1 05-04-2004 12:51 PM
gaim browser / default browser question hildog Linux - Newbie 2 10-03-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration