赞
踩
nautilus-extension-gnome-terminal
而没有提供大多终端update-alternatives
工具可以修改系统的默认终端(ctrl-alt-t),但对nautilus文件管理器内失效sudo update-alternatives --config x-terminal-emulator
nautilus-extension-gnome-terminal
,nautilus-open-any-terminal
拉下来,cd
进项目根目录sudo apt remove nautilus-extension-gnome-terminal
git clone git@github.com:Stunkymonkey/nautilus-open-any-terminal.git
cd nautilus-open-any-terminal
sudo apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
sudo ./setup.py build
sudo ./setup.py install
sudo glib-compile-schemas /usr/local/share/glib-2.0/schemas/
nautilus -q #先退出
sudo apt install dconf-editor
#配置alacritty为nautilus默认终端
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal alacritty
其他终端也类似,直接改最后一句配置即可
enjoy!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。