https://wiki.archlinux.org/api.php?action=feedcontributions&user=C5OK5Y&feedformat=atomArchWiki - User contributions [en]2024-03-29T10:15:57ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=TeamSpeak&diff=248588TeamSpeak2013-02-26T21:32:06Z<p>C5OK5Y: /* First startup */ updating to reflect package changes</p>
<hr />
<div>{{DISPLAYTITLE:TeamSpeak}}<br />
[[Category:Sound]]<br />
{{Article summary start}}<br />
{{Article summary text|An introduction to [http://teamspeak.com/ TeamSpeak], covering installation and basic configuration of the client and server.}}<br />
{{Article summary end}}<br />
<br />
From [http://en.wikipedia.org/wiki/Teamspeak Wikipedia, the free encyclopedia]:<br />
<br />
:''TeamSpeak is a proprietary Voice over IP software that allows computer users to speak on a chat channel with fellow computer users, much like a telephone conference call.''<br />
<br />
== Installation ==<br />
<br />
===Install client===<br />
Install {{AUR|teamspeak3}}, available in the [[Arch User Repository]].<br />
<br />
===Install server===<br />
Install {{AUR|teamspeak3-server}}, available in the [[Arch User Repository]].<br />
<br />
== Configuration/Startup ==<br />
=== Client ===<br />
I do not use the Linux client, please feel free to expand this article at this point.<br />
<br />
=== Server ===<br />
==== Configuration ====<br />
* You can configure the TeamSpeak server via {{ic|/etc/conf.d/teamspeak3-server}} if you are using [[Initscripts]]. You can find all necessary explanations inside this file. If you are using [[Systemd]] please check {{ic|/usr/share/doc/teamspeak3-server/server_quickstart.txt}} for all available command line parameters.<br />
<br />
* If you possess a license file please copy it to {{ic|/var/lib/teamspeak3-server/licensekey.dat}}.<br />
<br />
==== First startup ====<br />
At the first startup TeamSpeak creates the SQLite database at {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and the first logfiles. At the same moment TeamSpeak creates the ServerQuery administration account (the superuser of all servers) and the first virtual server including a privilege key for the server administrator of this virtual server. The ServerQuery account is displayed only once on standard output. If you have already started your server and missed it you have to delete {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}} and clear {{ic|/var/log/teamspeak3-server/}} of all logfiles as described below.<br />
<br />
{{Warning|These steps delete your current configured TeamSpeak servers, your users, permissions and all settings.}}<br />
<br />
* Stop teamspeak3-server (see [[Daemon]]).<br />
<br />
* Remove {{ic|/var/lib/teamspeak3-server/ts3server.sqlitedb}}:<br />
{{bc|<br />
rm /var/lib/teamspeak3-server/ts3server.sqlitedb}}<br />
<br />
* Clear {{ic|/var/log/teamspeak3-server/}}:<br />
{{bc|<br />
rm /var/log/teamspeak3-server/*.log}}<br />
<br />
* Now you can run the server (as root):<br />
{{bc|<br />
<nowiki>su -s /bin/bash -l -c "/usr/bin/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/" teamspeak</nowiki>}}<br />
<br />
* You should see an output similar to this:<br />
{{hc|Example output|<br />
<nowiki>------------------------------------------------------------------<br />
I M P O R T A N T <br />
------------------------------------------------------------------<br />
Server Query Admin Acccount created <br />
loginname= "serveradmin", password= "password"<br />
------------------------------------------------------------------</nowiki>}}<br />
<br />
{{Note|Write down the password for the ServerQuery administrator!}}<br />
<br />
* You will also find the privilege key of the first virtual server in this output which can be used to gain administrative rights on this virtual server. But the key is also written to the logfile at {{ic|/var/log/teamspeak3-server/}} and you can see it in {{ic|<nowiki> journalctl -f --lines=50 </nowiki>}}<br />
<br />
* You can stop the server with this:<br />
{{bc|<br />
kill `pidof -o %PPID /usr/bin/teamspeak3-server`}}<br />
<br />
==== Regular startup ====<br />
Simply start teamspeak3-server (see [[Daemon]]).<br />
<br />
== External links ==<br />
* [http://www.teamspeak.com/?page=literature Official documentation]</div>C5OK5Yhttps://wiki.archlinux.org/index.php?title=Zsh&diff=247524Zsh2013-02-16T11:11:09Z<p>C5OK5Y: /* Key Bindings */ The previous form caused the following https://bbs.archlinux.org/viewtopic.php?id=151738 error.</p>
<hr />
<div>[[Category:Command shells]]<br />
[[cs:Zsh]]<br />
[[de:Zsh]]<br />
[[fr:Zsh]]<br />
[[zh-CN:Zsh]]<br />
[http://www.zsh.org Zsh] is a powerful shell that operates as both an interactive shell and as a scripting language interpreter. While being compatible with [[Bash]] (not by default, only if you issue "emulate sh"), it offers many advantages such as:<br />
<br />
*Faster<br />
*Improved tab completion<br />
*Improved globbing<br />
*Improved array handling<br />
*Fully customisable<br />
<br />
The Zsh FAQ offers [http://zsh.sourceforge.net/FAQ/zshfaq01.html#l4 more reasons] to use Zsh as your shell.<br />
<br />
==Installation==<br />
<br />
Before starting you may want to see what shell is currently being used:<br />
<br />
$ echo $SHELL<br />
<br />
[[pacman|Install]] the {{Pkg|zsh}} package available in the [[Official Repositories|official repositories]].<br />
<br />
===Initial configuration===<br />
<br />
Make sure that Zsh has been installed correctly by running the following in a terminal:<br />
<br />
$ zsh<br />
<br />
You should now see '''zsh-newuser-install''', which will walk you through some basic configuration. If you want to skip this, press {{Ic|q}}.<br />
<br />
===Making Zsh your default shell===<br />
<br />
If the shell is listed in {{ic|/etc/shells}} you can use the {{Ic|chsh}} command to change your default shell without root access. If you installed Zsh from the [[Official Repositories|official repositories]], it should already have an entry in {{ic|/etc/shells}}. <br />
<br />
Change the default shell for the current user:<br />
<br />
$ chsh -s $(which zsh)<br />
<br />
{{Note|You have to log out and log back in, in order to start using Zsh as your default shell.}}<br />
<br />
After logging back in, you should notice Zsh's prompt, which by default looks different from Bash's. However you can verify that Zsh is the current shell by issuing:<br />
<br />
$ echo $SHELL<br />
<br />
{{Tip|If you are replacing {{Pkg|bash}}, you may want to move some code from {{ic|~/.bashrc}} to {{ic|~/.zshrc}} (e.g. the prompt and the aliases) and from {{ic|~/.bash_profile}} to {{ic|~/.zprofile}} (e.g. [[Start X at Boot|the code that starts your X Window System]]).}}<br />
<br />
==Configuration files==<br />
At login, Zsh sources the following files in this order:<br />
;{{ic|~/.zshenv}}:This file should contain commands to set the command search path, plus other important environment variables; it should not contain commands that produce output or assume the shell is attached to a tty. <br />
;{{ic|/etc/profile}}:This file is sourced by all Bourne-compatible shells upon login: it sets up an environment upon login and application-specific ({{ic|/etc/profile.d/*.sh}}) settings. <br />
;{{ic|~/.zprofile}}:This file is generally used for automatic execution of user's scripts.<br />
;{{ic|~/.zshrc}}:This is Zsh's main configuration file.<br />
;{{ic|~/.zlogin}}:This file is generally used for automatic execution of user's scripts.<br />
<br />
At logout it sources '''{{ic|~/.zlogout}}''', which is used for automatic execution of user's scripts.<br />
<br />
{{Note|<br />
*The paths used in Arch's {{Pkg|zsh}} package are different from the default ones used in the man pages.<br />
*{{Ic|$ZDOTDIR}} defaults to {{Ic|$HOME}}<br />
*{{ic|/etc/profile}} is not a part of the regular list of startup files run for Zsh, but is sourced from {{ic|/etc/zsh/zprofile}} in the {{Pkg|zsh}} package. Users should take note that {{ic|/etc/profile}} sets the {{ic|$PATH}} variable which will overwrite any {{ic|$PATH}} variable set in {{ic|~/.zshenv}}. To prevent this, either replace the {{ic|/etc/zsh/zprofile}} file with your own, or set your {{ic|$PATH}} variable from {{ic|~/.zshrc}}.<br />
}}<br />
<br />
==~/.zshrc configuration==<br />
<br />
Although Zsh is usable out of the box, it is almost certainly not set up the way you would like to use it, but due to the sheer amount of customisation available in Zsh, configuring Zsh can be a daunting and time-consuming experience.<br />
<br />
Included below is a sample configuration file, it provides a decent set of default options as well as giving examples of many ways that Zsh can be customised. In order to use this configuration save it as a file named {{ic|.zshrc}}. You can then apply the changes without needing to logout and then back in by running:<br />
<br />
$ source ~/.zshrc<br />
<br />
===Simple .zshrc===<br />
<br />
Here is a simple {{ic|.zshrc}}, that should be sufficient to get you started:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U compinit promptinit<br />
compinit<br />
promptinit<br />
<br />
# This will set the default prompt to the walters theme<br />
prompt walters}}<br />
<br />
=== Command Completion ===<br />
Perhaps the most compelling feature of Zsh is its advanced autocompletion abilities. At the very least, you will want to enable autocompletion in your {{ic|.zshrc}}. To enable autocompletion, add the following to:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U compinit<br />
compinit}}<br />
<br />
The above configuration includes ssh/scp/sftp hostnames completion but in order for this feature to work you will need to prevent ssh from hashing hosts names in {{ic|~/.ssh/known_hosts}}.<br />
{{Warning|This makes your computer vulnerable to [http://nms.lcs.mit.edu/projects/ssh/README.hashed-hosts "Island-hopping" attacks]. In that intention, comment the following line or set the value to {{ıc|no}}:<br />
{{hc|/etc/ssh/ssh_config|<br />
#HashKnownHosts yes}}<br />
And move your {{ic|~/.ssh/known_hosts}} somewhere else so that ssh creates a new one with un-hashed hostnames (previously known hosts will thus be lost).<br />
}}<br />
<br />
For autocompletion with an arrow-key driven interface, add the following to:<br />
{{hc|~/.zshrc|<br />
zstyle ':completion:*' menu select}}<br />
:''To activate the menu, press tab twice.''<br />
<br />
For autocompletion of command line switches for aliases, add the following to:<br />
{{hc|~/.zshrc|<br />
setopt completealiases}}<br />
<br />
=== Key Bindings ===<br />
Zsh does not use readline, instead it uses its own and more powerful zle. It does not read {{ic|/etc/inputrc}} or {{ic|~/.inputrc}}.<br />
zle has an [[emacs]] mode and a [[vi]] mode. By default, it tries to guess whether you want emacs or vi keys from the {{ic|$EDITOR}} environment variable. If it is empty, it will default to emacs. You can change this with {{ic|bindkey -v}} or {{ic|bindkey -e}}.<br />
<br />
To get some special keys working:<br />
{{hc|~/.zshrc|2=<br />
# create a zkbd compatible hash;<br />
# to add other keys to this hash, see: man 5 terminfo<br />
typeset -A key<br />
<br />
key[Home]=${terminfo[khome]}<br />
<br />
key[End]=${terminfo[kend]}<br />
key[Insert]=${terminfo[kich1]}<br />
key[Delete]=${terminfo[kdch1]}<br />
key[Up]=${terminfo[kcuu1]}<br />
key[Down]=${terminfo[kcud1]}<br />
key[Left]=${terminfo[kcub1]}<br />
key[Right]=${terminfo[kcuf1]}<br />
key[PageUp]=${terminfo[kpp]}<br />
key[PageDown]=${terminfo[knp]}<br />
<br />
# setup key accordingly<br />
[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line<br />
[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line<br />
[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode<br />
[[ -n "${key[Delete]}" ]] && bindkey "${key[Delete]}" delete-char<br />
[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history<br />
[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history<br />
[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char<br />
[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char<br />
<br />
# Finally, make sure the terminal is in application mode, when zle is<br />
# active. Only then are the values from $terminfo valid.<br />
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then<br />
function zle-line-init () {<br />
printf '%s' ${terminfo[smkx]}<br />
}<br />
function zle-line-finish () {<br />
printf '%s' ${terminfo[rmkx]}<br />
}<br />
zle -N zle-line-init<br />
zle -N zle-line-finish<br />
fi<br />
}}<br />
<br />
{{Note|To get the proper sequences for certain key combinations, start {{Ic|cat}} or {{Ic|read}} without any parameters and press them; they should then be printed in the terminal. Both can be closed again via {{Keypress|Ctrl+C}}.}}<br />
<br />
===History search===<br />
You can add these lines to your .zshrc<br />
<br />
{{hc|~/.zshrc|<nowiki><br />
[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward<br />
[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward<br />
</nowiki>}}<br />
<br />
Doing this, only past commands beginning with the current input would have been shown.<br />
<br />
===Prompts===<br />
<br />
There is a quick and easy way to set up a colored prompt in Zsh. Make sure that prompt is set to autoload in your {{ic|.zshrc}}. This can be done by adding these lines to:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U promptinit<br />
promptinit<br />
}}<br />
<br />
You can now see available prompts by running the command:<br />
<br />
$ prompt -l<br />
<br />
To try one of the commands that is listed, use the command prompt followed by the name of the prompt you like. For example, to use the {{ic|walters}} prompt, you would enter:<br />
<br />
$ prompt walters<br />
<br />
===Customizing your prompt===<br />
<br />
In case you are dissatisfied with the prompts mentioned above(or want to expand their usefulness), zsh offers the possibility to build your own custom prompt. Zsh supports a left- and right-sided prompt additional to the single, left-sided prompt that is common to all shells. You can customize it by using {{ic|1=PROMPT=}} with the following variables:<br />
<br />
====Prompt variables====<br />
=====General=====<br />
; %n : The username<br />
; %m : The computer's hostname(truncated to the first period)<br />
; %M : The computer's hostname<br />
; %l : The current tty<br />
; %? : The return code of the last-run application.<br />
; %# : The prompt based on user privileges ({{Ic|#}} for root and {{Ic|%}} for the rest)<br />
<br />
=====Times=====<br />
; %T : System time(HH:MM)<br />
; %* : System time(HH:MM:SS)<br />
; %D : System date(YY-MM-DD)<br />
<br />
=====Directories=====<br />
; %~ : The current working directory. If you are in you are in your {{ic|$HOME}}, this will be replaced by {{ic|~}}.<br />
; %d : The current working directory.<br />
<br />
For the options mentioned above: You can prefix an integer to show only certain parts of your working path. If you entered {{Ic|%1d}} and found yourself in {{Ic|/usr/bin}} it would show {{Ic|bin}}. This can also be done with negative integers:<br />
{{Ic|%-1d}} using the same directory as above would show {{Ic|/}}.<br />
<br />
=====Formatting=====<br />
; %U [...] %u : Begin and end underlined print<br />
; %B [...] %b : Begin and end bold print<br />
; %{ [...] %} : Begin and enter area that will not be printed. Useful for setting colors.<br />
:In fact, this tag forces Zsh to ignore anything inside them when making indents for the prompt as well.<br />
:As such, not to use it can have some weird effects on the margins and indentation of the prompt.<br />
<br />
=====Colors=====<br />
Zsh has a different approach to setting colors on the terminal than the one depicted [https://wiki.archlinux.org/index.php/Color_Bash_Prompt here]. First you write in your {{Ic|.zshrc}}:<br />
autoload -U colors && colors<br />
<br />
Following commands would now produce the color escape sequence needed to set the requested color when the prompt is printed:<br />
; $fg[color] : will set the text color (red, green, blue, etc. - defaults to bold)<br />
; $fg_no_bold[color]: will set the non-bold text color<br />
; $fg_bold[color]: will set the bold text color <br />
; $reset_color : will reset the text color to white<br />
It is useful to put these color commands inside {{Ic|%{ [...] %} }}, so the shell knows there is no output from these sequences and the cursor hasn't moved.<br />
<br />
;Possible color values<br />
{| border="1"<br />
|-<br />
|black || red<br />
|-<br />
|green || yellow<br />
|-<br />
|blue || magenta<br />
|-<br />
|cyan || white<br />
|-<br />
|}<br />
Note that bold text doesn't necessarily use the same colors as normal text. For example, $fg['yellow'] looks brown or a very dark yellow, while $fg_no_bold['yellow'] looks like bright or regular yellow.<br />
<br />
====Example====<br />
To have a two-sided prompt you could write:<br />
PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~ %{$reset_color%}%#"<br />
RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]"<br />
<br />
It would equal(without colors):<br />
username@host ~ % [0]<br />
<br />
===Sample .zshrc files===<br />
<br />
Here is a list of {{ic|.zshrc}} files. Feel free to add your own:<br />
<br />
* [https://github.com/robbyrussell/oh-my-zsh Oh-my-zsh Plugin and Theme system for Zsh] can help you manage your zshrc file and has a huge community of over 2000 forks on github;<br />
* Basic setup, with dynamic prompt and window title/hardinfo => http://github.com/MrElendig/dotfiles-alice/blob/master/.zshrc;<br />
* An Arch package named [https://www.archlinux.org/packages/extra/any/grml-zsh-config/ grml-zsh-config] comes from http://grml.org/zsh and provides a zshrc file that includes many tweaks for your zshell.<br />
* https://github.com/slashbeast/things/blob/master/configs/DOTzshrc - zshrc with multiple features, be sure to check out comments into it. Notable features: confirm function to ensure that user wnat to run poweroff, reboot or hibernate, support for GIT in prompt (done without vcsinfo), tab completion with menu, printing current executed command into window's title bar and more.<br />
<br />
==Global configuration==<br />
Occasionally you might want to have some settings applied globally to all zsh users. The zsh wiki tells us that there are some global configuration files, for example {{ic|/etc/zshrc}}. This however is slightly different on ArchLinux, since it has been compiled with flags specifically to target {{ic|/etc/zsh/}} instead.<br />
<br />
So, for global configuration use {{ic|/etc/zsh/zshrc}}, not {{ic|/etc/zshrc}}. The same goes for {{ic|/etc/zsh/zshenv}}, {{ic|/etc/zsh/zlogin}} and {{ic|/etc/zsh/zlogout}}. Note that these files are not installed by default, so you need to create them yourself if you want to use them.<br />
<br />
The only exception is zprofile, use {{ic|/etc/profile}} instead.<br />
<br />
===Autostarting applications===<br />
Zsh always executes {{ic|/etc/zsh/zshenv}} and {{ic|$ZDOTDIR/.zshenv}} so do not bloat these files.<br />
<br />
If the shell is a login shell, commands are read from {{ic|/etc/profile}} and then {{ic|$ZDOTDIR/.zprofile}}. Then, if the shell is interactive, commands are read from {{ic|/etc/zsh/zshrc}} and then {{ic|$ZDOTDIR/.zshrc}}. Finally, if the shell is a login shell, {{ic|/etc/zsh/zlogin}} and {{ic|$ZDOTDIR/.zlogin}} are read.<br />
<br />
==Uninstallation==<br />
If you decide that Zsh is not the shell for you and you want to return to Bash, you must first change your default shell back to Bash, before removing the Zsh package.<br />
<br />
Follow, [[Zsh#Making Zsh your default shell]] to change the default shell back to Bash, just replace zsh with bash.<br />
<br />
Now you can safely remove the Zsh package.<br />
<br />
{{Warning| Failure to follow the above will result in all kinds of problems.}}<br />
<br />
If you did not follow the above, you can still change the default shell back to Bash by editing {{ic|/etc/passwd}} as root. <br />
<br />
{{Warning| It is '''strongly''' recommended to use vipw when editing user information as it prevents badly formatted entries.}}<br />
<br />
For example: <br />
<br />
from:<br />
username:x:1000:1000:Full Name,,,:/home/username:/bin/zsh<br />
to:<br />
username:x:1000:1000:Full Name,,,:/home/username:/bin/bash<br />
<br />
==See also==<br />
*[http://zsh.sourceforge.net/Intro/intro_1.html#SEC1 Zsh Introduction]<br />
*[http://zsh.sourceforge.net/Guide/zshguide.html Users Guide]<br />
*[http://zsh.sourceforge.net/Doc/Release/index-frame.html Zsh Docs] (you can choose a different format for the doc in http://zsh.sourceforge.net/Doc/)<br />
*[http://zsh.sourceforge.net/FAQ/zshfaq01.html Zsh FAQ]<br />
*[http://zshwiki.org/home/ Zsh Wiki]<br />
*[http://grml.org/zsh/zsh-lovers.html Zsh-lovers]<br />
*[http://www.bash2zsh.com/zsh_refcard/refcard.pdf Bash2Zsh Reference Card]<br />
*[https://github.com/robbyrussell/oh-my-zsh Oh My Zshell by Robby Russell] <br />
*[http://www.gentoo.org/doc/en/zsh.xml Gentoo Linux Documentation -- zsh Configuration and Installation Guide]<br />
*[http://my.opera.com/blackbelt_jones/blog/2007/06/05/zsh-prompt-configuration-issue-solved Setting up the zsh prompt]<br />
<br />
*'''IRC channel''': #zsh at irc.freenode.org</div>C5OK5Yhttps://wiki.archlinux.org/index.php?title=Zsh&diff=247523Zsh2013-02-16T11:06:38Z<p>C5OK5Y: /* History search */ Add missing quotes.</p>
<hr />
<div>[[Category:Command shells]]<br />
[[cs:Zsh]]<br />
[[de:Zsh]]<br />
[[fr:Zsh]]<br />
[[zh-CN:Zsh]]<br />
[http://www.zsh.org Zsh] is a powerful shell that operates as both an interactive shell and as a scripting language interpreter. While being compatible with [[Bash]] (not by default, only if you issue "emulate sh"), it offers many advantages such as:<br />
<br />
*Faster<br />
*Improved tab completion<br />
*Improved globbing<br />
*Improved array handling<br />
*Fully customisable<br />
<br />
The Zsh FAQ offers [http://zsh.sourceforge.net/FAQ/zshfaq01.html#l4 more reasons] to use Zsh as your shell.<br />
<br />
==Installation==<br />
<br />
Before starting you may want to see what shell is currently being used:<br />
<br />
$ echo $SHELL<br />
<br />
[[pacman|Install]] the {{Pkg|zsh}} package available in the [[Official Repositories|official repositories]].<br />
<br />
===Initial configuration===<br />
<br />
Make sure that Zsh has been installed correctly by running the following in a terminal:<br />
<br />
$ zsh<br />
<br />
You should now see '''zsh-newuser-install''', which will walk you through some basic configuration. If you want to skip this, press {{Ic|q}}.<br />
<br />
===Making Zsh your default shell===<br />
<br />
If the shell is listed in {{ic|/etc/shells}} you can use the {{Ic|chsh}} command to change your default shell without root access. If you installed Zsh from the [[Official Repositories|official repositories]], it should already have an entry in {{ic|/etc/shells}}. <br />
<br />
Change the default shell for the current user:<br />
<br />
$ chsh -s $(which zsh)<br />
<br />
{{Note|You have to log out and log back in, in order to start using Zsh as your default shell.}}<br />
<br />
After logging back in, you should notice Zsh's prompt, which by default looks different from Bash's. However you can verify that Zsh is the current shell by issuing:<br />
<br />
$ echo $SHELL<br />
<br />
{{Tip|If you are replacing {{Pkg|bash}}, you may want to move some code from {{ic|~/.bashrc}} to {{ic|~/.zshrc}} (e.g. the prompt and the aliases) and from {{ic|~/.bash_profile}} to {{ic|~/.zprofile}} (e.g. [[Start X at Boot|the code that starts your X Window System]]).}}<br />
<br />
==Configuration files==<br />
At login, Zsh sources the following files in this order:<br />
;{{ic|~/.zshenv}}:This file should contain commands to set the command search path, plus other important environment variables; it should not contain commands that produce output or assume the shell is attached to a tty. <br />
;{{ic|/etc/profile}}:This file is sourced by all Bourne-compatible shells upon login: it sets up an environment upon login and application-specific ({{ic|/etc/profile.d/*.sh}}) settings. <br />
;{{ic|~/.zprofile}}:This file is generally used for automatic execution of user's scripts.<br />
;{{ic|~/.zshrc}}:This is Zsh's main configuration file.<br />
;{{ic|~/.zlogin}}:This file is generally used for automatic execution of user's scripts.<br />
<br />
At logout it sources '''{{ic|~/.zlogout}}''', which is used for automatic execution of user's scripts.<br />
<br />
{{Note|<br />
*The paths used in Arch's {{Pkg|zsh}} package are different from the default ones used in the man pages.<br />
*{{Ic|$ZDOTDIR}} defaults to {{Ic|$HOME}}<br />
*{{ic|/etc/profile}} is not a part of the regular list of startup files run for Zsh, but is sourced from {{ic|/etc/zsh/zprofile}} in the {{Pkg|zsh}} package. Users should take note that {{ic|/etc/profile}} sets the {{ic|$PATH}} variable which will overwrite any {{ic|$PATH}} variable set in {{ic|~/.zshenv}}. To prevent this, either replace the {{ic|/etc/zsh/zprofile}} file with your own, or set your {{ic|$PATH}} variable from {{ic|~/.zshrc}}.<br />
}}<br />
<br />
==~/.zshrc configuration==<br />
<br />
Although Zsh is usable out of the box, it is almost certainly not set up the way you would like to use it, but due to the sheer amount of customisation available in Zsh, configuring Zsh can be a daunting and time-consuming experience.<br />
<br />
Included below is a sample configuration file, it provides a decent set of default options as well as giving examples of many ways that Zsh can be customised. In order to use this configuration save it as a file named {{ic|.zshrc}}. You can then apply the changes without needing to logout and then back in by running:<br />
<br />
$ source ~/.zshrc<br />
<br />
===Simple .zshrc===<br />
<br />
Here is a simple {{ic|.zshrc}}, that should be sufficient to get you started:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U compinit promptinit<br />
compinit<br />
promptinit<br />
<br />
# This will set the default prompt to the walters theme<br />
prompt walters}}<br />
<br />
=== Command Completion ===<br />
Perhaps the most compelling feature of Zsh is its advanced autocompletion abilities. At the very least, you will want to enable autocompletion in your {{ic|.zshrc}}. To enable autocompletion, add the following to:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U compinit<br />
compinit}}<br />
<br />
The above configuration includes ssh/scp/sftp hostnames completion but in order for this feature to work you will need to prevent ssh from hashing hosts names in {{ic|~/.ssh/known_hosts}}.<br />
{{Warning|This makes your computer vulnerable to [http://nms.lcs.mit.edu/projects/ssh/README.hashed-hosts "Island-hopping" attacks]. In that intention, comment the following line or set the value to {{ıc|no}}:<br />
{{hc|/etc/ssh/ssh_config|<br />
#HashKnownHosts yes}}<br />
And move your {{ic|~/.ssh/known_hosts}} somewhere else so that ssh creates a new one with un-hashed hostnames (previously known hosts will thus be lost).<br />
}}<br />
<br />
For autocompletion with an arrow-key driven interface, add the following to:<br />
{{hc|~/.zshrc|<br />
zstyle ':completion:*' menu select}}<br />
:''To activate the menu, press tab twice.''<br />
<br />
For autocompletion of command line switches for aliases, add the following to:<br />
{{hc|~/.zshrc|<br />
setopt completealiases}}<br />
<br />
=== Key Bindings ===<br />
Zsh does not use readline, instead it uses its own and more powerful zle. It does not read {{ic|/etc/inputrc}} or {{ic|~/.inputrc}}.<br />
zle has an [[emacs]] mode and a [[vi]] mode. By default, it tries to guess whether you want emacs or vi keys from the {{ic|$EDITOR}} environment variable. If it is empty, it will default to emacs. You can change this with {{ic|bindkey -v}} or {{ic|bindkey -e}}.<br />
<br />
To get some special keys working:<br />
{{hc|~/.zshrc|2=<br />
# create a zkbd compatible hash;<br />
# to add other keys to this hash, see: man 5 terminfo<br />
typeset -A key<br />
<br />
key[Home]=${terminfo[khome]}<br />
<br />
key[End]=${terminfo[kend]}<br />
key[Insert]=${terminfo[kich1]}<br />
key[Delete]=${terminfo[kdch1]}<br />
key[Up]=${terminfo[kcuu1]}<br />
key[Down]=${terminfo[kcud1]}<br />
key[Left]=${terminfo[kcub1]}<br />
key[Right]=${terminfo[kcuf1]}<br />
key[PageUp]=${terminfo[kpp]}<br />
key[PageDown]=${terminfo[knp]}<br />
<br />
# setup key accordingly<br />
[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line<br />
[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line<br />
[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode<br />
[[ -n "${key[Delete]}" ]] && bindkey "${key[Delete]}" delete-char<br />
[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history<br />
[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history<br />
[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char<br />
[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char<br />
<br />
# Finally, make sure the terminal is in application mode, when zle is<br />
# active. Only then are the values from $terminfo valid.<br />
<br />
function zle-line-init () {<br />
echoti smkx<br />
}<br />
function zle-line-finish () {<br />
echoti rmkx<br />
}<br />
<br />
zle -N zle-line-init<br />
zle -N zle-line-finish<br />
}}<br />
<br />
{{Note|To get the proper sequences for certain key combinations, start {{Ic|cat}} or {{Ic|read}} without any parameters and press them; they should then be printed in the terminal. Both can be closed again via {{Keypress|Ctrl+C}}.}}<br />
<br />
===History search===<br />
You can add these lines to your .zshrc<br />
<br />
{{hc|~/.zshrc|<nowiki><br />
[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward<br />
[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward<br />
</nowiki>}}<br />
<br />
Doing this, only past commands beginning with the current input would have been shown.<br />
<br />
===Prompts===<br />
<br />
There is a quick and easy way to set up a colored prompt in Zsh. Make sure that prompt is set to autoload in your {{ic|.zshrc}}. This can be done by adding these lines to:<br />
<br />
{{hc|~/.zshrc|<br />
autoload -U promptinit<br />
promptinit<br />
}}<br />
<br />
You can now see available prompts by running the command:<br />
<br />
$ prompt -l<br />
<br />
To try one of the commands that is listed, use the command prompt followed by the name of the prompt you like. For example, to use the {{ic|walters}} prompt, you would enter:<br />
<br />
$ prompt walters<br />
<br />
===Customizing your prompt===<br />
<br />
In case you are dissatisfied with the prompts mentioned above(or want to expand their usefulness), zsh offers the possibility to build your own custom prompt. Zsh supports a left- and right-sided prompt additional to the single, left-sided prompt that is common to all shells. You can customize it by using {{ic|1=PROMPT=}} with the following variables:<br />
<br />
====Prompt variables====<br />
=====General=====<br />
; %n : The username<br />
; %m : The computer's hostname(truncated to the first period)<br />
; %M : The computer's hostname<br />
; %l : The current tty<br />
; %? : The return code of the last-run application.<br />
; %# : The prompt based on user privileges ({{Ic|#}} for root and {{Ic|%}} for the rest)<br />
<br />
=====Times=====<br />
; %T : System time(HH:MM)<br />
; %* : System time(HH:MM:SS)<br />
; %D : System date(YY-MM-DD)<br />
<br />
=====Directories=====<br />
; %~ : The current working directory. If you are in you are in your {{ic|$HOME}}, this will be replaced by {{ic|~}}.<br />
; %d : The current working directory.<br />
<br />
For the options mentioned above: You can prefix an integer to show only certain parts of your working path. If you entered {{Ic|%1d}} and found yourself in {{Ic|/usr/bin}} it would show {{Ic|bin}}. This can also be done with negative integers:<br />
{{Ic|%-1d}} using the same directory as above would show {{Ic|/}}.<br />
<br />
=====Formatting=====<br />
; %U [...] %u : Begin and end underlined print<br />
; %B [...] %b : Begin and end bold print<br />
; %{ [...] %} : Begin and enter area that will not be printed. Useful for setting colors.<br />
:In fact, this tag forces Zsh to ignore anything inside them when making indents for the prompt as well.<br />
:As such, not to use it can have some weird effects on the margins and indentation of the prompt.<br />
<br />
=====Colors=====<br />
Zsh has a different approach to setting colors on the terminal than the one depicted [https://wiki.archlinux.org/index.php/Color_Bash_Prompt here]. First you write in your {{Ic|.zshrc}}:<br />
autoload -U colors && colors<br />
<br />
Following commands would now produce the color escape sequence needed to set the requested color when the prompt is printed:<br />
; $fg[color] : will set the text color (red, green, blue, etc. - defaults to bold)<br />
; $fg_no_bold[color]: will set the non-bold text color<br />
; $fg_bold[color]: will set the bold text color <br />
; $reset_color : will reset the text color to white<br />
It is useful to put these color commands inside {{Ic|%{ [...] %} }}, so the shell knows there is no output from these sequences and the cursor hasn't moved.<br />
<br />
;Possible color values<br />
{| border="1"<br />
|-<br />
|black || red<br />
|-<br />
|green || yellow<br />
|-<br />
|blue || magenta<br />
|-<br />
|cyan || white<br />
|-<br />
|}<br />
Note that bold text doesn't necessarily use the same colors as normal text. For example, $fg['yellow'] looks brown or a very dark yellow, while $fg_no_bold['yellow'] looks like bright or regular yellow.<br />
<br />
====Example====<br />
To have a two-sided prompt you could write:<br />
PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~ %{$reset_color%}%#"<br />
RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]"<br />
<br />
It would equal(without colors):<br />
username@host ~ % [0]<br />
<br />
===Sample .zshrc files===<br />
<br />
Here is a list of {{ic|.zshrc}} files. Feel free to add your own:<br />
<br />
* [https://github.com/robbyrussell/oh-my-zsh Oh-my-zsh Plugin and Theme system for Zsh] can help you manage your zshrc file and has a huge community of over 2000 forks on github;<br />
* Basic setup, with dynamic prompt and window title/hardinfo => http://github.com/MrElendig/dotfiles-alice/blob/master/.zshrc;<br />
* An Arch package named [https://www.archlinux.org/packages/extra/any/grml-zsh-config/ grml-zsh-config] comes from http://grml.org/zsh and provides a zshrc file that includes many tweaks for your zshell.<br />
* https://github.com/slashbeast/things/blob/master/configs/DOTzshrc - zshrc with multiple features, be sure to check out comments into it. Notable features: confirm function to ensure that user wnat to run poweroff, reboot or hibernate, support for GIT in prompt (done without vcsinfo), tab completion with menu, printing current executed command into window's title bar and more.<br />
<br />
==Global configuration==<br />
Occasionally you might want to have some settings applied globally to all zsh users. The zsh wiki tells us that there are some global configuration files, for example {{ic|/etc/zshrc}}. This however is slightly different on ArchLinux, since it has been compiled with flags specifically to target {{ic|/etc/zsh/}} instead.<br />
<br />
So, for global configuration use {{ic|/etc/zsh/zshrc}}, not {{ic|/etc/zshrc}}. The same goes for {{ic|/etc/zsh/zshenv}}, {{ic|/etc/zsh/zlogin}} and {{ic|/etc/zsh/zlogout}}. Note that these files are not installed by default, so you need to create them yourself if you want to use them.<br />
<br />
The only exception is zprofile, use {{ic|/etc/profile}} instead.<br />
<br />
===Autostarting applications===<br />
Zsh always executes {{ic|/etc/zsh/zshenv}} and {{ic|$ZDOTDIR/.zshenv}} so do not bloat these files.<br />
<br />
If the shell is a login shell, commands are read from {{ic|/etc/profile}} and then {{ic|$ZDOTDIR/.zprofile}}. Then, if the shell is interactive, commands are read from {{ic|/etc/zsh/zshrc}} and then {{ic|$ZDOTDIR/.zshrc}}. Finally, if the shell is a login shell, {{ic|/etc/zsh/zlogin}} and {{ic|$ZDOTDIR/.zlogin}} are read.<br />
<br />
==Uninstallation==<br />
If you decide that Zsh is not the shell for you and you want to return to Bash, you must first change your default shell back to Bash, before removing the Zsh package.<br />
<br />
Follow, [[Zsh#Making Zsh your default shell]] to change the default shell back to Bash, just replace zsh with bash.<br />
<br />
Now you can safely remove the Zsh package.<br />
<br />
{{Warning| Failure to follow the above will result in all kinds of problems.}}<br />
<br />
If you did not follow the above, you can still change the default shell back to Bash by editing {{ic|/etc/passwd}} as root. <br />
<br />
{{Warning| It is '''strongly''' recommended to use vipw when editing user information as it prevents badly formatted entries.}}<br />
<br />
For example: <br />
<br />
from:<br />
username:x:1000:1000:Full Name,,,:/home/username:/bin/zsh<br />
to:<br />
username:x:1000:1000:Full Name,,,:/home/username:/bin/bash<br />
<br />
==See also==<br />
*[http://zsh.sourceforge.net/Intro/intro_1.html#SEC1 Zsh Introduction]<br />
*[http://zsh.sourceforge.net/Guide/zshguide.html Users Guide]<br />
*[http://zsh.sourceforge.net/Doc/Release/index-frame.html Zsh Docs] (you can choose a different format for the doc in http://zsh.sourceforge.net/Doc/)<br />
*[http://zsh.sourceforge.net/FAQ/zshfaq01.html Zsh FAQ]<br />
*[http://zshwiki.org/home/ Zsh Wiki]<br />
*[http://grml.org/zsh/zsh-lovers.html Zsh-lovers]<br />
*[http://www.bash2zsh.com/zsh_refcard/refcard.pdf Bash2Zsh Reference Card]<br />
*[https://github.com/robbyrussell/oh-my-zsh Oh My Zshell by Robby Russell] <br />
*[http://www.gentoo.org/doc/en/zsh.xml Gentoo Linux Documentation -- zsh Configuration and Installation Guide]<br />
*[http://my.opera.com/blackbelt_jones/blog/2007/06/05/zsh-prompt-configuration-issue-solved Setting up the zsh prompt]<br />
<br />
*'''IRC channel''': #zsh at irc.freenode.org</div>C5OK5Yhttps://wiki.archlinux.org/index.php?title=Help:I18n_(%C4%8Ce%C5%A1tina)&diff=132913Help:I18n (Čeština)2011-03-05T22:07:06Z<p>C5OK5Y: Dopřeložení.</p>
<hr />
<div>[[Category:ArchWiki Help (Česky)]] {{DISPLAYTITLE:Help:i18n}}<br />
{{i18n|Help:i18n}}<br />
Tento článek slouží jako zevrubná příručka pro [http://cs.wikipedia.org/wiki/Internacionalizace_a_lokalizace internacionalizaci a lokalizaci] ArchWiki.<br />
<br />
Viz též: [[Arch Around the World|Arch Around the World (anglicky)]]<br />
<br />
==Pokyny==<br />
{{Note|1=Následující pokyny se vztahují ke článkům na ''anglické'' ArchWiki. Viz [http://bbs.archlinux.org/viewtopic.php?id=95360 International Wikis (2010 edition) (anglicky)] pro poslední diskuzi ohledně nové ''implementace interwiki.''}}<br />
<br />
===Názvy článků===<br />
Názvy neanglických článků by měly být ve stylu '''Název v angličtině (Jazyk)''', kde "Jazyk" je lokalizovaný zápis jména daného jazyku. Ku příkladu: '''Beginners' Guide (Français)'''. Anglické názvy by označení jazyka uvádět neměly. Vizte [[#Jazyky]] pro seznam jazyků a očekávaných lokalizovaných zápisů.<br />
<br />
Zdůvodnění:<br />
<br />
* Anglické nadpisy usnadňují správu; všichni [[ContactList|admini]] umí anglicky, ale nemusí umět žádný jiný jazyk. Při procházení [[Special:RecentChanges]] a jiných zvláštních stránek, admini musí vědět co se edituje bez pomoci programů třetích stran pro překládání textu.<br />
* Jednotné nadpisy článků zjednodušují mezijazykové odkazování a dovolují tvorbu mezinárodních šablon jako například [[Template:i18n]].<br />
<br />
===Lokalizovaná přesměrování===<br />
Lokalizované názvy mohou a měly by být vytvářeny. Musí však přesměrovávat na článek pojmenovaný výše popsaným způsobem. Název přesměrovávacích článků nemusí obsahovat označení jazyka. Na příklad: '''Manuel du débutant''' přesměrovává na '''Beginners' Guide (Français)'''.<br />
<br />
Zdůvodnění:<br />
<br />
* Lokalizované nadpisy usnadňují pohyb mezinárodním čtenářům. Jak interní vyhledávač, tak i vyhledávače třetích stran mohou využít těchto přesměrování.<br />
* Užitečná přesměrování zjednodušují vnitřní odkazování.<br />
<br />
===Mezijazykové odkazy===<br />
V každém článku by měla být přítomná šablona [[Template:i18n]], aby se tak zobrazil seznam dostupných překladů. To provedete vložením následujícího textu na začátek článku:<br />
<br />
<nowiki>{{i18n|Název v angličtině}}</nowiki><br />
<br />
Vizte [[Template:i18n]] pro detailní instrukce pro použití. Tato nová šablona nahrazuje předchozí systém sestávající se z [[Template:i18n links start]], [[Template:i18n entry]] a [[Template:i18n links end]].<br />
<br />
Zdůvodnění:<br />
<br />
* Správa samostatných mezijazykových odkazů pro každý překlad je nereálná a náchylná k chybování. [[Template:i18n]] umožňuje použití jednotných nadpisů článků popsaných výše pro vygenerování úplného a jednotného seznamu pro všechny překlady.<br />
* Zahrnutí mezijazykových odkazů na začátku článku dovolí mezinárodním čtenářům okamžitě určit zda je obsah dostupný v jejich jazyce a podobně pomáhá překladatelům zjistit zda článek potřebuje přeložit.<br />
<br />
==Jazyky==<br />
<br />
Následující tabulka vypisuje všechny jazyky zahrnuté na wiki spolu se souvisejícími odkazy.<br />
<br />
Pro informace ohledně kódu, vizte:<br />
<br />
* http://www.iana.org/assignments/language-subtag-registry<br />
* http://tools.ietf.org/rfc/bcp/bcp47.txt<br />
* http://rishida.net/utils/subtags/<br />
<br />
{| class="sortable" border="1"<br />
|+ Tabulka jazyků<br />
! Anglicky !! Lokalizované !! Kód !! Kategorie !! Vnější wiki<br />
|-<br />
| Bulgarian || Български || bg || [[:Category:Български]]<br />
|-<br />
| Chinese (Simplified) || 简体中文 || zh-CN || [[:Category:简体中文]]<br />
|-<br />
| Chinese (Traditional) || 正體中文 || zh-TW || [[:Category:正體中文]]<br />
|-<br />
| Czech || Česky || cs || [[:Category:Česky]]<br />
|-<br />
| Danish || Dansk || da || [[:Category:Dansk]]<br />
|-<br />
| Dutch || Nederlands || nl || [[:Category:Nederlands]]<br />
|-<br />
| English || English || en || [[:Category:English]]<br />
|-<br />
| Finnish || Suomi || fi || [[:Category:Suomi]]<br />
|-<br />
| French || Français || fr || [[:Category:Français]] || http://wiki.archlinux.fr/<br />
|-<br />
| German || Deutsch || de || &mdash; || https://wiki.archlinux.de/<br />
|-<br />
| Greek || Ελληνικά || el || [[:Category:Ελληνικά]]<br />
|-<br />
| Hebrew || עברית || he || [[:Category:עברית]] || http://wiki.archlinux.org.il/<br />
|-<br />
| Hungarian || Magyar || hu || [[:Category:Magyar]]<br />
|-<br />
| Indonesian || Indonesia (Bahasa Indonesia) || id || [[:Category:Indonesia]]<br />
|-<br />
| Italian || Italiano || it || [[:Category:Italiano]]<br />
|-<br />
| Japanese || 日本語 || ja || [[:Category:日本語]]<br />
|-<br />
| Korean || 한국어 || ko || [[:Category:한국어]]<br />
|-<br />
| Lithuanian || Lietuviškai || lt || [[:Category:Lietuviškai]]<br />
|-<br />
| Polish || Polski || pl || [[:Category:Polski]] || http://wiki.archlinux.pl/<br />
|-<br />
| Portuguese || Português || pt || [[:Category:Português]] || http://wiki.archlinux-br.org/<br />
|-<br />
| Romanian || Română || ro || [[:Category:Română]] || http://wiki.archlinux.ro/<br />
|-<br />
| Russian || Русский || ru || [[:Category:Русский]]<br />
|-<br />
| Serbian || Српски (Srpski) || sr || [[:Category:Српски]]<br />
|-<br />
| Slovak || Slovenský || sk || [[:Category:Slovenský]]<br />
|-<br />
| Spanish || Español || es || [[:Category:Español]] || http://www.archlinux-es.org/wiki/ http://wiki.archlinux.cl/<br />
|-<br />
| Swedish || Svenska || sv || [[:Category:Svenska]] || http://wiki.archlinux.se/<br />
|-<br />
| Thai || ไทย || th || [[:Category:ไทย]]<br />
|-<br />
| Turkish || Türkçe || tr || [[:Category:Türkçe]]<br />
|-<br />
| Ukrainian || Українська || uk || [[:Category:Українська]] || http://wiki.archlinux.org.ua/<br />
|}</div>C5OK5Yhttps://wiki.archlinux.org/index.php?title=ArchWiki:Translation_Team_(%C4%8Ce%C5%A1tina)&diff=132903ArchWiki:Translation Team (Čeština)2011-03-05T20:26:05Z<p>C5OK5Y: /* Seznam prioritních stránek */</p>
<hr />
<div>[[Category:Events (Česky)]]<br />
[[Category:Česky]]<br />
{{i18n|Arch Translation Day}}<br />
{{Article summary start}}<br />
{{Article summary text|Další '''Arch Translation Day''' se koná [[ATD 5.3. 2011 (Česky) | 5.3. 2011]].}}<br />
{{Article summary end}}<br />
<br />
Arch Translation Day je mezinárodní den věnovaný překladu &mdash; hlavně této archwiki. Cílem akce je spojit všechny archaře, přeložit co nejvíce stránek do našeho mateřského jazyka a tím podpořit naši komunitu.<br />
<br />
== Kdy? ==<br />
Arch Translation Day se koná vždy '''první sobotu v měsíci.''' Vždy je to o den dříve než [[Bug Squashing Day]].<br />
<br />
== Kdo? ==<br />
Jsou vítáni '''všichni,''' kdo chtějí nějakým způsobem podpořit naši komunitu a i nějak poděkovat za to, že Arch Linux existuje.<br />
<br />
== Proč? ==<br />
Ptáte se proč? Protože my všichni Arch používáme a máme ho rádi. Používáme ho na našich desktopech nebo serverech. Máme ho skoro vždy při ruce. Toto je jeden ze způsobů, jak poděkovat za to, že ho máme.<br />
Určitě bychom měli umožnit přístup k informacím i lidem, pro které je cizí jazyk bariérou, nebo studentům, kteří se druhý jazyk teprve učí.<br />
<br />
== Jak? ==<br />
<br />
=== Vytvoření a přeložení nové stránky ===<br />
* Pokud nejste zaregistrovaní zde na ArchWiki, zaregistrujte se.<br />
* [[Special:UserLogin | Přihlašte se]], abyste mohli editovat wiki.<br />
* Zvolte si stránku, kterou chcete přeložit. Pokud ještě nevíte, kterou stránku budete překládat, můžete využít [[Special:Random| náhodný výběr]] nebo začít překládat některou ze stránek uvedených [[Arch Translation Day (Česky)#Seznam prioritních stránek | zde]].<br />
Zvolíme si tedy pro překlad stránku [[Some Page]]<br />
<br />
* Přejdeme na ni a v horním horizontálním menu zvolíme položku ''editovat''.<br />
* Zkopírujeme si kompletní zdrojový text stránky.<br />
* Následně přejdeme na stránku [[Some Page (Jazyk) | Some Page]], a to tak, že zadáte následující URL ve svém prohlížeči.<br />
https://wiki.archlinux.org/index.php/Some_Page_(Jazyk) (lze zadat bez podtržítek)<br />
''Jazyk'' je zde název [[Help:I18n#Languages | jazyka]], do kterého stránku překládáme.<br />
* Jelikož stránka zatím neexistuje, založte ji. V horním menu zvolte ''vytvořit''.<br />
* Zobrazí se vám jednoduchý WYSIWYG editor &mdash; do něho vložte zkopírovaný text.<br />
* Potom '''přeložte''' zkopírovaný text a vše uložte.<br />
* Pak bychom už jen měli vytvořit přesměrování na naši stránku (viz [[Help:I18n#Article titles | Nápověda]]) kvůli vícejazyčnosti naší wiki. Proto přejděte na:<br />
https://wiki.archlinux.org/index.php/Nějaká_stránka (opět lze zadat bez podtržítek)<br />
''"Nějaká stránka"'' je zadána '''v jazyce do kterého''' jsme stránku překládali.<br />
* V horním menu zase zvolíme položku ''vytvořit'' a do zdrojového kódu stránky vložíme kód pro přesměrování<br />
<pre>#REDIRECT [[Some Page (Jazyk)]]</pre><br />
* Stránku uložte a mělo by být vše hotovo.<br />
<br />
Pokud nevíte, jak správně editovat, přečtěte si [[ArchWiki Tutorial (Česky) | ArchWiki Tutoriál]].<br />
<br />
== Seznam prioritních stránek ==<br />
Zde je seznam stránek, jejichž překlad je nejnutnější. Jakmile danou stránku přeložíte, odstraňte ji, prosím, z tohoto seznamu.<br />
<br />
* [[ArchWiki Tutorial]] => [[ArchWiki Tutorial (Česky)]] &mdash; Pouze rozšířit<br />
*<s> [[Beginners'_Guide]] => [[Beginners'_Guide_(Česky)]] &mdash; Aktualizovat</s> (progdan)<br />
* [[Official_Arch_Linux_Install_Guide]] => [[Oficiální_instalační_příručka_(Česky)]] &mdash; Dokončit překlad<br />
* [[KDE]] => [[KDE_(Česky)]] &mdash; Aktualizovat<br />
* [[GNOME]] => [[GNOME_(Česky)]] &mdash; Aktualizovat<br />
* [[ATI]] => [[ATI_(Česky)]] &mdash; Aktualizovat<br />
* [[ATI_Catalyst]] => [[ATI_Catalyst_(Česky)]]<br />
* [[VirtualBox]] => [[VirtualBox_(Česky)]]<br />
* [[Beginners'_Guide/Post-Installation]] => [[Beginners'_Guide/Post-Installation_(Česky)]]<br />
* [[NetworkManager]] => [[NetworkManager_(Česky)]]<br />
* [[AUR_Helpers]] => [[AUR_Helpers_(Česky)]]<br />
* [[Downgrading Packages]] => [[Downgrading_Packages_(Česky)]]<br />
*<s>[[CUPS]] => [[CUPS_(Česky)]]</s><br />
* [[FAQ]] => [[FAQ_(Česky)]] &mdash; Hodilo by se rozšířit<br />
* [[Table_of_Contents]] => [[Table_of_Contents_(Česky)]] &mdash; Narozdíl od jiných jazyků není přeloženo skoro nic<br />
*<s> [[Help:I18n]] => [[Help:I18n_(Česky)]]</s> (C5OK5Y)<br />
* [[Arch_Boot_Process]] => [[Arch_Boot_Process_(Česky)]]<br />
* [[Getting_Involved]] => [[Getting_Involved_(Česky)]]<br />
* [[Very_Secure_FTP_Daemon]] => [[Very_Secure_FTP_Daemon_(Česky)]]<br />
*<s>[[Wireless_Setup]] => [[Wireless_Setup_(Česky)]] &mdash; Alespoň to nejnutnější</s><br />
* [[SSH]] => [[SSH_(Česky)]]<br />
* [[Creating Packages]] => [[Creating Packages (Česky)]]<br />
<br />
== Dříve pořádané akce ==<br />
*[[ATD 5.2. 2011 (Česky)]]<br />
*[[ATD 5.3. 2011 (Česky)]]<br />
<br />
{{Note|Po přeložení stránky, ať už ze seznamu prioritních stránek nebo jiné, můžete jít na [[ATD 5.3. 2011 (Česky) | stránku poslední konané ATD]] a tam zaznamenat co jste přeložili. }}</div>C5OK5Y