如何在Ubuntu上安裝Noise音樂播放器


Noise是一款快速美觀的GTK3音訊播放器,專注於音樂和庫。它支援外部裝置、CD和專輯封面。Noise利用Granite打造一致流暢的使用者介面。Elementary OS團隊在launchpad.net上建立了一些PPA,以便使用者可以輕鬆地在Ubuntu桌面上安裝和測試一些elementary應用程式(Noise播放器)。本文將介紹如何在Ubuntu上安裝Noise播放器。

功能

  • 支援外掛。

  • 自動升級資料庫到較新版本。

  • 支援Last.fm認證。

  • 支援當前歌曲的智慧自動滾動。

  • 支援水平滾動固定。

  • 支援無縫播放。

  • 改進啟動速度。

  • 多庫管理。播客現在每個單獨的資料夾都有單獨的庫。

安裝Noise

要安裝Noise,您應該為Ubuntu新增BeatBox PPA:

$ sudo add-apt-repository ppa:elementary-os/daily

示例輸出應如下所示:

ATTENTION!
Do NOT install this PPA if you want a tested running system, this PPA contains the newest and most unstable development of elementary, it's useful only if you are a developer and are not afraid to encounter CRITICAL BUGS.
Also this PPA may overwrite already installed packages you don't want it to!
   More info: https://launchpad.net/~elementary-os/+archive/ubuntu/daily
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp2a8fyksz/secring.gpg' created
gpg: keyring `/tmp/tmp2a8fyksz/pubring.gpg' created
gpg: requesting key 4E1F8A59 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2a8fyksz/trustdb.gpg: trustdb created
gpg: key 4E1F8A59: public key "Launchpad PPA for elementary OS team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

透過執行如下所示的更新命令來更新系統軟體:

$ sudo apt-get update

透過執行以下命令來安裝Noise播放器:

$ sudo apt-get install noise

示例輸出應如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0
Suggested packages:
   libgda-5.0-bin libgda-5.0-mysql libgda-5.0-postgres
The following NEW packages will be installed:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0 noise
0 upgraded, 13 newly installed, 0 to remove and 32 not upgraded.
Need to get 2,527 kB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
Get:2 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial/main amd64 libgranite-common all 0.3.1+r935+pkg83~daily~ubuntu0.4.1 [54.7 kB]
Get:3 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial/main amd64 libgranite3 amd64 0.3.1+r935+pkg83~daily~ubuntu0.4.1 [160 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libgda-5.0-common all 5.2.4-1ubuntu1 [797 kB]
......................................................................................

要開啟Noise播放器,請使用以下命令:

$ noise

示例輸出應如下所示:

安裝完成後,執行以下命令停用Noise音樂播放器的疊加捲軸:

$ sudo sed -i "s/Exec=noise/Exec=env\ LIBOVERLAY_SCROLLBAR=0\ noise/g" /usr/share/applications/noise.desktop

解除安裝Noise音樂播放器

要解除安裝Noise音樂播放器,請使用以下命令:

$ sudo apt-get remove noise

示例輸出應如下所示:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   apport-hooks-elementary contractor javascript-common libgda-5.0-4
   libgda-5.0-common libgranite-common libgranite3 libgsignon-glib1 libindicate5
   libjs-jquery libnoise-core0 libtagc0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
   noise
0 upgraded, 0 newly installed, 1 to remove and 32 not upgraded.
After this operation, 3,647 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 180015 files and directories currently installed.)
Removing noise (0.3.1+r1919+pkg95~daily~ubuntu0.4.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.0-1ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
..................................................................................

恭喜!現在,您知道“如何在Ubuntu上安裝Noise音樂播放器”了。我們將在下一篇文章中學習更多關於這些命令的知識。繼續關注!

更新於:2020年1月22日

222 次瀏覽

開啟您的職業生涯

透過完成課程獲得認證

開始學習
廣告