how to install or build mpdviz




hi guys, how are you today ? i hope youre fine! , today i wanna tell you how to install or build mpdviz on ubuntu based. its means, this is work on ubuntu based distro's like linux mint, xubuntu, elementary, and maybe work also on debian based.mpdviz is stand alone mpd visualizer for linux, mpdviz is use golang ( go ) for their language. so, you must install golang to install mpdviz. but, dont worry i can explain you how to install mpdviz right now. just follow this step.

1. open terminal and type this command below and dont close terminal until you done all proccess in this step
git clone https://github.com/lucy/mpdviz.git

2.  type this command below
# apt-get install golang cl-fftw3 # install Go language and fftw3

3. create folder /go/src/ to your ~/ and add this command to your .bashrc
export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

4. back to terminal and type on terminal
source ~/.bashrc

5. type it on previous terminal.

user: $ mkdir temp
user: $ cd temp
user: $ pkgname=mpdviz
user: $ pkgver=0.4.2
user: $ pkgrel=1
user: $ pkgdesc='Standalone console MPD visualizer'
user: $ export arch=('x86_64' 'i686' )
user: $ export url='https://github.com/neeee/mpdviz'
user: $ license=('MIT')
user: $ makedepends=('go')
user: $ depends=('fftw')
user: $ export options=('!emptydirs')
user: $ export _gourl='github.com/neeee/mpdviz'
user: $ export srcdir="$PWD"
user: $ export PKG_CONFIG_PATH=/usr/lib/pkgconfig
user: $ export GOPATH="$srcdir"
user: $ export PATH=$PATH:$GOPATH/bin
user: $ go get -u -d -v "$_gourl"
user: $ cd "$srcdir/src/$_gourl"
user: $ git checkout -q tags/$pkgver
and dont close the terminal

6. and then open your file manager and navigate to the ~/temp/src/github.com/ folder

7. copy folder lucy and mattn folder inside ~/temp/src/github.com/ folder and copy into root folder like this /usr/lib/go/src/github.com/ (if github.com not create on /usr/lib/go/src/ you can create it.)

8. copy go-fftw folder inside ~/temp/src/github.com/lucy/ and copy to the ~/go/src/

9.go back terminal and type cd ~/mpdviz

10. and type go build

and see what happend ! if successful you not see any log on terminal, and if you look any log on terminal its reverse..
i hope this method can help you, and i hope you done with follow this step. and if any error, feedback, and youre done leave command bellow. thanks !

how to change lightdm and default wallpaper of WM background using mate desktop

hi guys. now, i wanna tell you to change background of lightdm (if you use it haha) and use mate desktop. its begining, because i think "how to change it? with manualy mode, not GUI.?!" so, its not trhought GUI mode. but, this is use the command. and then i will explain how is it.. lets follow this step.

1. first prepare your wallpaper, what you want to applied for background and put in home dir.

2.open terminal and type command below

$cd /etc/lightdm/
# -your favorite text editor- lightdm-gtk-greeter.conf

3. and fill background input with your background file
background = /path/dir/*.jpg or background = /path/dir/*.png
example: background = /home/es-cendol/bg_lightdm/1.jpg

4. its could change user image too, fill at default-user-image input with your avatar.
default-user-image = /path/dir/*.png
example: default-user-image = /home/es-cendol/dNTE.png

5. save it

6. restarting your lightdm, type command bellow
$sudo service lightdm restart

7. tarraa... bingo..

note : this method i tested at ubuntu mate 16.04. so, why you not try at your mate ?.

one more, its could change window manager wallpaper at your desktop. so, you dont need feh, or etc and you dont need put in rc.local to change wm wallpaper; its, dont need. i've been tested with some Window manager like 2bwm, openbox, and pekwm. maybe its done so on i3wm and other wm.
thanks for visit and practice. fail or not, feedback, and etc leave comment bellow, i hope you can do this method and i hope this method is usefull for you.

Search This Blog

Powered by Blogger.

About Us

Nama Blog

All About PC

Blog ini hanya membahas tentang pc, jika ada yang lain maka label atau tag nya saya taroh di lain-lain. mari belajar via internet :D

Earn Bitcoin with EZ click, no scam! TESTED BY ME

Advertisement

Formulir Kontak

Name

Email *

Message *