修改 linux、ubuntu 默认终端,外加terminator颜色方案

博客围绕在使用cinnamon桌面时,将右键打开的终端修改为terminator的需求展开。介绍了先安装dconf - tools,再依次进入指定路径修改键值的操作方法,还提及了一键脚本和terminator颜色方案及配置文件位置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

需求:使用 cinnamon 桌面,想要修改右键打开的终端为terminator

先安装 dconf-tools

 sudo apt-get install dconf-tools

依次进入
org -> cinnamon -> desktop -> default-applications -> terminal

然后将键值改成你想要的
比如terminator为

keyvalue
exec:x-terminal-emulator
exec-arg:-e

最后来一个一键脚本

gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/x-terminal-emulator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-e"

terminator颜色方案
配置文件 ~/.config/terminator/config

[global_config]
  always_split_with_profile = True
  enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
  focus = system
  geometry_hinting = False
  handle_size = 2
  inactive_color_offset = 1.0
  title_font = mry_KacstQurn Bold 11
  title_hide_sizetext = True
  title_receive_bg_color = "#729fcf"
[keybindings]
  paste = <Primary>v
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      profile = default
      type = Terminal
    [[[window0]]]
      parent = ""
      type = Window
[plugins]
[profiles]
  [[default]]
    background_color = "#3e3535"
    background_darkness = 0.89
    background_image = /home/peng/Pictures/pixiv/pixiv7/illust_10209207_20180121_090855.jpg
    background_type = transparent
    cursor_color = "#dcdcdc"
    cursor_shape = underline
    custom_command = tmux
    font = Ubuntu Mono 18
    foreground_color = "#ffffff"
    login_shell = True
    show_titlebar = False
    urgent_bell = True
    use_system_font = False
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值