Konsole(终端模拟器)

    From KDE UserBase Wiki
    Revision as of 22:10, 28 April 2019 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
    Konsole
    Konsole 是 KDE 平台的终端模拟器

    特性综述

    • X Terminal emulator
    • Makes using the command line easier
    • Use different profiles for different tasks
    • Set scrollback limit and save contents to file
    • Right-click on links to open in user's default web browser
    • Open current path in user's file manager
    • Translucent background available when desktop effects are enabled
    • The unique value of the environmental variable SHELL_SESSION_ID persists across all desktop sessions

    Konsole 是KDE平台上的X终端模拟器,便于用户使用命令行。除了提供使用强大shell的方法外,Konsole同样提供很多能让命令行操作便利和愉快的功能,比如配置文件管理,回滚和配色方案,以及半透明效果。

    Konsole 同时提供一个嵌入式的KPart终端,他被整合到YakuakeDolphinKate等程序中,在用户操作命令行时提供给用户一个统一相似的界面。

    教程和提示

    语言

    With Konsole you can change the language to plain English (to see bugs info for example) by command:

    export LANG=en_US.UTF-8

    快捷键

    • Switch tab: Shift + Left, Shift + Right (not like X-Chat, Firefox, Quanta, Kdevelop).

    Note

    Quanta and Kdevelop use Alt + Left, Alt + Right. However, Shift + Direction has the advantage of being reachable with one hand on virtually all keyboard layouts, while Alt keys are sometimes only on the left of the keyboard (e.g. in Germany).
    • New tab: Shift + Ctrl + T.

    标签的配置

    双击重命名标签页

    要是你长期都是用一堆标签,会发现标签的命名很容易,双击就能改名。

    配置文件管理

    • To add a new profile go to Settings -> Profile Management -> New Profile
    • On the General tab, enter the new profile name and change the icon if desired.
    • If this is to be a root konsole, enter the command /bin/su -

    Tip

    This command will not work on any distro that uses sudo (like Ubuntu). On such distributions use:
    sudo su
    or just prepend all your commands that requires superuser privileges with sudo.
    • Font size can also be changed on the Appearance tab.


    Editing a profile
    • On the Manage Profiles screen you can add or remove a star, which controls whether that profile is to be offered on the File menu.

    Padding

    You can change the padding between the border and the contents of Konsole (the "margin" or "gutters" between window border and text) by editing your profile file in .local/share/konsole/[name of profile] and adding:

    TerminalMargin=7

    The number after "TerminalMargin" can be edited to whatever size you prefer. After that you need to log out and then log in to show the changes.

    相关网站

    帮助开发

    您如果有兴趣帮助开发 Konsole,请参阅如何帮助 Konsole 团队

    关键词

    终端模拟器,命令行,CLI,shell