~/.bashrc 是 bash 載入時讀取的設定檔.
~/.xprofile 是 X 載入時 (xinit 或 {[xgk]dm,entrance}) 讀取的設定檔.
也許有時候從 console 執行 startx 與使用圖形登入介面需要載入不同的設定檔, 那就要使用不同的檔案.
~/.xprofile - 不管怎樣都會在入
~/.xinitrc - 從 console 執行時載入
~/.xsession - 從圖形登入介面時載入
不過不管怎樣, 跑 X 的時候都跟 bash 無關的!
版主: Forums Team
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客