Tilix: Linux下可平鋪堆疊的Terminal
Tilix: A tiling terminal emulator
Tilix is an advanced GTK3 tiling terminal for Linux based on the Gnome Human Interface Guidelines (HIG).
安裝 tilix
sudo apt install tilix安裝佈景主體
複製 github repo 至本機
git clone --recurse-submodules https://github.com/isacikgoz/gogh-to-tilix.git讓 install.sh 可執行
cd gogh-to-tilix/
chmod +x install.sh執行 install.sh 後面接上放置主題的路徑 `~/.config/tilix/schemes`
./install.sh ~/.config/tilix/schemesTroubleshooting
1. 使用者提示沒有顏色?
No prompt color when open but only after source .bashrc · Issue #1738 · gnunn1/tilix
First of all, thank you for this NICE terminal! I begun to have this problem recently: My prompt has no colors when opening Tilix. It only gets colored after source .bashrc. Why would Tilix not sou...
這是因為把模式設成了 login shell
What does echo $0 say in these two terminals? I expect gnome-terminal to report bash whereas Tilix to say -bash with a leading dash, meaning that you've configured Tilix (or is it its default?) to launch a login shell. Login shells source .profile and friends instead of .bashrc (it's a common practice to source the latter from the former).
只要取消勾選即可
2. VTE Configuration
Tilix: VTE Configuration
Tilix is an advanced GTK3 tiling terminal for Linux based on the Gnome Human Interface Guidelines (HIG).
這個問題的解決辦法有兩種,先說第二種:
這種作法就是使用 login shell,但是結果就會造成第一個問題,所以回到第一種作法:
在 ~/.bashrc 中輸入
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi並執行
ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh建立 symlink