首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >guake把它放在用户首选项哪里?

guake把它放在用户首选项哪里?
EN

Unix & Linux用户
提问于 2018-10-09 06:20:38
回答 2查看 2.9K关注 0票数 5

以前,guake的首选项存储在

代码语言:javascript
复制
~/.gconf/apps/guake/general

但随着移动到gtk3,它已经转移到gtk3和dconf。虽然dconf编辑器向我展示了切换开关的首选项,但我无法确定它实际停留在哪里。

EN

回答 2

Unix & Linux用户

发布于 2020-07-19 13:22:31

直接方式:

代码语言:javascript
复制
# save settings
guake --save-preferences ~/Downloads/guake_prefs

# load settings
guake --restore-preferences ~/Downloads/guake_prefs

另一种方式,我的经验,在Ubuntu 20.04,

代码语言:javascript
复制
# save the config file
dconf save /apps/guake/ > Downloads/guake.dconf

# load
dconf load /apps/guake/ < Downloads/guake.dconf

还可以为UI编辑器安装dconf编辑器。

代码语言:javascript
复制
sudo apt-get update -y
sudo apt-get install -y dconf-editor

然后打开dconf,并在/apps/guake/上选择guake的配置选项。

票数 4
EN

Unix & Linux用户

发布于 2020-06-04 01:54:49

下面是仅转储与guake相关的配置的命令:

代码语言:javascript
复制
dconf dump /apps/guake/

输出应该如下所示:

代码语言:javascript
复制
[general]
prompt-on-quit=true
window-height=46
mouse-display=true
window-width=100
max-tab-name-length=100
window-losefocus=true
quick-open-enable=false
history-size=1000
open-tab-cwd=true
window-tabbar=true
window-halignment=0
quick-open-command-line='gvim %(file_path)s'
compat-delete='delete-sequence'
scroll-keystroke=true
abbreviate-tab-names=true
display-n=0
use-audible-bell=false
use-default-font=true
scroll-output=true
use-scrollbar=true
use-trayicon=true
set-window-title=true
use-popup=true
window-refocus=false
use-vte-titles=true

[keybindings/global]
show-hide='F12'

[style]
cursor-shape=0
cursor-blink-mode=2

[style/background]
transparency=100

[style/font]
allow-bold=true
palette='#000000000000:#999900000000:#0000a6a60000:#999999990000:#00000000b2b2:#b2b20000b2b2:#0000a6a6b2b2:#bfbfbfbfbfbf:#666666666666:#e5e500000000:#0000d9d90000:#e5e5e5e50000:#00000000ffff:#e5e50000e5e5:#0000e5e5e5e5:#e5e5e5e5e5e5:#000000000000:#ffffffffdddd'
palette-name='Custom'

可以将其保存到文件中,稍后再加载。

代码语言:javascript
复制
dconf dump /apps/guake/ > dconf-guake-dump.txt
# Later:
dconf load /apps/guake/ < dconf-guake-dump.txt
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/474137

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档