aboutsummaryrefslogtreecommitdiff
path: root/articles/2025/Neomutt-as-default-in-XFCE4.html
diff options
context:
space:
mode:
Diffstat (limited to 'articles/2025/Neomutt-as-default-in-XFCE4.html')
-rwxr-xr-xarticles/2025/Neomutt-as-default-in-XFCE4.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/articles/2025/Neomutt-as-default-in-XFCE4.html b/articles/2025/Neomutt-as-default-in-XFCE4.html
new file mode 100755
index 0000000..4c7259b
--- /dev/null
+++ b/articles/2025/Neomutt-as-default-in-XFCE4.html
@@ -0,0 +1,47 @@
+<!doctype html>
+<html lang="EN">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="/style.css">
+ <title>Neomutt as default in XFCE4</title>
+ </head>
+ <body>
+ <header>
+ <h1>Bloggings</h1>
+ <a href="/index.php">Back</a>
+
+ </header>
+
+<main>
+<article>
+<h2>Neomutt as default in XFCE4</h2>
+<h3>2025-03-21</h3>
+<h4>I've always loved Mutt and now Neomutt on XFCE4</h4>
+<p>Note: I use RBW to access my <b>Bitwarden</b> password vault on the command line or in
+scripts, so I need to make sure it is unlocked before running Neomutt, hence
+the Exec line in the desktop entry.</p>
+<p><a href="https://github.com/doy/rbw">RBW</a> sudo pacman -S rbw</p>
+
+<h4>Create desktop entry</h4>
+
+<pre>~/.local/share/applications/neomutt.desktop</pre>
+
+<code>[Desktop Entry]
+Categories=Office;Network;Email;
+Comment=Simple text-based Mail User Agent
+Exec=xfce4-terminal -x bash -c '"rbw unblock" ; neomutt' %u
+Icon=neomutt
+Name=neomutt
+MimeType=x-scheme-handler/mailto;
+NoDisplay=false
+Terminal=false
+Type=Application
+</code>
+<h4>Add xdg mime type</h4>
+<pre>xdg-mime default neomutt.desktop x-scheme-handler/mailto</pre>
+</article>
+</main>
+<footer>
+<p>&nbsp;</p><p>ยง</p></footer>
+</body></html>