Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Thunderbird: Invoke the browser I want

  • Loading branch information...
commit 916a048a70c4639b3b00575ff1273681256b6db4 1 parent 2e04db9
@bmc authored
Showing with 127 additions and 33 deletions.
  1. +90 −33 cheat-sheets.sublime-workspace
  2. +37 −0 ubuntu.md
View
123 cheat-sheets.sublime-workspace
@@ -27,31 +27,39 @@
"file": "guruplug.md",
"settings":
{
- "buffer_size": 4020,
+ "buffer_size": 4011,
"line_ending": "Unix"
}
},
{
- "file": "godaddy.md",
+ "file": "_includes/index_partial.md",
"settings":
{
- "buffer_size": 127,
+ "buffer_size": 1336,
"line_ending": "Unix"
}
},
{
- "file": "gnome.md",
+ "file": "Gemfile",
"settings":
{
- "buffer_size": 3816,
+ "buffer_size": 103,
"line_ending": "Unix"
}
},
{
- "file": "windows.md",
+ "file": "Rakefile",
"settings":
{
- "buffer_size": 4808,
+ "buffer_size": 4344,
+ "line_ending": "Unix"
+ }
+ },
+ {
+ "file": "index.md",
+ "settings":
+ {
+ "buffer_size": 2244,
"line_ending": "Unix"
}
},
@@ -112,6 +120,10 @@
},
"file_history":
[
+ "/home/bmc/src/mystuff/docs/cheat-sheets/README.md",
+ "/home/bmc/src/mystuff/docs/cheat-sheets/godaddy.md",
+ "/home/bmc/src/mystuff/docs/cheat-sheets/gnome.md",
+ "/home/bmc/src/mystuff/docs/cheat-sheets/windows.md",
"/home/bmc/.config/sublime-text-2/Packages/Default/Base File.sublime-settings",
"/home/bmc/.config/sublime-text-2/Packages/Default/Global.sublime-settings",
"/home/bmc/.config/sublime-text-2/Packages/User/parawrap.py",
@@ -202,7 +214,7 @@
"groups":
[
{
- "selected": 3,
+ "selected": 4,
"sheets":
[
{
@@ -210,15 +222,15 @@
"file": "guruplug.md",
"settings":
{
- "buffer_size": 4020,
+ "buffer_size": 4011,
"regions":
{
},
"selection":
[
[
- 0,
- 0
+ 225,
+ 225
]
],
"settings":
@@ -236,23 +248,23 @@
},
{
"buffer": 1,
- "file": "godaddy.md",
+ "file": "_includes/index_partial.md",
"settings":
{
- "buffer_size": 127,
+ "buffer_size": 1336,
"regions":
{
},
"selection":
[
[
- 0,
- 0
+ 297,
+ 297
]
],
"settings":
{
- "buffer_scroll_name": "968506c5",
+ "buffer_scroll_name": "6164fddb",
"syntax": "Packages/Markdown/Markdown.tmLanguage"
},
"translation.x": 0.0,
@@ -263,24 +275,26 @@
},
{
"buffer": 2,
- "file": "gnome.md",
+ "file": "Gemfile",
"settings":
{
- "buffer_size": 3816,
+ "buffer_size": 103,
"regions":
{
},
"selection":
[
[
- 0,
- 0
+ 103,
+ 103
]
],
"settings":
{
- "buffer_scroll_name": "b0d68d2a",
- "syntax": "Packages/Markdown/Markdown.tmLanguage"
+ "buffer_scroll_name": "a846248b",
+ "syntax": "Packages/Ruby/Ruby.tmLanguage",
+ "tab_size": 2,
+ "translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 0.0,
@@ -290,29 +304,56 @@
},
{
"buffer": 3,
- "file": "windows.md",
+ "file": "Rakefile",
"settings":
{
- "buffer_size": 4808,
+ "buffer_size": 4344,
"regions":
{
},
"selection":
[
[
- 4808,
- 4808
+ 1142,
+ 1142
]
],
"settings":
{
- "buffer_scroll_name": "ca8a0a40",
- "syntax": "Packages/Markdown/Markdown.tmLanguage",
- "tab_size": 4,
+ "buffer_scroll_name": "58808737",
+ "syntax": "Packages/Ruby/Ruby.tmLanguage",
+ "tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
- "translation.y": 460.0,
+ "translation.y": 233.0,
+ "zoom_level": 1.0
+ },
+ "type": "text"
+ },
+ {
+ "buffer": 4,
+ "file": "index.md",
+ "settings":
+ {
+ "buffer_size": 2244,
+ "regions":
+ {
+ },
+ "selection":
+ [
+ [
+ 1729,
+ 1729
+ ]
+ ],
+ "settings":
+ {
+ "buffer_scroll_name": "f8ae3da5",
+ "syntax": "Packages/Markdown/Markdown.tmLanguage"
+ },
+ "translation.x": 0.0,
+ "translation.y": 0.0,
"zoom_level": 1.0
},
"type": "text"
@@ -324,7 +365,7 @@
"sheets":
[
{
- "buffer": 4,
+ "buffer": 5,
"file": "mysql.md",
"settings":
{
@@ -351,7 +392,7 @@
"type": "text"
},
{
- "buffer": 5,
+ "buffer": 6,
"file": "virtual-box.md",
"settings":
{
@@ -378,7 +419,7 @@
"type": "text"
},
{
- "buffer": 6,
+ "buffer": 7,
"file": "linux.md",
"settings":
{
@@ -458,6 +499,22 @@
"selected_items":
[
[
+ "in",
+ "index.md"
+ ],
+ [
+ "re",
+ "README.md"
+ ],
+ [
+ "rakefile",
+ "Rakefile"
+ ],
+ [
+ "gem",
+ "Gemfile"
+ ],
+ [
"li",
"linux.md"
],
View
37 ubuntu.md
@@ -184,3 +184,40 @@ command line.
<https://launchpad.net/~ubuntu-elisp/+archive/ppa>
<http://emacs.orebokech.com/>
+
+## Thunderbird
+
+### Opening URLs with something other than Firefox
+
+On Ubuntu 11.04 and 11.10 (in my environment, anyway), Thunderbird always opens links in Firefox, no matter what the Ubuntu default browser is.
+
+Step 1:
+
+Pull up the Advanced Configuration Editor
+(`Edit > Preferences > Advanced > Config Editor`), and change the following
+values:
+
+ network.protocol-handler.app.ftp
+ network.protocol-handler.app.http
+ network.protocol-handler.app.https
+
+Set all to `/usr/bin/google-chrome` (or desired browser.)
+
+**In my case, this did _not_ work.**
+
+Step 2:
+
+An _strace_(1) of Thunderbird showed that it was invoking, in turn, the
+following Gnome shortcuts. (The fact that I'm using xfce4 makes no difference
+to Thunderbird.)
+
+* `~/.local/share/applications/firefox.desktop` (not there, in my case)
+* `/usr/share/xsession/applications/firefox.desktop` (also not there)
+* `/usr/local/share/xsession/applications/firefox.desktop` (again, not there)
+* `/usr/share/applications/firefox.desktop` (found)
+
+So, a quick hack solution:
+
+ $ ln -s /usr/share/applications/google-chrome.desktop ~/.local/share/applications/firefox.desktop
+
+At that point, Thunderbird finally invoked the browser I wanted it to invoke.
Please sign in to comment.
Something went wrong with that request. Please try again.