ini 〜/的.config / lilyterm / default.conf

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini 〜/的.config / lilyterm / default.conf相关的知识,希望对你有一定的参考价值。

##
## LilyTerm 0.9.9.4 (2015-11-06)
## ~/.config/lilyterm/default.conf
##

[main]

auto_save = 0

version = 0.9.9.3

font_name = DejaVu Sans Mono 8

column = 104
row = 48

use_rgba = 

fullscreen = 0

transparent_window = 0
window_opacity = 0.050
window_opacity_inactive = 

transparent_background = 1
background_saturation = 0.079
scroll_background = 0
background_image = 

confirm_to_execute_command = 1
execute_command_whitelist = 
execute_command_in_new_tab = 1

foreground_program_whitelist = bash dash csh ksh tcsh zsh screen
background_program_whitelist = bash dash csh ksh tcsh zsh su

confirm_to_paste = 1
paste_texts_whitelist = editor vi vim elvis nano emacs emacs23 nano joe ne mg ssh e3

confirm_to_close_multi_tabs = 0
confirm_to_kill_running_command = 1

show_background_menu = 1
show_color_selection_menu = 1

foreground_color = #9191a5a5b0b0
background_color = #030303031818
disable_custom_cursor_color = 1
cursor_color = #5555b5b5e7e7

show_resize_menu = 1
font_resize_ratio = 0.000
window_resize_ratio = 1.120

word_chars = -A-Za-z0-9_.+!@&=/~%

scrollback_lines = 100000
show_scroll_bar = 0
scroll_bar_position = 1

show_input_method_menu = 1
show_change_page_name_menu = 1
show_exit_menu = 1

enable_hyperlink = 1
cursor_blinks = 1
allow_bold_text = 0

open_url_with_ctrl_pressed = 0
disable_url_when_ctrl_pressed = 1

show_copy_paste_menu = 1
embedded_copy_paste_menu = 1

audible_bell = 0
visible_bell = 1
urgent_bell = 1

erase_binding = 2

cursor_shape = 1

default_locale = 
locales_list = UTF-8

default_shell = /bin/bash
emulate_term = xterm
VTE_CJK_WIDTH = 1
geometry = 104x48+113+0


[page]

page_width = 26
show_tabs_bar = 0
tabs_bar_position = 0
fill_tabs_bar = 0

page_name = Terminal
page_names = Terminal
reuse_page_names = 1
page_shows_number = 1
page_shows_current_cmdline = 1
page_shows_window_title = 1
page_shows_current_dir = 1
check_root_privileges = 1
page_shows_encoding = 1
bold_current_page_name = 1
bold_action_page_name = 1
window_title_shows_current_page = 1
window_title_append_package_name = 1

show_close_button_on_tab = 0
show_close_button_on_all_tabs = 0

use_color_page = 0
page_win_title_color = #9A6401
page_cmdline_color = #1C1CDC
page_dir_color = #215E3E
page_custom_color = #9C0A81
page_root_color = #BE0020
page_normal_color = #333333


[key]

disable_key_binding = Ctrl grave
new_tab_key = Ctrl T
close_tab_key = 

edit_label_key = 

find_key = 
find_key_prev = 
find_key_next = 

prev_tab_key = Ctrl Page_Up
next_tab_key = Ctrl Page_Down
first_tab_key = Ctrl Home
last_tab_key = Ctrl End

move_tab_forward = 
move_tab_backward = 
move_tab_first = 
move_tab_last = 

switch_to_tab_1 = Ctrl F1
switch_to_tab_2 = Ctrl F2
switch_to_tab_3 = Ctrl F3
switch_to_tab_4 = Ctrl F4
switch_to_tab_5 = Ctrl F5
switch_to_tab_6 = Ctrl F6
switch_to_tab_7 = Ctrl F7
switch_to_tab_8 = Ctrl F8
switch_to_tab_9 = Ctrl F9
switch_to_tab_10 = Ctrl F10
switch_to_tab_11 = Ctrl F11
switch_to_tab_12 = Ctrl F12
new_window = Ctrl W

select_all = Ctrl A
copy_clipboard = Ctrl Up
paste_clipboard = Ctrl Down
copy_clipboard in primary = 
paste_clipboard in primary = 

increase_font_size = Ctrl plus
decrease_font_size = Ctrl minus
reset_font_size = Ctrl Return

max_window = Alt F11
full_screen = Alt Return

scroll_up = Shift Page_Up
scroll_down = Shift Page_Down
scroll_up_1_line = 
scroll_down_1_line = 
clean_scrollback_lines = Ctrl R


[color]

theme = lilyterm
invert_color = 0
custom_theme = 1
brightness = 0.200
inactive_brightness = 0.200

Color1 = 
Color2 = 
Color3 = 
Color4 = 
Color5 = 
Color6 = 
Color7 = 
Color8 = 
Color9 = 
Color10 = 
Color11 = 
Color12 = 
Color13 = 
Color14 = 

[command]


username_regex = 

password_regex = 

hostname_regex = 

address_body_regex = 

address_end_regex = 

web_browser = xdg-open
web_method = 1
web_VTE_CJK_WIDTH = 0
web_environ = 
web_locale = 
web_match_regex = 

ftp_client = 
ftp_method = 1
ftp_VTE_CJK_WIDTH = 0
ftp_environ = 
ftp_locale = 
ftp_match_regex = 

file_manager = qtfm
file_method = 1
file_VTE_CJK_WIDTH = 0
file_environ = 
file_locale = 
file_match_regex = 

email_client = 
email_method = 1
email_VTE_CJK_WIDTH = 0
email_environ = 
email_locale = 
email_match_regex = 

读取ini文件的方法

config = configparser.ConfigParser()
config_path = os.path.join(path, Config/config.ini)
config.read(config_path, encoding="utf-8-sig")
switch = config.get(environment, switch)

技术图片

 

 

技术图片

以上是关于ini 〜/的.config / lilyterm / default.conf的主要内容,如果未能解决你的问题,请参考以下文章

my_config.ini 与 my_config.php

Python 自动化测试config配置文件ini 配置目录

ini xdebug ubuntu 14.04 config for php.ini

python config.ini的应用

ini 〜/的.config / redshift.conf

为 Eclipse RCP 项目生成默认的 config.ini