Lubuntu

術語模擬器在 Lubuntu 16.04 中缺少通用播放器

  • July 31, 2017

terminology已安裝 ( apt update+ apt install),並且在 Lubuntu 16.04 全新安裝中執行良好。但是當試圖顯示圖片(或顯示縮略圖tyls)時,它總是會引發這個錯誤:

$ tycat titan.png
ERR<1714>:emotion-generic modules/emotion/generic/emotion_generic.c:1838 _players_load() no generic players available



$

後跟一個空格,這是要顯示的圖片的大小。

嘗試安裝generic players以下這些說明:

wget http://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-1.17.0.tar.gz
tar -xzf emotion_generic_players-1.17.0.tar.gz
cd emotion_generic_players-1.17.0
./configure --prefix=/usr
make
sudo make install

但沒有工作:

checking for EMOTION... no
configure: error: Package requirements (emotion >= 1.17) were not met:

No package 'emotion' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables EMOTION_CFLAGS and EMOTION_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

也安裝了vlc,以防萬一它可能需要它,但沒有任何改變。

更新:編譯適用於版本 1.8.2 (emotion_generic_players-1.8.2):

------------------------------------------------------------------------
emotion_generic_players 1.8.2
------------------------------------------------------------------------

Configuration Options Summary:
 Build Profile..........: dev

Players:
 VLC....................: yes

Compilation..............: make (or gmake)
 CPPFLAGS...............: 
 CFLAGS.................: -g -O2
 CXXFLAGS...............: 
 LDFLAGS................: 

Installation.............: make install (as root if needed, with 'su' or 'sudo')
 prefix.................: /usr
 emotion generic players: /usr/lib/x86_64-linux-gnu/emotion/generic_players/linux-gnu-x86_64-1.8.6

但是在makeand之後問題仍然存在make installERR<4002>:emotion-generic modules/emotion/generic/emotion_generic.c:1838 _players_load() no generic players available

如果沒有以正確的方式安裝,事情會變得非常困難。這就是它對我的工作方式:

首先,刪除所有以前的東西

sudo apt-get remove enlightenment terminology
sudo apt autoremove

然後,按照這些說明

sudo add-apt-repository ppa:niko2040/e19
sudo apt-get update
sudo apt-get install enlightenment terminology

這添加了一個由參與 Enlightenment 的維護者管理的儲存庫,enlightenmentterminology從該儲存庫安裝軟體包,而不是官方 Ubuntu 儲存庫中可用的舊(目前)非工作軟體包。

註銷並重新登錄,無需選擇啟蒙桌面環境(如網頁所示)。現在,縮略圖、圖片和影片顯示在術語中。

學分:網頁

(感謝@lgeorget 為解決問題提供的所有幫助。)

引用自:https://unix.stackexchange.com/questions/353413