Konsole/zh-cn: Difference between revisions

    From KDE UserBase Wiki
    (Updating to match new version of source page)
    (Updating to match new version of source page)
    Line 5: Line 5:
    == 特性综述 ==
    == 特性综述 ==


    <span class="mw-translate-fuzzy">
    * X Terminal emulator
    * X 终端模拟器
    * 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 <code>SHELL_SESSION_ID</code> persists across all desktop sessions
    </span>


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


    <span class="mw-translate-fuzzy">
    * ''Switch tab:'' <keycap>Shift + Left</keycap>, <keycap>Shift + Right</keycap> (not like '''X-Chat''', '''Firefox''', '''Quanta''', '''Kdevelop''').
    * 切换标签: SHIFT+, SHIFT+(不像X-Chat, Firefox, Quanta, Kdevelop)
    {{Note|1='''Quanta''' and '''Kdevelop''' use <keycap>Alt + Left</keycap>, <keycap>Alt + Right</keycap>. However, '''Shift + ''Direction''''' has the advantage of being reachable with one hand on virtually all keyboard layouts, while <keycap>Alt</keycap> keys are sometimes only on the left of the keyboard (e.g. in Germany).}}
    :{{Note|1=Quanta和Kdevelop用的是ALT+, ALT+右。但是,SHIFT+方向键好处是能在几乎所有键盘布局上单手搞定,因为有时候某些键盘上只在左侧有ALT按键(比如德文键盘)}}
    * ''New tab:'' <keycap>Shift + Ctrl + T</keycap>.
    * 新建标签: SHIFT+CRTL+N.
    </span>


    ===标签的配置===
    ===标签的配置===
    Line 42: Line 39:
    === 配置文件管理 ===
    === 配置文件管理 ===


    <span class="mw-translate-fuzzy">
    * To add a new profile go to <menuchoice>Settings -> Profile Management -> New Profile</menuchoice>
    * 新建新的配置文件 '''设置 > 管理配置文件 > 新建配置文件
    * On the <menuchoice>General</menuchoice> tab, enter the new profile name and change the icon if desired.
    * 在常规标签页,随你喜欢可以输入新的配置文件名和修改图标。
    * If this is to be a ''root konsole'', enter the command <code>/bin/su - </code>  
    * 如果要成为root用户的konsole,键入命令<div style="margin-right:80px">{{Input|1=/bin/su -}}</div>:{{Tip|1=
    ''上面的命令在 root 账号没有启用的情况下<!--采用sudo的发行版上-->是无效的<--(比如Ubuntu)。在那些发行版,-->此时请使用:''
    {{Input|1=sudo su}}
    ''或只要预先在所有需要超级用户权限的命令前加sudo。''}}
    * 在外观标签页能改变字体大小.
    [[Image:ZhcnKonsole4profile.png|thumb|240px|center|编辑一个配置文件]]
    * 在管理配置文件对话框,你能添加或删除一个勾,这决定配置文件是否在文件菜单中显示。
    </span>  


    {{Tip|1=This command will not work on any distro that uses sudo (like Ubuntu). On such distributions use: <br /><code>sudo su</code><br /> or just prepend all your commands that requires superuser privileges with sudo.}}
    {{Tip|1=This command will not work on any distro that uses sudo (like Ubuntu). On such distributions use: <br /><code>sudo su</code><br /> or just prepend all your commands that requires superuser privileges with sudo.}}
    Line 63: Line 52:
    == 相关网站 ==
    == 相关网站 ==


    <span class="mw-translate-fuzzy">
    * [http://konsole.kde.org/ Home Page]
    * [http://konsole.kde.org/ Konsole 主页]
    * [http://forum.kde.org/viewforum.php?f=227 Community Forum]
    * [http://forum.kde.org/viewforum.php?f=227 论坛]
    * [http://docs.kde.org/stable/en/applications/konsole/index.html Konsole Handbook]
    * [http://docs.kde.org/stable/en/kde-baseapps/konsole/index.html Konsole 手册]
    </span>


    == 帮助开发 ==
    == 帮助开发 ==

    Revision as of 16:40, 26 September 2017

    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等程序中,在用户操作命令行时提供给用户一个统一相似的界面。

    教程和提示

    语言

    Konsole 里,你能切换语言到纯英语环境(比如为了查看某些bug信息),输入下列命令:

    export LANG=C

    快捷键

    • 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.

    相关网站

    帮助开发

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

    关键词

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