You are not logged in.

#1 2016-08-24 19:09:50

exe
Member
Registered: 2015-09-29
Posts: 123

[SOLVED] Chromium as dafault browser??

Hi!


I m installed 2 browser, chrome and chromium, but want chromium as dafault browser.

When i open a new link via extern app (for example), Chrome opens !!


What is the posible solution ?



Thanks friends !!




sorry by my inglish

Last edited by exe (2016-08-25 15:00:28)

Offline

#2 2016-08-24 19:34:17

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Chromium as dafault browser??

Menu -> System -> Edit Debian Alternatives -> x-www-browser


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-08-24 21:21:06

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

Thanks, but no work sad

Offline

#4 2016-08-24 21:27:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] Chromium as dafault browser??

What is the output of:

ls -l /etc/alternatives/x-www-browser

Offline

#5 2016-08-24 21:28:56

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Chromium as dafault browser??

exe wrote:

Thanks, but no work sad

The direct command is

sudo update-alternatives --config x-www-browser

then choose the one you want as default.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-08-24 21:32:10

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

Head_on_a_Stick wrote:

What is the output of:

ls -l /etc/alternatives/x-www-browser


exe@bunsen:~$ ls -l /etc/alternatives/x-www-browser
lrwxrwxrwx 1 root root 17 ago 24 22:19 /etc/alternatives/x-www-browser -> /usr/bin/chromium

Offline

#7 2016-08-24 21:36:03

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

damo wrote:
exe wrote:

Thanks, but no work sad

The direct command is

sudo update-alternatives --config x-www-browser

then choose the one you want as default.


Yes.. but, for example.. I m use GFeedLine, a twitter client.. when i click a link, Chrome opens and my default browser is Chromium sad

Offline

#8 2016-08-24 21:50:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] Chromium as dafault browser??

Offline

#9 2016-08-24 21:57:47

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Chromium as dafault browser??

What's the output of :

update-alternatives --list x-www-browser

Remember you have to have both browsers listed as options.

Last edited by Horizon_Brave (2016-08-24 21:58:02)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#10 2016-08-24 22:12:45

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

Horizon_Brave wrote:

What's the output of :

update-alternatives --list x-www-browser

Remember you have to have both browsers listed as options.

yes..


exe@bunsen:~$ update-alternatives --list x-www-browser
/usr/bin/chromium
/usr/bin/google-chrome-beta

Offline

#11 2016-08-24 22:14:41

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

Head_on_a_Stick wrote:

this is my mimeapps.list


[Default Applications]
image/gif=bl-image-viewer.desktop
image/jpeg=bl-image-viewer.desktop
image/png=bl-image-viewer.desktop
image/svg+xml=bl-image-viewer.desktop
text/plain=bl-text-editor.desktop
text/html=bl-text-editor.desktop
application/xml=bl-text-editor.desktop
application/javascript=bl-text-editor.desktop
x-directory/normal=bl-file-manager.desktop
x-directory/gnome-default-handler=bl-file-manager.desktop
inode/directory=bl-file-manager.desktop
audio/mpeg=bl-mediaplayer.desktop
audio/mp4=bl-mediaplayer.desktop
audio/x-wav=bl-mediaplayer.desktop
audio/aac=bl-mediaplayer.desktop
video/webm=bl-mediaplayer.desktop
video/x-ms-asf=bl-mediaplayer.desktop
video/x-theora+ogg=bl-mediaplayer.desktop
x-scheme-handler/magnet=transmission-gtk.desktop

Offline

#12 2016-08-24 22:18:46

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

Offline

#13 2016-08-24 22:44:59

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Chromium as dafault browser??

You may need to set the priority higher. Currently it's at 40, while Chrome is at 150, so it wins out. 

sudo update-alternatives --install /usr/bin/x-www-browser  x-www-browser  /usr/bin/chromium  <priority_#>

Just make the priority number bigger than 150.   That *should* work, but as per always someone correct me if i'm wrong?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#14 2016-08-25 02:32:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,614
Website

Re: [SOLVED] Chromium as dafault browser??

^@H_B sorry, that's not it. The priority number determines which alternative will be "auto" selected. exe has already "manually" set chromium for x-www-browser.

@exe, one thing to check, run this in a terminal:

exo-preferred-applications

In the window that opens, make sure that Web Browser is set to "Debian Sensible Browser". This will redirect to x-www-browser.
You could choose "Chromium" directly, but the above setting lets you change later more easily.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#15 2016-08-25 14:21:04

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

johnraff wrote:

^@H_B sorry, that's not it. The priority number determines which alternative will be "auto" selected. exe has already "manually" set chromium for x-www-browser.

@exe, one thing to check, run this in a terminal:

exo-preferred-applications

In the window that opens, make sure that Web Browser is set to "Debian Sensible Browser". This will redirect to x-www-browser.
You could choose "Chromium" directly, but the above setting lets you change later more easily.


ey resolved !!!I've changed to  chromium and working now !!!

http://i.imgur.com/dWQGtBo.png


thank you very much !!



change de post title !!!

Offline

#16 2016-08-25 17:58:53

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Chromium as dafault browser??

johnraff wrote:

^@H_B sorry, that's not it. The priority number determines which alternative will be "auto" selected. exe has already "manually" set chromium for x-www-browser.

@exe, one thing to check, run this in a terminal:

exo-preferred-applications

In the window that opens, make sure that Web Browser is set to "Debian Sensible Browser". This will redirect to x-www-browser.
You could choose "Chromium" directly, but the above setting lets you change later more easily.


Aw, sorry for the mis-advice then  exe... sad  I didn't see that it was manual. I'll make note of it.  Glad you got it working though. Thanks J.Raff


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#17 2016-08-25 18:00:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] Chromium as dafault browser??

^ For reference, the symlinks in /etc/alternatives define the program used, hence my request  O:)

Offline

#18 2016-08-25 18:07:06

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Chromium as dafault browser??

Head_on_a_Stick wrote:

^ For reference, the symlinks in /etc/alternatives define the program used, hence my request  O:)

Right, yea that I saw, but his output for your request was that it did indeed point to Chromium. So I thought maybe it was being "intercepted" or something, or modified due to the priority number... Silly me!


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#19 2016-08-25 18:10:44

exe
Member
Registered: 2015-09-29
Posts: 123

Re: [SOLVED] Chromium as dafault browser??

mmm, well with "Debian Sensible Browser" too work smile

thanks again.

Offline

#20 2016-08-25 18:20:56

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] Chromium as dafault browser??

exe wrote:

mmm, well with "Debian Sensible Browser" too work smile

thanks again.

I don't want to drag this out longer than needed... but doesn't setting the Chromium browser with exo-prefered sort or by-pass the problem? If all of his settings were correct...Then the  "Debian Sensible Browser" choice should have worked as well?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB