How To Install Cava, Mpd, Ncmpcpp On Arch Linux

label

How To Install Cava, Mpd, Ncmpcpp On Arch Linux / Cara Install  Mpd,Cava,Ncmpcpp Di Arch Linux



MPD : Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.
CAVA : Visualizer Music
NCMPCPP :  NCurses Music Player Client (Plus Plus)

Jadi Mpd sebagai daemon dan Ncm sebagai medianya (musik playernya Seperti ini)
dan untuk cava, cava itu cuma visualizer aja buat pemanis tampilan aja. penampakannya seperti ini
Jadi langsung aja cara installnya (and then bellow how to install)
Jika ingin mudah copy codenya tinggal buka Link Berikut

Pertama Buka terminal kemudian ketikan code berikut :
Yaourt -S mpd cava ncmpcpp --noconfirm
atau bisa
Pacman -S mpd cava ncmpcpp --noconfirm
lalu untuk config untuk mpd ikuti code berikut
1. mkdir .config/mpd
2. cd .config/mpd
3. touch database log mpd.conf pid state sticker.sql
4. mkdir playlists
5. vim config
music_directory “~/Music”
playlist_directory “~/.config/mpd/playlists”
db_file “~/.config/mpd/database”
log_file “~/.config/mpd/log”
pid_file “~/.config/mpd/pid”
state_file “~/.config/mpd/state”
sticker_file “~/.config/mpd/sticker.sql
bind_to_address “127.0.0.1”
audio_output {
type “alsa”
name “My ALSA Device”
mixer_type “software”
mixer_device “default”
mixer_control “PCM”
}
audio_output {
type “pulse”
name “My Pulse Output”
}
audio_output {
type “fifo”
name “my_fifo”
path “/tmp/mpd.fifo
format “44100:16:2”

}

6. sudo gpasswd -a mpd audio

Selanjutnya config Ncmpcpp sebelum itu kembali ke directory awal

1. mkdir .ncmpcpp
2. cd .ncmpcpp
3. vim config
####################################################
## this is example configuration file, copy it to ##
## ~/.ncmpcpp/config and set up your preferences  ##
####################################################

##### connection settings #####
#mpd_host = "localhost"
#mpd_port = "6600"
mpd_music_dir = "~/Music"

##### song format #####
song_list_format = "{$5%a $9}{$2%t$9}|{$7%f$9}$7$R{%b }{$3%4l$9}$9"
song_status_format = "$1{{$5%a$9{ $7%b$9{ $2%t$9}} }{($4%y$9)}}|{$7%f$9}$9"
song_library_format = "{$3%n $9}{$2%t$9}|{$7%f$9}"
#tag_editor_album_format = "{%y }$7%b$9"

song_window_title_format = "{%a - }{%t}{ (%b)}|{%f} {[%l]}"

##### columns settings #####
song_columns_list_format = "(30)[blue]{a} (40)[red]{t|f} (30)[cyan]{br} (4f)[green]{lr}"

##### various settings #####
#progressbar_look = "━⊙"
#progressbar_look = "─⊙╶"
progressbar_look = "─╶ "

header_visibility = "no"
titles_visibility = "no"

#ask_before_clearing_main_playlist = "yes"
#ignore_leading_the = "yes"
#mouse_support = "no"

#external_editor    = "atom"
#use_console_editor = "yes"

##### colors definitions #####
header_window_color            = "red"
main_window_color              = "white"

volume_color                   = "yellow"
state_line_color               = "black"
state_flags_color              = "red"

progressbar_color              = "black"
statusbar_color                = "green"

#alternative_ui_separator_color = "black"
main_window_highlight_color    = "red"
active_column_color            = "green"
window_border_color            = "red"

Save and exit lalu start mpd dan jalankan ncmpcpp
jika belum jalan bisa logout terlebih dahulu.

Note : untuk editor bebas mau menggunakan vim atau yang lainnya 










Share This :

Related Post



sentiment_satisfied Emoticon