This patch just adds a very basic desktop entry so aerc can easily be
set to open when called from Firefox for example.
I was not sure whether putting it in the root directory was the way to
go but it didn't really fit anywhere else and I am honestly not too sure
what a good name for the containing folder should be in the first place.
aerc.desktop | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 aerc.desktop
diff --git a/aerc.desktop b/aerc.desktop
new file mode 100644
--- /dev/null+++ b/aerc.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]+Version=1.0+Name=aerc++GenericName=Mail Client+GenericName[de]=Email Client+Comment=Launches the aerc email client+Comment[de]=Startet den aerc Email-Client+Keywords=Email,Mail,IMAP,SMTP+Categories=Office;Network;Email;ConsoleOnly++Type=Application+Icon=utilities-terminal+Terminal=true+Exec=/usr/bin/aerc++[Desktop Action compose]+# enable as default mailto: handler using +# xdg-mime default aerc.desktop x-scheme-handler/mailto+Exec=/usr/bin/aerc %u+MimeType=x-scheme-handler/mailto;
I think it might be more convenient if the Exec field is just `aerc %u`,
since the binary could be installed elsewhere and it might not worth it
to make a template for something freedesktop already supports.
BTW you forgot to add the desktop file to Makefile.