Comment 26 for bug 1632027

Revision history for this message
Tero Gusto (tero-gusto) wrote (last edit ):

This still (surprisingly) seems to be an issue in Ubuntu 22.04 ...

Perhaps Ubuntu could add support for having the templates in a hidden folder such as ~/.templates, and ship it just a single empty file, as a starting example? I just tried this experiment, which worked well:

mkdir ~/.templates
touch ~/.templates/document.txt

Edit relevant bit in ~/.config/user-dirs.dirs:

XDG_TEMPLATES_DIR="$HOME/.templates"

I was able to right-click in a folder and given a "New Document > document" option.

(Comment also added in Gitlab issue #407 mentioned by 林博仁 (Buo-ren, Lin) on 2018-05-06 above)