Jump to content

Konsole/ja: Difference between revisions

From KDE Wiki Sandbox
FuzzyBot (talk | contribs)
Updating to match new version of source page
Kazu (talk | contribs)
Created page with "'''Konsole'''はKDEプラットフォーム用の''Xターミナルエミュレータ''で、ユーザがコマンドラインを使用するための便利な方法を持つことを可能にします。強力なシェルを使う方法を提供するだけでなく、'''Konsole'''は、プロファイル管理、スクロールバック、エフェクト用の半透明を含む配色など、コマンドラインでの作業をより簡単に、より楽しくする機..."
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages />
<languages />
{|class="tablecenter vertical-centered"
{|class="tablecenter vertical-centered"
|[[Image:Konsole-KDE4.png|thumb|265px|Konsole]]|| '''Konsole is the terminal emulator for the KDE platform'''
|[[Image:Konsole-KDE4.png|thumb|265px|Konsole]]|| '''KonsoleはKDEプラットフォーム向けの端末エミュレーターです。'''
|}
|}
<span id="Feature_Overview"></span>
== 機能の概要 ==
== 機能の概要 ==


Line 14: Line 15:
* The unique value of the environmental variable <code>SHELL_SESSION_ID</code> persists across all desktop sessions
* The unique value of the environmental variable <code>SHELL_SESSION_ID</code> persists across all desktop sessions


'''Konsole''' is an ''X terminal emulator'' for the KDE platform, allowing users to have a convenient way to use the command line. Aside from providing a way to use a powerful shell, '''Konsole''' also offers features that make it easier or more pleasurable to work in the command line, such as profile management, scrollback, and color schemes, including translucency for effects.
'''Konsole'''はKDEプラットフォーム用の''Xターミナルエミュレータ''で、ユーザがコマンドラインを使用するための便利な方法を持つことを可能にします。強力なシェルを使う方法を提供するだけでなく、'''Konsole'''は、プロファイル管理、スクロールバック、エフェクト用の半透明を含む配色など、コマンドラインでの作業をより簡単に、より楽しくする機能も提供しています。


'''Konsole''' also provides an embedded [[Special:myLanguage/Glossary#KPart|KPart]] terminal which is used by apps such as [[Special:myLanguage/Yakuake|Yakuake]], [[Special:myLanguage/Dolphin|Dolphin]], and [[Special:myLanguage/Kate|Kate]], giving users a consistent and familiar interface when working in the command line.
'''Konsole''' also provides an embedded [[Special:myLanguage/Glossary#KPart|KPart]] terminal which is used by apps such as [[Special:myLanguage/Yakuake|Yakuake]], [[Special:myLanguage/Dolphin|Dolphin]], and [[Special:myLanguage/Kate|Kate]], giving users a consistent and familiar interface when working in the command line.


<span id="Tutorials_and_Tips"></span>
== チュートリアルとヒント ==
== チュートリアルとヒント ==


<span id="Language"></span>
=== 言語 ===
=== 言語 ===


Line 25: Line 28:
{{Input|1=export LANG=en_US.UTF-8}}
{{Input|1=export LANG=en_US.UTF-8}}


<span id="Shortcuts"></span>
=== ショートカット ===
=== ショートカット ===


Line 37: Line 41:
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.
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.


<span id="Profile_Management"></span>
=== プロファイル管理 ===
=== プロファイル管理 ===


Line 47: Line 52:




  [[Image:Konsole4profile.png|thumb|center|330px|Editing a profile]]
  [[Image:Konsole4profile.png|thumb|center|330px|Editing a profile]]  
* On the <menuchoice>Manage Profiles</menuchoice> screen you can add or remove a star, which controls whether that profile is to be offered on the File menu.
* On the <menuchoice>Manage Profiles</menuchoice> screen you can add or remove a star, which controls whether that profile is to be offered on the File menu.


Line 53: Line 58:


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 {{Path|.local/share/konsole/[name of profile]}} and adding:
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 {{Path|.local/share/konsole/[name of profile]}} and adding:
{{Input|1=TerminalMargin=7}}
{{Input|1=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.
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.


=== Per Konsole tab Bash history ===
If you want each Konsole tab to remember its own individual bash history, and restore it with the session after a reboot or log out/in, add the following line in your {{Path|~/.bashrc}}:
{{Input|1=HISTFILE="$HOME/.bash_history.${KONSOLE_DBUS_SESSION##*/}"}}
<span id="Related_Sites"></span>
== 関連サイト ==
== 関連サイト ==


Line 63: Line 77:


== Help with Development ==
== Help with Development ==
If you are interested in helping with Konsole's development, check out how to [[Special:myLanguage/KonsoleDevelopment|help the Konsole team]].
If you are interested in helping with Konsole's development, check out how to [[Special:myLanguage/KonsoleDevelopment|help the Konsole team]].


<span id="Keywords"></span>
== キーワード ==
== キーワード ==



Latest revision as of 14:05, 18 November 2023

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ターミナルエミュレータで、ユーザがコマンドラインを使用するための便利な方法を持つことを可能にします。強力なシェルを使う方法を提供するだけでなく、Konsoleは、プロファイル管理、スクロールバック、エフェクト用の半透明を含む配色など、コマンドラインでの作業をより簡単に、より楽しくする機能も提供しています。

Konsole also provides an embedded KPart terminal which is used by apps such as Yakuake, Dolphin, and Kate, giving users a consistent and familiar interface when working in the command line.

チュートリアルとヒント

言語

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.

Label your Tabs

タブ名を変更するにはダブルクリック

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.

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.

Per Konsole tab Bash history

If you want each Konsole tab to remember its own individual bash history, and restore it with the session after a reboot or log out/in, add the following line in your ~/.bashrc:

HISTFILE="$HOME/.bash_history.${KONSOLE_DBUS_SESSION##*/}"

関連サイト

Help with Development

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

キーワード

ターミナルエミュレーター, コマンドライン, CLI, シェル