一、在ubuntu下面打开windows盘时,会在桌面上显示难看的windows盘符,解决办法:
1.在终端输入gconf-editor,(或者按下alt+F2快捷键)
2.找到/apps/nautilus/desktop 下面的volumns_visiable选项,disable即可。
二、ubuntu在汉化的各个目录都是中文,终端访问很不方便,故可以对其全部改名.但是这样有一个麻烦事,将“桌面”目录改为"Desktop"之后,重启之后桌面实际变成了Home目录,查看配置文件.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/"
- XDG_DOWNLOAD_DIR="$HOME/Download"
- XDG_TEMPLATES_DIR="$HOME/"
- XDG_PUBLICSHARE_DIR="$HOME/"
- XDG_DOCUMENTS_DIR="$HOME/"
- XDG_MUSIC_DIR="$HOME/Musics"
- XDG_PICTURES_DIR="$HOME/Pictures"
- XDG_VIDEOS_DIR="$HOME/Movies"
将各个环境变量改为自己喜欢的即可,eg:- XDG_DESKTOP_DIR="$HOME/Desktop"
- XDG_DOWNLOAD_DIR="$HOME/Download"
- XDG_TEMPLATES_DIR="$HOME/"
- XDG_PUBLICSHARE_DIR="$HOME/"
- XDG_DOCUMENTS_DIR="$HOME/"
- XDG_MUSIC_DIR="$HOME/Musics"
- XDG_PICTURES_DIR="$HOME/Pictures"
- XDG_VIDEOS_DIR="$HOME/Movies"
阅读(4651) | 评论(0) | 转发(0) |