qnapi
qnapi copied to clipboard
qnapi does not start properly in Gnome shell
Steps to reproduce:
- Install qnapi
0.2.3-1
- Run qnapi.
- Observe that tray icon and main window are nowhere to be found.
Software versions:
- OS:
Ubuntu 16.04.2 LTS
- Gnome:
GNOME Shell 3.18.5
Remarks:
- Installing
sni-qt
as mentioned here: https://github.com/QNapi/qnapi/issues/17#issuecomment-131918207 did not help. - Downloading subtitles from command line works flawlessly.
Is there any configuration option to display main window on startup?
Pozdrawiam kolegę ze Scalaca ;)
Hey!
Source of the problem is that Qt wrongly reports availability of system tray on some desktop environments. What Qt version do you have? Usually upgrading Qt to newer one helped in case of Unity.
Currently there is no main window in the application. There was some partial work done on branch aiming to provide it, but was neither finished nor merged yet.
Alternatively, you may want to run the application with paths to movie files passed as the argument - it will start downloading in GUI mode.
Pozdrawiam również :)
Source of the problem is that Qt wrongly reports availability of system tray on some desktop environments. What Qt version do you have? Usually upgrading Qt to newer one helped in case of Unity.
This one:
$ dpkg -s libqtcore4
Package: libqtcore4
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 4973
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Multi-Arch: same
Source: qt4-x11
Version: 4:4.8.7+dfsg-5ubuntu2
Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:3.0), libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)
Suggests: libicu55, libthai0
Conffiles:
/etc/xdg/Trolltech.conf c577e8340ca5ff8267dd3666f46171a5
Description: Qt 4 core module
Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.
.
The QtCore module contains core non-GUI functionality.
Homepage: http://qt-project.org/
Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers <[email protected]>
Should I upgrade?
Alternatively, you may want to run the application with paths to movie files passed as the argument - it will start downloading in GUI mode.
Yes, I already did that. Actually I prefer cmd line to gui. If only I could pass language code via command line params .. :)
Since 0.1.7 application is Qt5-only, so upgrading Qt4 won't help in this case. However if you upgrade corresponding Qt5 library, it might work. You may also want to try to run AppImage which is shipped with Qt 5.8.
Actually I prefer cmd line to gui. If only I could pass language code via command line params
You can do this by using switch -l
and then passing language code on the command line :)
This could be close. Works in Ubuntu 19.10 and qnapi installed from eoan/universe
.