Termite terminal linux là gì
Show
Mối là một thiết bị đầu cuối dễ sử dụng và dễ cấu hình. Nó sử dụng một giao diện tương tự như các chương trình "messenger" hoặc "chat", với một cửa sổ lớn chứa tất cả dữ liệu nhận được và một dòng chỉnh sửa để nhập chuỗi để truyền. Điểm nổi bật của tiện ích là dễ cài đặt (có thể với các cài đặt được định cấu hình trước) bằng cách sử dụng tìm kiếm heuristic cho cổng COM thích hợp và, như đã đề cập, tính thân thiện với người dùng của nó.
Note: Termite is no longer actively developed/maintained and the developers recommend using Alacritty as a replacement. Alacritty has a keyboard text selection mode inspired by Termite and the upcoming 0.8 version has a similar hints mode. Alacritty is dramatically faster than VTE, more robust, more secure and more modern overall. Termite is a minimal VTE-based terminal emulator. It is a modal application, similar to Vim, with an insert mode and selection mode where keybindings have different functions. The configuration file allows changing colors and setting options. Termite supports transparency along with both the 256 color and true color (16 million colors) palettes. It has a similar look and feel to urxvt. InstallationInstall the termiteAUR package. UsageTermite starts in insert mode by default. Text may be selected using the mouse, or by using selection-mode keys. In insert mode,
ConfigurationTermite looks for configuration files in To start customizing termite copy the base example file to your home dir first: $ cp /etc/xdg/termite/config ~/.config/termite/config FontFonts are specified in the format ~/.config/termite/config [options] font = Monospace 9 font = xos4 Terminus 12px font = Droid Sans Mono 8 Tip: You can also specify a ColorsColors consist of either a 24-bit hex value (e.g. An amazing collection of termite color schemes can be found here: https://github.com/khamer/base16-termite/tree/master/themes ~/.config/termite/config [colors] foreground = #dcdccc background = #3f3f3f Reload configuration without exitingYou can reload Termite's configuration file without exiting by pressing Alternatively, you can send a $ killall -USR1 termite TransparencyAs of version 9, Termite supports true transparency via color definitions that specify an alpha channel value [2]. This requires a compositor to be running, such as picom or xcompmgr. Most compositors do not require special configuration for Termite to use transparency. ~/.config/termite/config [colors] background = rgba(63, 63, 63, 0.8) Note: In i3, in stacked/tabbed layout, this shows all windows "stacked" on top of each other, in the order they were most recently in the foreground, rather than showing the
desktop (the root window) directly behind Termite. This is due to i3 reordering windows rather than hiding invisible windows in tiling mode. You can configure your compositor to make windows with ~/.config/picom.conf opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; TroubleshootingCtrl+Shift+tIf opening a new tab through If it continues to fail, ensure your hostname is valid. See hostname(7). Remote SSH errorWhen Termite is using remote SSH connection sometimes the error occurs: Error opening terminal: xterm-termite. or Open terminal failed: missing or unsuitable terminal: xterm-termite. This error can occur when trying to edit file with vim or nano. To fix this issue you should execute this command on the remote system: $ export TERM=xterm-color Alternatively, follow the instructions on Termite's GitHub. This will allow you to use all of Termite's features when using SSH, whereas the above may not. [3] Terminal issues with SSHWhen Termite is used for SSH connections to a remote system which does not have its Terminfo, various issues (such as non-working backspace and weird cursor behaviour) could happen. The solution is to send your Terminfo to the remote host. On the local host, using Termite: $ infocmp > termite.terminfo # export Termite's Terminfo $ scp termite.terminfo user@remote-host:~/ # or any other method to copy to the remote host On the remote host, in the directory where you copied $ tic -x termite.terminfo # import Terminfo for current user $ rm termite.terminfo # optional: remove Terminfo file Note: After this, you will need to start a new SSH session to have the remote shell load the new Terminfo. See also
|