I tried configuring FreeBSD on a desktop system (with Xfce) for the first time, and encountered the following problem. My mailcap for mutt has points to Firefox for HTML attachments:
When opening a HTML attachment from within mutt, it is displayed in Firefox, but then messages like the following are printed to the terminal:
The HTML attachment is stored in /tmp. I also created a little wrapper script:
and refer to it in mailcap, but the result was identical. What could be the problem here?
Code:
text/html; firefox %s; needsterminal;
When opening a HTML attachment from within mutt, it is displayed in Firefox, but then messages like the following are printed to the terminal:
Code:
console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1245" data: no]
JavaScript error: resource:///modules/backup/BackupService.sys.mjs, line 3812: NotAllowedError: PathUtils.join: PathUtils does not support empty paths
The HTML attachment is stored in /tmp. I also created a little wrapper script:
Code:
#!/bin/sh
cp "$1" /tmp/mutt-html-$$.html
firefox /tmp/mutt-html-$$.html &>/dev/null &
and refer to it in mailcap, but the result was identical. What could be the problem here?