


Now you can find the software in the installed applications (press Super key and search for ldoce5). On line 114: gedit ~/Downloads/ldoce5viewer-pyqt5/ldoce5viewer/qtgui/utils/soundplayer.py To 'appsrc.emit('push-buffer', _wrapped(self._data.data()))' Open the following file and change 'appsrc.emit('push-buffer', _wrapped(self._data))'

it did not work for me, but it may work for you. This step is based on an answer in the original question which suggested aįix for the sound issue. Gedit ~/Downloads/ldoce5viewer-pyqt5/ldoce5viewer/ldoce5/extract.py Gedit ~/Downloads/ldoce5viewer-pyqt5/ldoce5viewer/qtgui/indexer.py In order to fix the issue, we need to change cgi to html where we seeįrom cgi import escape in the following three files: gedit ~/Downloads/ldoce5viewer-pyqt5/ldoce5viewer/ldoce5/transform.py There is an obsolete library in the ldoce5viewer-pyqt5 called cgi.escape() Open the Makefile in the download folder and change python to python3 on line 2: gedit ~/Downloads/ldoce5viewer-pyqt5/Makefile Install further dependencies for python3.8 on Ubuntu 20.04: sudo apt-get install python3-pip python3-setuptools python3-distutilsĭownload ldoce5viewer-pyqt5 into ~/Downloads: cd ~/Downloads & git clone Python3-pyqt5.qtwebkit python3-lxml python3-whoosh qtgstreamer-plugins-qt5 Install some dependencies: sudo apt-get install git make python pyqt5-dev-tools python3-pyqt5 Instructions for installing LDOCE5 viewer on Ubuntu 20.04:

This requires further knowlege of Python/Qt and I hope someone else will help to resolve the issue. Unfortunately I could not find a way to fix the issue reported in the original question regarding the sound not playing. I spent some time to resolve those issues and could install the software successfully. I followed the instructions for installing the qt5-based version (answered by n0rbert in the original question), but I came across some new issues with Ubuntu 20.04. I just installed Ubuntu 20.04 and since the qt4-based libraries are obsolete I tried to install the qt5-based version. I originally asked this question How to install LDOCE5 Viewer on Ubuntu) and N0rbert helped me to install it on Ubuntu 18.04. I have used qt4-based version of LDOCE5 viewer for a long time. So now that Ubuntu 20.04 has been released, How can we install this dictionary on it, without using Wine?Īnd my output is :~$ export | grep SESSIONĭeclare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"ĭeclare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"ĭeclare -x GNOME_SHELL_SESSION_MODE="ubuntu" I have installed ldoce5 viewer on Ubuntu 18.04 and Ubuntu 16.04 following this guide before with no problem at all, but now I have installed Ubuntu 20.04.Īnd so I wanted to install ldoce5 viewer following the same guide, but I it seems that some required packages for installing ldoce5 viewer, are missing or deleted from Ubuntu 20.04 repository, and therefor I can not install ldoce5 viewer.
