
update-alternatives 用來改變預設執行的程式。
所有可以 update-alternatives 放在 /etc/alternatives
$ ls -l /etc/alternatives
全部設一遍:
$ sudo update-alternatives --all
galternatives
graphical setup tool for Alternatives Configuration in Ubuntu
介紹:Debian Admin
links
x-cursor-theme
$ sudo aptitude install dmz-cursor-theme
$ sudo update-alternatives --config x-cursor-theme
editor
$ sudo update-alternatives --list editor
$ sudo update-alternatives --config editor
vi
$ sudo update-alternatives --display vi
$ sudo update-alternatives --config vi
x-window-manager
$ sudo update-alternatives --display x-window-manager
$ sudo update-alternatives --config x-window-manager
發表新回應