update-alternatives

alan's 的頭像

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

examples

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

發表新回應

這個欄位的內容會保密,不會公開顯示。
  • 可使用的 HTML 標籤:<a> <em> <pre><strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img><h1><h2><h3>
  • 自動斷行和分段。

更多關於格式選項的資訊