Konsole/zh-tw: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 5: | Line 5: | ||
==特性預覽== | ==特性預覽== | ||
* 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 | ||
</ | |||
'''Konsole'''是KDE平臺上的X終端模擬器,便於用戶使用命令列。除了提供使用強大shell的方法外,Konsole同樣提供很多能讓命令列操作便利和愉快的功能,比如配置檔案管理,回滾和配色方案,以及半透明效果。 | '''Konsole'''是KDE平臺上的X終端模擬器,便於用戶使用命令列。除了提供使用強大shell的方法外,Konsole同樣提供很多能讓命令列操作便利和愉快的功能,比如配置檔案管理,回滾和配色方案,以及半透明效果。 | ||
Line 28: | Line 27: | ||
===快捷鍵=== | ===快捷鍵=== | ||
< | * ''Switch tab:'' <keycap>Shift + Left</keycap>, <keycap>Shift + Right</keycap> (not like '''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).}} | |||
* ''New tab:'' <keycap>Shift + Ctrl + T</keycap>. | |||
* | |||
</ | |||
===標籤的配置=== | ===標籤的配置=== | ||
Line 42: | Line 39: | ||
===設定檔案管理 === | ===設定檔案管理 === | ||
* 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> | ||
* | |||
</ | |||
{{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: | ||
== 相關站點 == | == 相關站點 == | ||
* [http://konsole.kde.org/ Home Page] | |||
* | * [http://forum.kde.org/viewforum.php?f=227 Community Forum] | ||
* | * [http://docs.kde.org/stable/en/applications/konsole/index.html Konsole Handbook] | ||
== Help with Development == | == Help with Development == |
Revision as of 16:40, 26 September 2017
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終端,他被整合到Yakuake, Dolphin和Kate等程式中,在使用者操作命令列時提供給使用者一個統一相似的介面。
教學和技巧
語言
在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
- On the 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:
or just prepend all your commands that requires superuser privileges with sudo.
sudo su
or just prepend all your commands that requires superuser privileges with sudo.
- Font size can also be changed on the tab.
- On the 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