zoukankan      html  css  js  c++  java
  • 使用terminator

    安装terminator:

    sudo apt-get install terminator

    配置terminator:

    配置文件为 ~/.config/terminator/config

    [global_config]
        title_transmit_bg_color = "#d30102"
        focus = system
        suppress_multiple_term_dialog = True
    [keybindings]
    [profiles]
        [[default]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            copy_on_selection = True
            background_image = None
            background_darkness = 0.99
            background_type = transparent
            use_system_font = False
            cursor_color = "#eee8d5"
            foreground_color = "#839496"
            show_titlebar = False
            font = Monospace 12
            background_color = "#002b36"
        [[solarized-dark]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            background_color = "#002b36"
            background_image = None
            cursor_color = "#eee8d5"
            foreground_color = "#839496"
        [[solarized-light]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            background_color = "#fdf6e3"
            background_image = None
            cursor_color = "#002b36"
            foreground_color = "#657b83"
    [layouts]
        [[default]]
            [[[child1]]]
                type = Terminal
                parent = window0
                profile = default
            [[[window0]]]
                type = Window
                parent = ""
    [plugins]

    还需要配置dircolors才能显示出彩色的文件和目录.配置文件为 ~/.dircolors. 我选择了https://github.com/seebi/dircolors-solarized中的dircolors.ansi-dark配色. 最终效果如下:

    使用命令:

    • Ctrl-Shift-o 上下拆分屏幕
    • Ctrl-Shift-e 左右拆分屏幕
    • Ctrl-Shift-x 最大小化当前窗口
    • Ctrl-Shift-q 关闭整个终端
  • 相关阅读:
    Sql获取当前用户可以访问的数据库名
    MSChart中转义符
    PhoneGap 调用activity中的方法
    爬hao123应对不同页面不同编码
    C#调用脚本语言(三) IronJS 与 IronLua 简单方法性能比较
    Sailfish预研结果
    phonegap开发者需要注意喽,小心图片外链
    IOS 5 解析Json
    C#调用脚本语言(二) IronJS基本语法
    使用phonegap,进行页面跳转
  • 原文地址:https://www.cnblogs.com/cfdljc/p/5007954.html
Copyright © 2011-2022 走看看