内容目录
Ubuntu 18.04 安装 osd-lyrics
github 地址: https://github.com/osdlyrics/osdlyrics
安装依赖:
sudo apt-get install libdbus-glib-1-dev intltool libappindicator-dev libcairo-gobject2 libnotify-dev
sudo apt-get install python-future python-gi python-dbus python-chardet python-pycurl
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
拉源码:
git clone https://github.com/osdlyrics/osdlyrics.git
编译:
cd osdlyrics/
./autogen.sh
./configure --prefix=/usr PYTHON=/usr/bin/python2
make
sudo make install
编辑: /usr/share/applications/osdlyrics.desktop
将Icon指向正确的文件以使图标正常显示:
...
Icon=/usr/share/osdlyrics/icons/osdlyrics.png
...
osd-lyrics 需要和其他播放器协同工作。安装vlc作为音乐播放器
sudo apt-get install vlc
效果图: