LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-06-2014, 01:46 AM   #1
bobsie
LQ Newbie
 
Registered: Apr 2013
Posts: 17

Rep: Reputation: Disabled
Default browser? How to create...


Running Slackware 14.0

Every time I start google-chrome it tells me that chrome is not my default browser. Every time I click the "yes" button. But next time it still asks the same question.

Every time I click a link for help in an application, or to anything which needs to open in a browser, it doesn't work, because it cannot find out what is my default browser. Sometimes it then lets me select the browser I want to use, but it never remembers that selection, but asks me again next time, and every time, for ever and ever...

What (if anything) can I do to fix this annoying problem?
 
Old 01-06-2014, 02:24 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
I had a similar problem once before with Firefox.

It seemed to me that the problem was each upgrade resulted in another entry under ~/.local/share/applications for the browser and the system got confused as to which one was right.

So have a look in there and see if you have multiple entries and if you do remove them all, then start chrome and tick the default box and see if it stays when you restart chrome again.
 
Old 01-06-2014, 03:05 AM   #3
bobsie
LQ Newbie
 
Registered: Apr 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
No, I can't see anything related to the browser in there.
Can you show me what such an entry would look like?

pwd
/home/xxxx/.local/share/applications
[applications]$ ls
mimeapps.list userapp-libreoffice-1LP7WW.desktop
mimeinfo.cache userapp-libreoffice-28D4WW.desktop
userapp-geeqie-8MZGWW.desktop userapp-mplayer-92WTWW.desktop
userapp-geeqie-F5DCXW.desktop userapp-mplayer-HLH7UW.desktop
userapp-geeqie-HQ18WW.desktop userapp-mplayer-X989UW.desktop
userapp-kedit-UELFWW.desktop userapp-xmms-RW5IWW.desktop
userapp-leafpad-I711WW.desktop userapp-xpdf-QOV2WW.desktop
 
Old 01-06-2014, 03:33 AM   #4
manoj_hanse
LQ Newbie
 
Registered: Mar 2008
Posts: 20

Rep: Reputation: 0
Do this

please check the link below

http://crunchbang.org/forums/viewtopic.php?id=9104
 
Old 01-06-2014, 05:37 AM   #5
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
bobsie have a look in that mimeapps.list file it has a section on default applications

I must admit the whole mime type setup is currently horribly broken and I'm currently trying to hunt down how wine has become associated with almost everything on my system

manoj hanse the first command in that link doesn't even exist in Slackware.
 
Old 01-06-2014, 06:58 AM   #6
bobsie
LQ Newbie
 
Registered: Apr 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
There is a line in mimeapps.list like this -

text/html=google-chrome.desktop

That is the only reference to Chrome that I can see. Anyway it seems to have no effect.

Just to clarify - I don't have any browser selected as default.
When I click on the button in Chrome to make it my default browser, what is it supposed to do? Where is this selection stored, and why can Chrome not set it? If I knew how it was supposed to work, I might be able to fix it.
 
Old 01-06-2014, 11:12 PM   #7
manoj_hanse
LQ Newbie
 
Registered: Mar 2008
Posts: 20

Rep: Reputation: 0
Hi again,

Try this:

Which google-chrome

rpm -ql (output of previous command)| grep config

If you find default file see if it is corrupt.

else

Reinstall chrome.

Last edited by manoj_hanse; 01-06-2014 at 11:15 PM.
 
Old 01-06-2014, 11:18 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,357
Blog Entries: 2

Rep: Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979Reputation: 3979
manoj_hanse: Neither solutions that involve package management for Debian based system nor Red Hat based systems will work in Slackware.
 
Old 01-07-2014, 11:48 AM   #9
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Rep: Reputation: 77
My only pet peeve with Linux
 
Old 01-07-2014, 02:29 PM   #10
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 83
hmm... I'm not sure, but could you check "xdg-settings get default-web-browser" ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 11:45 AM
How to Change Default Browser to a new browser banner Linux - General 1 05-13-2005 11:09 PM
Default Browser Itsu Linux - Newbie 1 09-18-2004 05:18 PM
gaim browser / default browser question hildog Linux - Newbie 2 10-03-2003 09:17 AM
default browser Toasti Linux - Newbie 2 04-20-2003 03:28 AM


All times are GMT -5. The time now is 06:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration