Create document. No templates installed.
Image origin - linuxliteos.com
1. Open Thunar and in the home directory with the right mouse button create a directory (or folder) named Templates.
2. In the Templates folder, create a new text document, such as New-Text.txt
3. Open Thunar and type in address bar the following expression: ~/.config/user-dirs.dirs ......Next press ENTER.
You will see similar content:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Video"
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Video"
4. In the third row, change the content:
from - XDG_TEMPLATES_DIR="$HOME/"
change to - XDG_TEMPLATES_DIR="$HOME/Templates"
Note! You must add Templates after HOME/
from - XDG_TEMPLATES_DIR="$HOME/"
change to - XDG_TEMPLATES_DIR="$HOME/Templates"
Note! You must add Templates after HOME/
5. Close all windows and applications and restart the system (Linux).
You should now have a text template named New-Text.txt
By analogy, you can add various other templates to the Templates folder.
You should now have a text template named New-Text.txt
By analogy, you can add various other templates to the Templates folder.
That is all. Success!