Konsole/zh-tw: 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/zh-tw|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>
* 新建新的設定檔 <menuchoice>設定-> 管理設定檔 -> 新建設定檔</menuchoice>
* On the <menuchoice>General</menuchoice> tab, enter the new profile name and change the icon if desired.
* <menuchoice>一般</menuchoice>分頁,隨你喜歡可以輸入新的配置文件名和修改圖標。
* 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/zh-cn|1=上面的命令在採用sudo的發行版本上是無效的(比如Ubuntu)。在那些發行版本請使用: {{Input|1=sudo su}}或只要預先在所有需要超級用戶權限的命令前加sudo。}}
* 在 <menuchoice>外觀 </menuchoice>標籤頁能改變字體大小.
[[Image:Konsole4profile.png|thumb|center|330px|編輯設定檔]]
* 在<menuchoice>管理配置文件</menuchoice>對話框,你能添加或刪除一個勾,這決定配置檔案是否在檔案菜單中顯示。
</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 60: Line 52:
== 相關站點 ==
== 相關站點 ==


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


== Help with Development ==
== Help with Development ==

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.

標籤的配置

雙擊更名

If you regularly use a lot of tabs, you'll sometimes find it convenient to label them. Just double-click on the tab and you'll get a re-name dialogue.

設定檔案管理

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

相關站點

Help with Development

If you are interested in helping with Konsole's development, check out how to help the Konsole team.

關鍵字

終端模擬器,命令列, CLI, shell