LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2022, 11:52 PM   #1
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
How to get KDE Konsole to Dark Mode under GNOME?


On my phone running GNOME/phosh on Droidian (based on Debian Bookworm), I decided I prefer Konsole instead of the provided kingcross terminal due to easier to copy/paste text. But it didn't automatically follow the dark theme I'd enabled in gnome-control-center.

So after some research, I tried installing qt5ct which is a QT5 Settings App, which told me to set an environment variable QT_QPA_PLATFORMTHEME=qt5ct so I did that. None of the default choices appeared dark, so I installed some qt5-style packages: adwaita-qt, kde-style-breeze, qt5-style-ukui, and qt5-style-kvantum.

All of those I added offered dark versions that in the qt5 settings app itself looked dark, but only the kvantum one actually works to make the toolbar in konsole dark. And all the icons that were originally there are gone. And with kvantum then I can't see to edit the profile settings due to lack of contrast, even tho the main toolbar is fine, so it's not what I want anyway.

I have since learned I can also set the style with QT_STYLE_OVERRIDE instead of using the qt5 settings app, but regardless how I set it, I can't get anything dark to work besides kvantum.

I attached two screens; one is default with no env variables set, and the other set for kvantum. I would prefer white on black (instead of grey) - if the HighContrastInverse worked, I might like that, but just like the other dark themes, they didn't affect the toolbar in konsole.

So why won't any of the other dark themes work for konsole besides kvantum? And where did my icons go?
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-11-01 21-43-22.png
Views:	106
Size:	92.1 KB
ID:	39805   Click image for larger version

Name:	Screenshot from 2022-11-01 21-42-50.png
Views:	81
Size:	95.9 KB
ID:	39806  

Last edited by enigma9o7; 11-01-2022 at 11:57 PM.
 
Old 11-07-2022, 10:38 AM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Well I figured it out somehow, even tho I really don't understand. I saw there was another app kvantum manager that got installed when I installed that qt5 style I guess. With it, there were a whole bunch more themes to select, and I selected the dark gnome one, and this tool wanted another environment variable QT_STYLE_OVERRIDE=kvantum so I set that too.

For the icons, there is an icon tab in the QT5 configuration tool. By selecting papirus dark, I was able to get white icons in Konsole. For some reason the adwaita ones didnt have a dark option.

So, finally I got toolbar I'm happy with. I imagine there is a simpler way to do this if I understood what I was doing, but this is acceptable anyway.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-11-07 08-36-13.png
Views:	87
Size:	92.4 KB
ID:	39827  
 
  


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
LXer: GNOME 42 Desktop Environment Is Out with New Screenshot UI, GTK4 Apps, and Dark Mode LXer Syndicated Linux News 0 03-24-2022 09:39 AM
man page text color is too dark ....(color is too dark) chxooi Linux - Software 8 08-10-2010 12:52 PM
Konsole always give SuperUser Konsole - can't get regular shell checkmate3001 Linux - Desktop 3 08-05-2008 10:00 AM
KDE apps crash on Gnome, Gnome apps work on my KDE - Gnome/KDE integration Happy Gimper Linux - Software 0 03-18-2008 09:28 AM
konsole acts as "Root Konsole" ab44045 Linux - General 11 06-11-2007 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 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