Support #704

Issue with themeing under Xenial; a Solution to QT5 themeing issues in xenial ... and a report that Nomacs is still insists in KDE dialogs even under GTK.

Added by Anonymous about 3 years ago. Updated about 3 years ago.

Status:NewStart date:28.06.2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Version:3.2 Operating System:Linux 64bit

Description

Many QT5 apps are not themed properly or at all in Ubuntu 16.04. For example, the latest Nomacs under Xenial displays some GTK colors, but uses QT dialogues and toolbars etc.. There is currently no QT5_Config to address this issue. Therefore, those who do not want to wait for one if it ever comes, there is another tool that works very well, and is in the repos! qt5ct

Steps to fix QT5 themeing issues in Xenial:

1) Install qt5ct

sudo apt-get install qt5ct

2) Set the OS environment variable correctly so the qt5ct app will work:

sudo nano /etc/environment

3) Add the following line to the environment file:

QT_QPA_PLATFORMTHEME="qt5ct"

4) Run qt5ct and set your style to GTK+ and log out and in. Done.

Note that you can do this on a per user basis instead of globally.

1) Instead of editing the OS environment variable, using a text editor (or nano) edit the following per user file:

/home/username/.profile

2) Add the following line to the bottom:

export QT_QPA_PLATFORMTHEME="qt5ct"

3) Run qt5ct and set your style to GTK+ and log out and in. Done.

QT5 apps are now themed properly including Nomacs.

However, Nomacs still uses QT dialogs that belong in KDE but not GTK. I would love to have that fixed as key combos can be different and using a different sequence of keystrokes just because Nomacs dialogs are KDE is annoying.


Related issues

Related to Bug #706: Nomacs latest version does not display "next" image correctly when using either button bar or arrow keys. New 02.07.2016

History

#1 Updated by Prodigal about 3 years ago

The above is my issue... I forgot to login.

#2 Updated by Stefan about 3 years ago

Hi,
thanks for your instruction how to change the theme.
Actually I have not found a solution how we can make nomacs to use the GTK dialogs when installed in a GTK environment.

Cheers,
Stefan

#3 Updated by Stefan about 3 years ago

  • Related to Bug #706: Nomacs latest version does not display "next" image correctly when using either button bar or arrow keys. added

Also available in: Atom PDF