Then, in qt5ct I … It start via terminal but not via mate control center. GTK2 style was moved out from qt5-base to qt5-styleplugins, which requires to configure QT_QPA_PLATFORMTHEME=qt5ct environment variable to be able to use QT apps with a GTK theme. Hello, I'm confused by qt5ct in the LXQt edition. It’s one or the other due to the environment variable. To get a similar look between the toolkits, you will most likely have to modify the following: 1. QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync. export QT_QPA_PLATFORMTHEME="qt5ct" Run the application QT5 Configuration Manager from the menu or run the command qt5ct.. Logout and login again to make the change effective by Stevo » Tue Jan 30, 2018 6:00 pm, Powered by phpBB® Forum Software © phpBB Limited. export QT_QPA_PLATFORMTHEME="qt5ct" fi export FLO_TEST_DOTPROFILE="flotest" and ~/.xinitrc. Modify GTK and Qt stylesseparately with the tools listed below for each toolkit a… The new qt5ct still needed the environment variable command to run the first time, but after I changed the theme selection, it would start normally. You can choose various approaches: 1. Install qt5ct using your favorite package manager or the command: . Press J to jump to the feed. Try to change Exec value of kwrite.desktop to something like this: kwrite -platform qt5ct %F trialuser02 posted a comment on ticket #71 Icon Theme: A set of global icons. I don’t know how to do it, I would need help in this case. Post Getting below warning message in qt5ct in Awesome WM installed on Manjaro KDE. But changing the theme in qt5ct had no effect on other Qt 5 apps. This makes everything have the same themes without qt5ct. After installing the package, run qt5ct to set an icon theme, and set the environment variable QT_QPA_PLATFORMTHEME="qt5ct" so that the settings are picked up by Qt applications. Press question mark to learn the rest of the keyboard shortcuts Isn't there a way for the application itself to test for the resolution and set the proper scale factor? Theme: The custom appearance of an application, widget set, etc. Hey guys n gals, I'm wondering how to set QT5CT as the main configuration tool for QT5 apps - when I run qt5ct from the terminal it will open up no problem, but when I try to open it from the menu it won't allow it & tells me the environment variable isn't set. 3. pamac install qt5ct Set environment variables in ~/.profile by adding or updating the following lines: . ~/.pam_environment works, but it's executed under KDE too and I can't put any if-logic there. So I wanted to change the QT_QPA_PLATFORMTHEME to gtk2 - just to check if it makes any difference. Thanks in advance. i'm having an error on qt5ct. Improve this answer. You might define paths for files, language options, and so on. by kyle_a » Tue Jan 30, 2018 5:30 pm, #6 My dot files for environment variables: Another solution is provided by the qt5ct package, which provides a DE independent Qt5 QPA and a configuration utility. Post The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: lxqt, required value: qt5ct). We ship the 98qtconfig file with MX so that Qt 5 applications automatically follow the XFCE gtk themes. I've tried setting the environment variable to qt5ct as suggested in some forums, and this also has no effect. Only mate 1.18 not start the gui of qt5ct . 183k 15 15 gold badges 83 83 silver badges 135 135 bronze badges. I'm thinking of making it maximized floating sticky lowered with a rule, telling picom to make it opaque, and running asciiquarium on it so I can have moving fish behind transparent windows and in my background in general. Both environment variables fixed it (1.1 for the scale factor suffices here). Well , after testing only mate seem affected . So if you're having issues where the environment variable isn't perpetuating, try rebooting. Post Qt4 application will try to mimic the behavior of the desktop environment they are running on, unless they run into some problems or hard-coded settings. by kyle_a » Tue Jan 30, 2018 5:36 pm, #8 0.37 19 Dec 2018 15:51 minor feature: Qt 5.12 support; alpha channel for color themes; added environment variables support for paths in the qt5ct.conf; mime-type based icons in the file dialog; fixed icon theme parsing; replaced deprecated code; updated translations Post LOG… by dolphin_oracle » Tue Jan 30, 2018 1:35 pm, #3 it asks to remove QT_STYLE_OVERRIDE environment variable. If you should use QT5 applications you will discover that the fonts here look not the same as in the rest of the apps. It can be configured using KDE System Settings (systemsettings5), the settings can be found in Appeara… I am going to move this thread to MX Modified as it pertains to lXDE not the default XFCE. I use zsh, so .zprofile might be correct, but I don't want to have it set for In KDE Plasma, it uses the actually selected Qt style. 3. by Stevo » Tue Jan 30, 2018 4:03 pm, #5 Getting below warning message in qt5ct in Awesome WM. I've also tried running QT_QPA_PLATFORMTHEME="qt5ct" qt5ct which launches the Qt5 theme chooser. Post For issues with MX that has been modified from the initial install. Running OS: Manjaro 20.1 Mikah Kernel: x86_64 Linux 5.4.64-1-MANJARO DE: Xfce4 having some minor issues with QT applications when using a dark theme. Hello, I want to change the QT5 themes for apps, but every time I launch qt5ct it says that it's not properly configured and in a dialog window it says "The QT_QPA_PLATFORMTHEME environment variable is not set (required value: qt5ct )", Its kina weird seeing a dark GTK theme with a light QT theme, Last edited by Oakbricks101 (2020-10-11 04:02:59), For anyone with this issue you need to make or edit ~/.profile and type in, Source: https://wiki.manjaro.org/index.php/Set_ … e_settings, [Solved] Getting qt5ct and QT5 themes to work, https://wiki.manjaro.org/index.php/Set_ … e_settings. But changing the theme in qt5ct had no effect on other Qt 5 apps. Qt reads there environment variables and uses the values shipped by the plugin. Hello In the section: qt5 Settings note (as the screenshot shows at the end) that the default value is GTK2 or Custom, then install qt5ct then reboot and I see that I have to set the environment variable QT_QPA_PLATFORMTHEME to the value of qt5ct. The variable actually isn’t required at all on GTK platforms for QGnomePlatform, but setting it to gnome works as well. This variable is set only on Cinnamon nightly. On Linux Fedora 31 x64 LXQt, when I run qt5ct (and others applications) via menu, I have the warning: but when I run the same via bash, the result is correct: I have also tried to set the environment variable in ~/bashrc and reboot, with no effects. 2. You can see each application's manual to see what variables are used by that application. There is a way out, just install qt5ct: pkg install qt5ct or go to your Software Station, set a hook and install the package. by Stevo » Tue Jan 30, 2018 2:56 pm, #4 You can do that in .xinitrc or .xprofilefile in your users home directory by adding the line: export QT_QPA_PLATFORMT… I think that the 98qtconfig file is still in charge, and you will have to change "gtk2" in that to "qt5ct", or move the file out of that folder altogether for LXQT. Hello Everyone, I have installed both the qt5 styleplugin and qt5ct on slackware-current64 multilib. run qt5ct to set an icon theme, and set the environment variable QT_QPA_PLATFORMTHEME=qt5ct in /etc/environment. Loading LXDE does not do that, it does overwrite that but any other desktop manager does work as intended. Also the system works like silk! 0.37 19 Dec 2018 15:51 minor feature: Qt 5.12 support; alpha channel for color themes; added environment variables support for paths in the qt5ct.conf; mime-type based icons in the file dialog; fixed icon theme parsing; replaced deprecated code; updated translations I am an arch linux user, and QT 5.7 update hit recently. Gnome work fine when put the variable into ~/.profile . hi all, good morning! Odyseus wrote:Well, for me, the changes that I made with qt5ct were still applied after reboot. Note that logging out is required for changes to this file to be recognized. Example: adding packages that then cause issues. Variables are used to adapt each application's behavior to the environment it is running in. Hello, I want to change the QT5 themes for apps, but every time I launch qt5ct it says that it's not properly configured and in a dialog window it says "The QT_QPA_PLATFORMTHEME environment variable is not set (required value: qt5ct)", Its kina weird seeing a dark GTK theme with a light QT theme. To have the style also for applications you use sudo or any tools to get root rights you have to copy your dot-config file over with cp -a /etc/skel/.config /root/. by kyle_a » Tue Jan 30, 2018 1:01 pm, #2 HOME = Current user's home directory. For qt5ct to work properly, the following environment variable has to be set: QT_QPA_PLATFORMTHEME=qt5ct I just edited the /etc/environment file and added that line. Environment variables are named strings available to all applications. Style: The graphical layout and look of the widget set. Unsure if this is a personal issue or what, but I had to reboot my OS after setting this in /etc/environment, even if I restarted the bash terminal or typed source /etc/environment. export QT_QPA_PLATFORMTHEME="qt5ct" Run the application QT5 Configuration Manager from the menu or run the command qt5ct.. Logout and login again to make the change effective PATH = Colon separated list of directories to search for commands. By default when it's run it displays the message: The application is not configured correctly. Version-Release number of selected component (if applicable): 0.3.0+16.10.20160628.1 First I thought there's a package conflict with qt5ct. Looks like dolphin does not use environment variables. So I’ve changed it in /etc/environment, rebooted and checked again - still qt5ct. Facing the same issues (Arch, bspwm, Qt 5.15.0-4, 1600x900 + 2560x1080, QT_QPA_PLATFORMTHEME=qt5ct). Install qt5ct using your favorite package manager or the command: . By the way. After installing, you still cannot use the qt5 font settings, because you get an error message, that the environment variable of QT_QPA_PLATFORMTHEME is not set. The qt5ct does work and change the app in the [SOLVED] QT5 styleplugins and qt5ct are not working properly for me. 1. That said, there are several standard variables in Linux environments: 1. No file conflict, but with an environment variable: appmenu-qt5 sets it to QT_QPA_PLATFORMTHEME=appmenu-qt5, where it has already been set by qt5ct to QT_QPA_PLATFORMTHEME=qt5ct. by richb » Tue Jan 30, 2018 5:33 pm, #7 To add the main WebUpd8 PPA and install the latest Qt5 Configuration Tool (Qt5ct) in Ubuntu 16.10, 16.04, 15.10, 15.04 or 14.04 / Linux Mint 18 or 17.x and derivatives, use the following commands: sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt … philmmanjaro added the todo label on Jun 27, 2016 MX MODIFIED - CONDITIONALLY SUPPORTED BY FORUM MEMBERS, antiX - MX COLLABORATOR, ACTIVELY DEVELOPED AND SUPPORTED. QT_QPA_PLATFORMTHEME will need to be set to qt5ct with Qt5Ct. It seems you want the same setup in LXDE, so it should work the same way as in MX. Logout and login again to make the change effective But I just change only the applications theme (Appearance tab) and the icon theme (Icon Theme tab).Everything else in the Fonts, Interface and Stylesheet tabs is untouched. The only way is to write the variables into the /etc/environment . I installed qt5ct and it won't launch due to an error: the qt_qpa_platformtheme environment variable is not set correctly. You can run it from the terminal with this, too: The new qt5ct still needed the environment variable command to run the first time, but after I changed the theme selection, it would start normally. "The QT_QPA_PLATFORMTHEME environment variable is not set correctly". Post Install qt5-styleplugins and qt5ct; Set environment variable in /etc/environment QT_QPA_PLATFORMTHEME=qt5ct; Restart the system; Start qt5ct and select gtk2; Share. 4. It usually consists of a style, an icon theme and a color theme. Technically qt5ct is such a plugin, so changes made in qt5ct only work if the environment variables are set. Set environment variables in ~/.profile by adding or updating the following lines: export QT_QPA_PLATFORMTHEME="qt5ct" Run the application QT5 Configuration Manager from the menu or run the command qt5ct. pamac install qt5ct Set environment variables in ~/.profile by adding or updating the following lines: . Post LXDE is GTK, so without that file, qt5ct is only going to affect qt5 applications, and LXDE will go on its merry way if you don't set it to gtk2. But I do not set these by default, as the user might also have other platform like LXQt. But neither of these are even executed. Has anyone played around with using a terminal as a background? there is a file in /etc/X11/Xsession.d/ that controls the QT5CT environment variable. Post Color Theme: A set of global colors that are used in conjunction with the style. Follow answered May 14 '17 at 6:37. eyllanesc eyllanesc. #1 2.