How to set the default web browser used to open URLs under i3?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have tried to set my default browser for opening URLs to Chromium using:
xdg-settings set default-web-browser chromium.desktop
(yes I checked out whether /usr/share/applications/chromium.desktop existed first before running this command and it does exist) and it returns:
xdg-settings: unknown desktop environment
i3 isn't a desktop environment so I can definitely understand this error, but is there a way around it? The reason I want xdg-open to open URLs using Chromium is that running notebook()
from the SageMath command-line attempts to open the notebook in one's default web browser (using xdg-open). Presently this obviously fails (no browser, or application for that matter, is opened to the URL), so I'd like to get this to work which I believe will require me to get xdg-open to open URLs in Chromium.
i3 xdg-open
add a comment |Â
up vote
3
down vote
favorite
I have tried to set my default browser for opening URLs to Chromium using:
xdg-settings set default-web-browser chromium.desktop
(yes I checked out whether /usr/share/applications/chromium.desktop existed first before running this command and it does exist) and it returns:
xdg-settings: unknown desktop environment
i3 isn't a desktop environment so I can definitely understand this error, but is there a way around it? The reason I want xdg-open to open URLs using Chromium is that running notebook()
from the SageMath command-line attempts to open the notebook in one's default web browser (using xdg-open). Presently this obviously fails (no browser, or application for that matter, is opened to the URL), so I'd like to get this to work which I believe will require me to get xdg-open to open URLs in Chromium.
i3 xdg-open
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have tried to set my default browser for opening URLs to Chromium using:
xdg-settings set default-web-browser chromium.desktop
(yes I checked out whether /usr/share/applications/chromium.desktop existed first before running this command and it does exist) and it returns:
xdg-settings: unknown desktop environment
i3 isn't a desktop environment so I can definitely understand this error, but is there a way around it? The reason I want xdg-open to open URLs using Chromium is that running notebook()
from the SageMath command-line attempts to open the notebook in one's default web browser (using xdg-open). Presently this obviously fails (no browser, or application for that matter, is opened to the URL), so I'd like to get this to work which I believe will require me to get xdg-open to open URLs in Chromium.
i3 xdg-open
I have tried to set my default browser for opening URLs to Chromium using:
xdg-settings set default-web-browser chromium.desktop
(yes I checked out whether /usr/share/applications/chromium.desktop existed first before running this command and it does exist) and it returns:
xdg-settings: unknown desktop environment
i3 isn't a desktop environment so I can definitely understand this error, but is there a way around it? The reason I want xdg-open to open URLs using Chromium is that running notebook()
from the SageMath command-line attempts to open the notebook in one's default web browser (using xdg-open). Presently this obviously fails (no browser, or application for that matter, is opened to the URL), so I'd like to get this to work which I believe will require me to get xdg-open to open URLs in Chromium.
i3 xdg-open
i3 xdg-open
edited Aug 16 '17 at 2:29
asked Aug 16 '17 at 2:19
Brenton Horne
1,41432149
1,41432149
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Unfortunately I don't have a solution for you, but for reference, I can tell you that
xdg-settings set default-web-browser <mybrowser>.desktop
works perfectly well for me, as of today, using i3 and arch. I would look elsewhere for the solution to your problem.
New contributor
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Unfortunately I don't have a solution for you, but for reference, I can tell you that
xdg-settings set default-web-browser <mybrowser>.desktop
works perfectly well for me, as of today, using i3 and arch. I would look elsewhere for the solution to your problem.
New contributor
add a comment |Â
up vote
0
down vote
Unfortunately I don't have a solution for you, but for reference, I can tell you that
xdg-settings set default-web-browser <mybrowser>.desktop
works perfectly well for me, as of today, using i3 and arch. I would look elsewhere for the solution to your problem.
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Unfortunately I don't have a solution for you, but for reference, I can tell you that
xdg-settings set default-web-browser <mybrowser>.desktop
works perfectly well for me, as of today, using i3 and arch. I would look elsewhere for the solution to your problem.
New contributor
Unfortunately I don't have a solution for you, but for reference, I can tell you that
xdg-settings set default-web-browser <mybrowser>.desktop
works perfectly well for me, as of today, using i3 and arch. I would look elsewhere for the solution to your problem.
New contributor
New contributor
answered 2 mins ago
alec
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f386321%2fhow-to-set-the-default-web-browser-used-to-open-urls-under-i3%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password