aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ncmpc.1
blob: ca89ded3803b5fe9814a3f6a318747e6c3fcc0f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.TH "ncmpc" "1" "April 2004" "" ""
.SH "NAME"
ncmpc \- curses Music Player Daemon (MPD) client.
.SH "SYNOPSIS"
.B ncmpc
[options]
.SH "DESCRIPTION"
ncmpc is  a client for MPD, the Music Player Daemon. 
ncmpc connects to a MPD running on a machine on the local 
network.

By default, ncmpc connects to localhost:2100. 
This can be changed either at compile\-time, or by exporting the 
MPD_HOST and MPD_PORT environment variables, or by the command line
options \-\-host and \-\-port.

$ ncmpc \-\-host=musicserver \-\-port=44000

To use a password with mpd, set MPD_HOST to password@host 
or use the command line option \-\-password. Values from 
the command line overrides values from the environment.

Read more about MPD on http://www.musicpd.org

.SH "OPTIONS"
.TP 
.B \-?, \-\-help
Display help.
.TP 
.B \-V,  \-\-version
Display version information.
.TP 
.B \-c,  \-\-colors
Enable colors.
.TP 
.B \-C,  \-\-no\-colors
Disable colors.
.TP 
.B \-e,  \-\-exit
Exit on connection errors. The default is to reconnect.
.TP 
.B \-h, \-\-host=HOSTNAME
Specify MPD host.
.TP 
.B \-p, \-\-port=PORT
Connect to server on PORT.
.TP 
.B \-P, \-\-password=PASSWORD
Use password when connecting.
.TP 
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
.SH "CONFIGURATION"
When ncmpc start it tries to read user setting from the ~/ncmpc/config file. If no user configuration is found ncmpc tries to load global settings from $SYSCONFDIR/ncmpc/config (the actual path is displayed on the help screen). An example configuration file (config.sample) should be provided with ncmpc.

Avalible colors: black, red, green, yellow, blue, magenta, cyan and white.

Supported configuration options:
.TP 
.B auto_center = yes|no
Enable/disable auto center mode. When auto center mode is enabled 
ncmpc centers the current track in the playlist window.
.TP 
.B wide_cursor = yes|no
Make the cursor as wide as the screen.
.TP 
.B enable_colors = yes|no
Enable/disable colors.
.TP 
.B title_color = color
Set the text color for the title row (first row).
.TP 
.B line_color = color
Set the color of the line on the second row.
.TP 
.B list_color = color
Set the text color in the main area of ncmpc.
.TP 
.B progress_color = color
Set the color of the progress indicator.
.TP 
.B status_color = color
Set the text color used in the status window (last row). 
.TP 
.B alert_color = color
Text color used to display alerts in the status window.
.SH "KEYS"
When ncmpc start it tries to read user key bindings from the ~/ncmpc/keys file. If no user key bindings is found ncmpc tries to load global key bindings from $SYSCONFDIR/ncmpc/keys (the actual path is displayed on the help screen). 

You can view ncmpc's key bindings by pressing '1' (help) when 
ncmpc is running. To edit key bindings use the key editor in ncmpc (press 'K').
.SH "BUGS"
Report bugs on http://www.musicpd.org/mantis/
.SH "NOTE"
Since MPD uses UTF\-8, ncmpc needs to convert characters to the 
charset used by the local system. If you get character conversion errors when your running ncmpc you probably need to set up your locale. This is done by setting any of the LC_CTYPE, LANG or LC_ALL enviroment variables (LC_CTYPE only affects character handling). For example if you want UK settings and use bash you should add the following line to your /etc/profile:

  export LC_CTYPE=en_UK

.SH "SE ALSO"
mpc(1), mpd(1), locale(5), locale(7)