aboutsummaryrefslogtreecommitdiff
path: root/articles/2025/Neomutt-as-default-in-XFCE4.html
blob: 4c7259be68230b855558619672d2dff22faef281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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>