2021年6月23日 星期三

Xwindow change default directory to home

Reference:

GNOME Desktop :-

  • Use gconftool-2 to make Open in Terminal start in ~/ or $HOME instead of ~/Desktop. This can be done per-user and the global default can also be changed.

    • As a user, run following command to change the behavior immediately:
    $ gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir true
    
    • As root, run below command to set the default behavior, which will be source when new users first log in:
    # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir true

沒有留言:

張貼留言