我对 Linux 不太熟悉,找不到 Firefox 存储下载文件的默认目录。Firefox 的首选项窗口只显示“下载”,没有任何目录路径。
Downloads除非您自己或使用您的帐户的其他用户以其他方式更改,否则该名称应该在您的家中。
这是对 Ubuntu 默认文件夹的直接引用,可以通过~/.config/user-dirs.dirs使用文本编辑器编辑文件来更改,例如leafpad:
叶垫 ~/.config/user-dirs.dirs
# 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/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
Run Code Online (Sandbox Code Playgroud)
此功能xdg-user-dirs由默认安装在任何 Ubuntu 版本中的软件包提供。
| 归档时间: |
|
| 查看次数: |
18609 次 |
| 最近记录: |