LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 06-27-2020, 12:34 AM   #16
questionsBot
Member
 
Registered: Jun 2020
Posts: 104

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by cordx View Post
i have trouble running qt5ct on my system so i have to make a couple of adjustments and run it from the terminal.
how did you get that to run?
 
Old 06-27-2020, 01:10 AM   #17
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
i get two errors when trying to run it. one is something along the lines of “please remove the QT_STYLE_OVERRIDE environment variable” and the other has to do with QT_QPA_PLATFORMTHEME. i found a fix for the first here and a fix for the second here.

when it was just the first error, i would run unset QT_STYLE_OVERRIDE and then qt5ct in the same terminal and it would run (but would still not run from clicking the icon in the menu). when the second started showing up, i added both fixes to my ~/.bashrc file. these are the lines i added:
Quote:
export QT_QPA_PLATFORMTHEME=qt5ct
unset QT_STYLE_OVERRIDE
in settings there is an advanced tab or section listed at the top. in there is section titled environment variables. inside there is a variable set for QT_STYLE_OVERRIDE. because i was creating a new installation, i tried deleting that variable. that may make the second line i added to .bashrc unnecessary, but i wanted to keep it in case i needed to add the variable back if it affected my system adversely.

since that particular install is still just about a week old, i am still assessing whether or not removing that variable has created any problems. i haven't noticed anything that feels like it would be related, but i don't know exactly what it does (maybe one of the devs can answer that?) so i would recommend keeping an eye on your system for a while if you decide to go that route.

after you add the lines to .bashrc, you need to run the command
Code:
. ~/.bashrc
for your system to reload the settings.

Last edited by cordx; 06-27-2020 at 01:12 AM.
 
Old 07-02-2020, 09:24 PM   #18
questionsBot
Member
 
Registered: Jun 2020
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
i get two errors when trying to run it. one is something along the lines of “please remove the QT_STYLE_OVERRIDE environment variable” and the other has to do with QT_QPA_PLATFORMTHEME. i found a fix for the first here and a fix for the second here.

when it was just the first error, i would run unset QT_STYLE_OVERRIDE and then qt5ct in the same terminal and it would run (but would still not run from clicking the icon in the menu). when the second started showing up, i added both fixes to my ~/.bashrc file. these are the lines i added:


in settings there is an advanced tab or section listed at the top. in there is section titled environment variables. inside there is a variable set for QT_STYLE_OVERRIDE. because i was creating a new installation, i tried deleting that variable. that may make the second line i added to .bashrc unnecessary, but i wanted to keep it in case i needed to add the variable back if it affected my system adversely.

since that particular install is still just about a week old, i am still assessing whether or not removing that variable has created any problems. i haven't noticed anything that feels like it would be related, but i don't know exactly what it does (maybe one of the devs can answer that?) so i would recommend keeping an eye on your system for a while if you decide to go that route.

after you add the lines to .bashrc, you need to run the command
Code:
. ~/.bashrc
for your system to reload the settings.
sorry... not sure I understood this... you want me to delete or something to settings/advanced/environment-variables
 
Old 07-02-2020, 09:39 PM   #19
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
since the thread is marked as solved and this seems almost specifically about getting qt5ct to run, it might be better to start another thread. that being said, what error are you getting (would be a good place to start in another thread )?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anti-aliasing Chinese fonts ibm Linux - Software 0 07-11-2004 10:30 PM
Problem with Anti-Aliasing of gnome-based applications' fonts on OpenBSD 3.5 oCompulsive *BSD 0 07-07-2004 07:50 AM
Cannot enable anti-aliasing fonts under Root Techweenie1 Slackware 2 05-09-2004 11:49 PM
Anti-aliasing fonts Panzerfrost Linux - Newbie 6 09-13-2003 09:22 AM
[Mozilla 1.4] Anti Aliasing GUI / Fonts 4hp Mandriva 2 09-02-2003 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration