当前位置: 首页 > news >正文

Mate桌面环境系统与终端模拟器参数配置

说明:
  MATE桌面环境在使用中会优化一些参数配置,例如:电源选项、屏幕配置、字体配置、终端模拟器(Mate Terminal)配置等等。
  通常工程师会根据自己喜好调整一些参数,修改后参数的保存位置在/home/username/.config/dconf/user,同时缓存文件会保留在/home/username/.cache/dconf/user中,当删除这两处user文件会重新加载系统默认配置。所以配置加载的顺序是:/home/username/.config/dconf/user–>系统默认配置。

系统默认参数配置位置

/usr/share/glib-2.0/schemas/	# 此目录可以通过grep来查找需要调整参数

例如:调整Scrollback参数

cd /usr/share/glib-2.0/schemas/
grep -ir "scrollback" .Binary file ./gschemas.compiled matches
./org.gnome.Terminal.gschema.xml:    <key name="scrollback-lines" type="i">
./org.gnome.Terminal.gschema.xml:      <summary>Number of lines to keep in scrollback</summary>
./org.gnome.Terminal.gschema.xml:      <description>Number of scrollback lines to keep around. You can scroll back in the terminal by this number of lines; lines that don’t fit in the scrollback are discarded. If scrollback_unlimited is true, this value is ignored.</description>
./org.gnome.Terminal.gschema.xml:    <key name="scrollback-unlimited" type="b">
./org.gnome.Terminal.gschema.xml:      <summary>Whether an unlimited number of lines should be kept in scrollback</summary>
./org.gnome.Terminal.gschema.xml:      <description>If true, scrollback lines will never be discarded. The scrollback history is stored on disk temporarily, so this may cause the system to run out of disk space if there is a lot of output to the terminal.</description>
./org.mate.terminal.gschema.xml:    <key name="scrollback-lines" type="i">
./org.mate.terminal.gschema.xml:      <summary>Number of lines to keep in scrollback</summary>
./org.mate.terminal.gschema.xml:      <description>Number of scrollback lines to keep around. You can scroll back in the terminal by this number of lines; lines that don't fit in the scrollback are discarded. If scrollback_unlimited is true, this value is ignored.</description>
./org.mate.terminal.gschema.xml:    <key name="scrollback-unlimited" type="b">
./org.mate.terminal.gschema.xml:      <summary>Whether an unlimited number of lines should be kept in scrollback</summary>
./org.mate.terminal.gschema.xml:      <description>If true, scrollback lines will never be discarded.  The scrollback history is stored on disk temporarily, so this may cause the system to run out of disk space if there is a lot of output to the terminal.</description>

vim org.mate.terminal.gschema.xml

    </key><key name="scrollback-lines" type="i"><default>10000</default>		# 这里加载默认值<summary>Number of lines to keep in scrollback</summary><description>Number of scrollback lines to keep around. You can scroll back in the terminal by this number of lines; lines that don't fit in the scrollback are discarded. If scrollback_unlimited is true, this value is ignored.</description></key><key name="scrollback-unlimited" type="b"><default>false</default>			# 关闭这里是禁用unlimited<summary>Whether an unlimited number of lines should be kept in scrollback</summary><description>If true, scrollback lines will never be discarded.  The scrollback history is stored on disk temporarily, so this may cause the system to run out of disk space if there is a lot of output to the terminal.</description>

修改完文件后,需要重新编译 GSettings 模式:

glib-compile-schemas /usr/share/glib-2.0/schemas/

重新登录后生效
在这里插入图片描述

小结:
  全用户生效,已创建用户需要更新/home/username/.config/dconf/user,新用户可加载默认配置。

http://www.xdnf.cn/news/679375.html

相关文章:

  • ai客服平台哪家好:AnKo多模型AI聚合时代!
  • Python实现自动物体识别---基于深度学习的AI应用实战
  • 【Git】Commit Hash vs Change-Id
  • 浏览器缓存详细介绍
  • API平台(API网关)的API监控预警机制
  • 欧几里得 ---> 裴蜀定理 ---> 拓展欧几里得
  • 使用MATLAB求解微分方程:从基础到实践
  • ProfiNet转MODBUSTCP网关模块的实时性保障Logix5000控制器与AltivarProcess变频器同步控制方案
  • 【leetcode】977. 有序数组的平方
  • Microbiome|基于MAG的宏转录组
  • TailwindCSS v4 快速入门教程
  • 在Linuxfb环境下利用海思TDE API实现高效的2D图形加速
  • Java中的日期类详解
  • 数据泄露频发,Facebook的隐私保护是否到位?
  • 12. CSS 布局与样式技巧
  • [网页五子棋][用户模块]数据库设计和配置(MyBatis)、约定前后端交互接口、服务器开发
  • 使用tunasync部署企业内部开源软件镜像站-Centos Stream 9
  • 用ChatGPT辅助UI设计:从需求分析到风格提案的提效秘籍
  • 代码随想录算法训练营第五十一天
  • Day4 记忆内容:priority_queue 高频操作
  • SAAS架构设计2-流程图-注册流程图
  • uni-app 中开发问题汇总
  • 【网络编程】十七、多路转接之 epoll
  • JAVA SE 文件IO
  • Python函数
  • python+tkinter实现GUI界面调用即梦AI文生图片API接口
  • PPO算法里clipfrac变量的作用
  • 《计算机组成原理》第 7 章 - 指令系统
  • 恶意npm与VS Code包窃取数据及加密货币资产
  • 科研级计算服务器 稳定支撑创新研究