ubuntu terminator 安装美化

首先安装 terminator

apt-get install terminator

因为初始界面不太美观,可以设置一下配置文件,方法如下:

mkdir ~/.config/terminator/
nano ~/.config/terminator/config

我当前使用的配置如下:

[global_config]
  always_split_with_profile = True
  title_font = Ubuntu Mono 16
  window_state = maximise
[keybindings]
  close_term = <Primary>BackSpace
  split_horiz = <Primary>Down
  split_vert = <Primary>Right
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      type = Terminal
    [[[window0]]]
      parent = ""
      type = Window
[plugins]
[profiles]
  [[default]]
    background_image = None
    cursor_color = "#ffffff"
    cursor_shape = ibeam
    font = Ubuntu Mono 13
    foreground_color = "#ffffff"
    scrollback_lines = 50000
    show_titlebar = False
    use_system_font = False

设置默认为默认终端

# 设置为默认终端
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"
# 取消设置
gsettings reset org.gnome.desktop.default-applications.terminal exec
gsettings reset org.gnome.desktop.default-applications.terminal exec-arg

如果 terminator 打不开,可以使用以下方法

nano /usr/bin/terminator
# 将第一行的 /usr/bin/python
# 改为 /usr/bin/python2

接下来就可以用 Ctrl + ALT + T 按键打开 terminator 终端

  • Ctrl + ↓ 可以上下分屏
  • Ctrl+ → 可以左右分屏
  • Ctrl + Backspace 可以删除当前终端
posted @   infinite_ryvius  阅读(455)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示