id = "deepin-terminal" name = "Deepin Terminal" homepage = "https://github.com/linuxdeepin/deepin-terminal" description = "An advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features." # The application's own icon, from its repository. icon = "https://raw.githubusercontent.com/linuxdeepin/deepin-terminal/master/src/assets/logo/deepin-terminal.svg" executables = ["deepin-terminal"] platforms = ["linux"] [dotfiles] # The project README names all three files: # "Terminal Settings's configure save at: # ~/.config/deepin/deepin-terminal/config.conf" # "Remote Servers' configure save at: # ~/.config/deepin/deepin-terminal/server-config.conf" # "Custom Command's configure save at: # ~/.config/deepin/deepin-terminal/command-config.conf" # src/settings/settings.cpp builds the first as # "%1/%2/%3/config.conf" from # QStandardPaths::writableLocation(QStandardPaths::ConfigLocation), the # organization name and the application name, and that location follows # $XDG_CONFIG_HOME — hence [configHome]. paths = [ "[configHome]/deepin/deepin-terminal/config.conf", "[configHome]/deepin/deepin-terminal/server-config.conf", "[configHome]/deepin/deepin-terminal/command-config.conf", ] exclude = [] # server-config.conf is worth carrying: it is the list of remote hosts, and # everything but one key in it is host, port, user name and encoding. secret = [] # src/remotemanage/serverconfigmanager.cpp writes every field of a saved server # except the password — the setValue("Password", …) line is there, commented # out, under "不将密码写入配置文件中" ("do not write the password into the config # file"). The loader still reads a "Password" key, and the compatibility branch # treats a non-empty one as an old file that has to be rewritten # ("密码明文需要重写", the plaintext password needs rewriting). A file written by # one of those older releases carries the password in the clear, so the key is # lifted out of the file rather than trusted to be absent. [[dotfiles.secret_paths]] file = "[configHome]/deepin/deepin-terminal/server-config.conf" match = { prefix = ["Password"] }