Ubuntu efficient tools - autojump, terminator (shortcut key failure problem)
Automatic fast jump tool autojump
Installation instructions:
sudo apt -y install autojump
After the installation is complete, it will not take effect automatically. We need to enter this command: source /usr/share/autojump/autojump.sh on startup
take effect, but this is not permanent, so permanent effect can be used:
echo '. /usr/share/autojump/autojump.sh'>>~/.bashrc
Then enter source ~/.bashrc
or restart the terminal to take effect
How to use:
j xxx
To quickly reach the desired directory, xxx is part of the directory
terminal efficient tool terminator
Installation instructions:
sudo apt-get -y install terminator
How to use:
- Vertical split screen:
Ctrl+Shift+E
- Horizontal split screen:
Ctrl+Shift+O
- close the window:
Ctrl+Shift+W
- Multi-terminal synchronous input:
win+G
- Close multi-terminal synchronous input:
win+shift+G
- To zoom in/out a single window:
win+shift+X
- Resize window:
ctrl+shift+方向键
- search:
ctrl+shift+F
How to use:
input the command:
gedit ~/.config/terminator/config
Replace all the content inside with the following code (some preferences can be designed by yourself)
[global_config]
title_transmit_bg_color = "#d30102"
focus = system
suppress_multiple_term_dialog = True
[keybindings]
[profiles]
[[default]]
palette = "#2d2d2d:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#d3d0c8:#747369:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#f2f0ec"
background_color = "#2D2D2D" # 背景颜色
background_image = None
background_darkness = 0.85
cursor_color = "#2D2D2D" # 光标颜色
cursor_blink = True # 光标是否闪烁
foreground_color = "#EEE9E9" # 文字的颜色
use_system_font = False # 是否启用系统字体
font = Ubuntu Mono 13 # 字体设置,后面的数字表示字体大小
copy_on_selection = True # 选择文本时同时将数据拷贝到剪切板中
show_titlebar = False # 不显示标e题栏,也就是 terminator 中那个默认的红色的标题栏
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
profile = default
[[[window0]]]
type = Window
parent = ""
[plugins]
Shortcut key failure problem
Split screen button not working
Conflict with ibus
Enter the following command to call up ibus
ibus-setup
close window key not working
If you have downloaded Feishu, click on my profile picture->Settings->Shortcut Keys, and the Show/Hide Feishu shortcut keys will be blank
The search key ctrl+shift+f is not working
I haven't found the reason for this yet, but you can set the terminator
right->preferences->Keybindings->redefine the shortcut key of the search
Next, reopen a terminal and enter ctrl+alt+f to see the search box. This function is still very useful, especially when looking for historical commands.