SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
I just dealt with this. The solution is to make sure that the BROWSER environment variable is not set, as it blocks Chromium from setting itself as the default browser. Yes, really.
I found out by running Chromium from a shell. When I clicked "Set as default", the following got printed the console:
Code:
xdg-settings: $BROWSER is set and can't be change with xdg-settings
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.