ubuntu 常用设置


***********************************************

 OS: ubuntu-10.04.2(lucid)

OS kernel: 2.6.32-46-generic

GNOME 2.30.2

***********************************************



1.Ubuntu 10.04地址导航栏修改为显示路径

方法:

终端,输入gconf-editor,

定位到apps->nautilus->preferences,定位到 always_use_location_entry项,打上勾。

wanderer:

1:默认的位置项,如果要复制路径,可以右键相应的路径栏--复制,需要注意的是,带有中文的路径目录在终端中不能正常显示,需要现复制到文本中!


2.Ubuntu下终端路径只显示当前目录

$: sudo vim ~/.bashrc

这个文件记录了用户终端配置

找到

if [ "$color_prompt " = yes ]; then
    PS1 ='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W \[\033[00m\]\$ '
else
    PS1 ='${debian_chroot:+($debian_chroot)}\u@\h:\W \$ '

将红色的w由小写改成大写,可以表示只显示当前目录名称.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章