- $ sudo su
- # zypper ar http://packman.links2linux.de packman
- # zypper mr -r packman
- # zypper ref
- # zypper install mpd
- # vim /etc/mpd.conf
- # /etc.init.d/mpd start
- # chkconfig mpd on
Step 6 deals with the configuration of MPD. Point to music_directory and type in the path of you music library.
On steps 7 and 8 we've started the MPD service and set MPD to start at each reboot.
If need you can update the database at any time by running:
- # mpd --create-db
- # zypper install ncmpc
- # exit
- $ ncmpc -c
An heads-up: don't end you Gnome session with ncmpc paused. It seems that the next time you restart your system the /dev/dsp device will be in use effectively stopping you from using programs that use the device, such as Mplayer. Simply stop ncmpc before exiting it, press Backspace to do so.
Additional and extremely useful information can be found under /usr/share/doc/mpd and /usr/share/doc/ncmpc.