Konsole/ca: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
 
(34 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 és l'emulador de terminal per a la plataforma KDE'''
|}
|}
== Feature Overview ==
== Descripció general de característiques ==


* X Terminal emulator
* Emulador de terminal X
* Makes using the command line easier
* Utilitza la línia d'ordres fàcil
* Use different profiles for different tasks
* Utilitza perfils per a diferents tasques
* Set scrollback limit and save contents to file
* Estableix el límit de l'historial i desa el contingut a un fitxer
* Click on links to open in user's default web browser
* Feu clic dret sobre els enllaços per obrir-los al navegador web predeterminat per l'usuari
* Open current path in user's file manager
* Obre el camí actual al gestor de fitxers de l'usuari
* Translucent background available when desktop effects are enabled
* Fons translúcid disponible quan els efectes d'escriptori estan habilitats
* El valor únic de la variable d'entorn <code>SHELL_SESSION_ID</code> persisteix en totes les sessions d'escriptori


'''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''' és un ''emulador de terminal X'' per a la plataforma KDE, permetent als usuaris tenir una manera convenient d'usar la línia d'ordres. A més de proporcionar una manera d'utilitzar una shell de gran abast, '''Konsole''' també ofereix característiques que el fan més fàcil o més agradable per treballar en la línia d'ordres, com la gestió de perfils, historial, i esquemes de color, inclosa la transparència dels efectes.


'''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''' també ofereix una [[Special:myLanguage/Glossary#KPart|KPart]] incrustada que s'utilitza en aplicacions com ara [[Special:myLanguage/Yakuake|Yakuake]], [[Special:myLanguage/Dolphin|Dolphin]] i [[Special:myLanguage/Kate|Kate]], donant als usuaris una interfície compatible i familiar quan es treballa en la línia d'ordres.


== Tutorials and Tips ==
== Guies d'aprenentatge i consells ==


=== Idioma ===
=== Idioma ===


With '''Konsole''' you can change the language to plain English (to see bugs info for example) by command:
<div class="mw-translate-fuzzy">
{{Input|1=export LANG=C}}
Amb '''Konsole''' podeu canviar l'idioma a Anglès (per veure informació dels errors, per exemple) per a les ordres: {{Input|1=export LANG=C}}
</div>


=== Dreceres ===
=== Dreceres ===
Line 30: Line 32:
* ''Nova pestanya:'' <keycap>Maj. + Ctrl + T</keycap>.
* ''Nova pestanya:'' <keycap>Maj. + Ctrl + T</keycap>.


===Label your Tabs===
===Anomeneu les pestanyes===


[[Image:Konsole4_Rename_Tab.png|thumb|center|330px|Fer doble clic per canviar el nom de la pestanya]]
[[Image:Konsole4_Rename_Tab.png|thumb|center|330px|Fer doble clic per canviar el nom de la pestanya]]


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.
Si utilitzeu regularment moltes pestanyes, de vegades us resultarà més còmode etiquetar-les. Simplement feu doble clic a la pestanya i obtindreu un diàleg per reanomenar-la.


=== Gestió dels perfils ===
=== Gestió dels perfils ===


* To add a new profile go to <menuchoice>Settings -> Profile Management -> New Profile</menuchoice>
* Per afegir un nou perfil aneu a <menuchoice>Arranjament -> Gestiona els perfils -> Perfil nou</menuchoice>.
* On the <menuchoice>General</menuchoice> tab, enter the new profile name and change the icon if desired.
* Sobre la pestanya <menuchoice>General</menuchoice>, introduïu el nom del nou perfil i canvieu la icona si així ho voleu.
* If this is to be a ''root konsole'', enter the command <div style="margin-right:80px">{{Input|1=/bin/su -}}</div> :{{Tip|1=This command will not work on any distro that uses sudo (like Ubuntu). On such distributions use: {{Input|1=sudo su}}or just prepend all your commands that requires superuser privileges with sudo.}}
* Si serà una ''konsole d'administrador'', introduïu la següent ordre <code>/bin/su - </code>  
* Font size can also be changed on the <menuchoice>Appearance</menuchoice> tab.
 
  [[Image:Konsole4profile.png|thumb|center|330px|Editing a profile]]
{{Tip/ca|1=Aquesta ordre no funcionarà en cap distribució que utilitzi «sudo» (com Ubuntu). En aquestes distribucions utilitzeu: <br /><code>sudo su</code><br /> o simplement anteposeu «sudo» a totes les ordres que requereixin privilegis d'administrador.}}
* 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.
* La grandària del tipus de lletra també es pot canviar a la pestanya <menuchoice>Aparença</menuchoice>.
 
 
  <div class="mw-translate-fuzzy">
[[Image:Konsole4profile.png|thumb|center|330px|Editing a profile]]
* A la pantalla <menuchoice>Gestió de perfils</menuchoice> podeu afegir o llevar una marca, la qual farà que el perfil aparegui en el menú Fitxer.
</div>
 
=== 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 {{Path|.local/share/konsole/[name of profile]}} and adding:
 
{{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.
 
=== 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##*/}"}}


== Llocs relacionats ==
== Llocs relacionats ==


* [http://konsole.kde.org/ Pàgina d'inici]
* [http://konsole.kde.org/ Pàgina d'inici]
* [http://docs.kde.org/stable/ca/kdebase-apps/konsole/index.html Manual de Konsole]
* [http://forum.kde.org/viewforum.php?f=227 Fòrum de la comunitat]
* [http://docs.kde.org/stable/ca/applications/konsole/index.html Manual de Konsole]
 
<div class="mw-translate-fuzzy">
== Ajuda al desenvolupament ==
Si esteu interessat en col·laborar en el desenvolupament de Konsole, feu un cop d'ull a com [[Special:myLanguage/KonsoleDevelopment|ajudar a l'equip de Konsole]].
</div>


== 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]].


== Paraules clau ==
== Paraules clau ==


Terminal emulator, command line, CLI, shell
Emulador de terminal, línia d'ordres, CLI, shell


[[Category:Desktop]]
[[Category:Escriptori/ca]]
[[Category:System]]
[[Category:Sistema/ca]]

Latest revision as of 11:46, 4 August 2019

Konsole
Konsole és l'emulador de terminal per a la plataforma KDE

Descripció general de característiques

  • Emulador de terminal X
  • Utilitza la línia d'ordres fàcil
  • Utilitza perfils per a diferents tasques
  • Estableix el límit de l'historial i desa el contingut a un fitxer
  • Feu clic dret sobre els enllaços per obrir-los al navegador web predeterminat per l'usuari
  • Obre el camí actual al gestor de fitxers de l'usuari
  • Fons translúcid disponible quan els efectes d'escriptori estan habilitats
  • El valor únic de la variable d'entorn SHELL_SESSION_ID persisteix en totes les sessions d'escriptori

Konsole és un emulador de terminal X per a la plataforma KDE, permetent als usuaris tenir una manera convenient d'usar la línia d'ordres. A més de proporcionar una manera d'utilitzar una shell de gran abast, Konsole també ofereix característiques que el fan més fàcil o més agradable per treballar en la línia d'ordres, com la gestió de perfils, historial, i esquemes de color, inclosa la transparència dels efectes.

Konsole també ofereix una KPart incrustada que s'utilitza en aplicacions com ara Yakuake, Dolphin i Kate, donant als usuaris una interfície compatible i familiar quan es treballa en la línia d'ordres.

Guies d'aprenentatge i consells

Idioma

Amb Konsole podeu canviar l'idioma a Anglès (per veure informació dels errors, per exemple) per a les ordres:
export LANG=C

Dreceres

  • Canvia de pestanya: Maj. + Esquerre, Maj. + Dret (no com X-Chat, Firefox, Quanta, Kdevelop).

Nota

Quanta i Kdevelop utilitzen Alt + Esquerre, Alt + Dret. No obstant, Maj. + Direcció té l'avantatge de ser accessible amb una mà en pràcticament totes les disposicions de teclat, mentre que les tecles Alt de vegades només estan a l'esquerra del teclat (per exemple, a Alemanya).


  • Nova pestanya: Maj. + Ctrl + T.

Anomeneu les pestanyes

Fer doble clic per canviar el nom de la pestanya

Si utilitzeu regularment moltes pestanyes, de vegades us resultarà més còmode etiquetar-les. Simplement feu doble clic a la pestanya i obtindreu un diàleg per reanomenar-la.

Gestió dels perfils

  • Per afegir un nou perfil aneu a Arranjament -> Gestiona els perfils -> Perfil nou.
  • Sobre la pestanya General, introduïu el nom del nou perfil i canvieu la icona si així ho voleu.
  • Si serà una konsole d'administrador, introduïu la següent ordre /bin/su -

Consell

Aquesta ordre no funcionarà en cap distribució que utilitzi «sudo» (com Ubuntu). En aquestes distribucions utilitzeu:
sudo su
o simplement anteposeu «sudo» a totes les ordres que requereixin privilegis d'administrador.


  • La grandària del tipus de lletra també es pot canviar a la pestanya Aparença.


Editing a profile
  • A la pantalla Gestió de perfils podeu afegir o llevar una marca, la qual farà que el perfil aparegui en el menú Fitxer.

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##*/}"

Llocs relacionats

Ajuda al desenvolupament

Si esteu interessat en col·laborar en el desenvolupament de Konsole, feu un cop d'ull a com ajudar a l'equip de Konsole.

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

Paraules clau

Emulador de terminal, línia d'ordres, CLI, shell