LoginSignup
1
1

More than 5 years have passed since last update.

Lubuntu上のEmacsでデフォルトブラウザをChromeに変更する

Posted at

環境

  • Lubuntu 14.04.3 LTS
  • Emacs 24.5.1

設定

terminal
$ xdg-mime default google-chrome.desktop x-scheme-handler/http
$ xdg-mime default google-chrome.desktop x-scheme-handler/https
$ xdg-mime default google-chrome.desktop text/html

確認

terminal
$ xdg-mime query default x-scheme-handler/http
$ xdg-mime query default x-scheme-handler/https
$ xdg-mime query default text/html

$ xdg-open http://google.com
$ xdg-open https://google.com
$ xdg-open /tmp/test.html
*scratch*
(browse-url-of-file "/tmp/index.html")
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1