-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark/Blank/Default color schemes - How to fix dark mode not working #359
Comments
Interesting, I don't see that problem on my system. When you say non LCD, do you mean CRT? Not that I would have thought that would matter. Looks like your booting UEFI which is what I'm booting. Let me have a look at the code and have a think about it. |
To achieve grey text on black background you have to use the intensity setting. It's a fudge because there is no grey as such in the color table. I switch the color pair from |
Are you able to plug a TFT monitor into your system and see if it works properly? That would tell me whether its a graphics card issue or not. |
No, not CRT, just didn't want to confuse it with the TFT that this option was accommodating. It's a Viewsonic 1080p.
(sent from mobile)
…________________________________
From: PartialVolume ***@***.***>
Sent: Saturday, November 6, 2021 7:38:58 PM
To: martijnvanbrummelen/nwipe ***@***.***>
Cc: Mike Cato / Hays Technical Services ***@***.***>; Author ***@***.***>
Subject: Re: [martijnvanbrummelen/nwipe] Dark/Blank/Default color schemes on non-LCD monitor (Issue #359)
Interesting, I don't see that problem on my system. When you say non LCD, do you mean CRT? Not that I would have thought that would matter. Looks like your booting UEFI which is what I'm booting.
Let me have a look at the code and have a think about it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#359 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANGK2PX6WK5MXHV3AIQW5WDUKXDCFANCNFSM5HP5QCBA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
What terminal are you using? I don't recognise it. Could be the terminal emulation. I may be useful if I install the same thing and see if I can reproduce it. |
I've just tried with the 'terminator' terminal and I can reproduce the problem with that. Initially I thought it was because 'terminator' doesn't recognise the intensity bit. So I ran a demo in both Konsole (top) and Terminator (bottom) and all colors are displayed although terminator looks a bit washed out. Works ok in Xterm and Konsole and I'm assuming the related consoles that are based on the qmltermwidget code such as Cool retro term. |
Here's nwipe running in cool retro which uses the same terminal engine as konsole, shown switching between blue (overwritten with retro amber) then dark then blank. retro.mp4. |
Table of terminals that support dark mode in nwipe, if you know more that work/don't work please let me know below. These terminals were tested on KDE Neon ( Ubuntu 20.04LTS )
|
There is a workaround for the guake and possibly the others that don't work, especially if they are VTE based. In guake, click right on the terminal and select preferences, then from the preferences dialog box select 'Appearance' from the option down the left hand side. There's a tickbox with the label 'Bold text is also bright (VTE>=0.52). Tick that box and you will now find nwipe's dark mode now works. @mdcato Possibly your terminal is VTE based and there is a similar option? |
Looks like the 'terminator' has had the same option added as guake, so should also be fine if you select this option. gnome-terminator/terminator#38 |
I'm using gnome-terminal 3.42.1 for Gnome 41.1 on Fedora 35, Linux 5.14.16-301.fc35.x86_64, i5-8400, UHD Graphics 630, Viewsonic VX2457 monitor, FAIL
Since this passed on the gnome-terminal you tested (version? distribution? kernel?), and it is a somewhat small audience, I think the priority is relatively low. (But I'm curious of the root cause.)
(sent from mobile)
…________________________________
From: PartialVolume ***@***.***>
Sent: Sunday, November 7, 2021 4:36:17 AM
To: martijnvanbrummelen/nwipe ***@***.***>
Cc: Mike Cato / Hays Technical Services ***@***.***>; Author ***@***.***>
Subject: Re: [martijnvanbrummelen/nwipe] Dark/Blank/Default color schemes on non-LCD monitor (Issue #359)
Table of terminals that support dark mode in nwipe, if you know more that work/don't work please let me know below.
Terminal Name Works Does not work !
Konsole PASS
Xterm PASS
tmux PASS
terminology PASS
screen PASS
qterminal PASS
gnome-terminal PASS
cool-retro-term PASS
terminator FAIL
Guake FAIL
putty terminal PASS
Xfce terminal PASS
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#359 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANGK2PQDQLZNQKYNJL2HFXDUKZJCDANCNFSM5HP5QCBA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@mdcato gnome-terminal is also VTE based. If you look at this thread about this same issue in terminator Bold is bright or not as the case may be, they talk about the following setting
So according to that comment, gnome-terminal has that 'bold is bright' setting that you can change. Looks like somebody just switched off Bold is Bright in VTE and unless the terminal has the option to switch it back on your out of luck. I can't find any 'bold is bright' option in my version of gnome-terminal, which is older than yours, but maybe that option is available in your version. |
That worked!
In gnome-terminal, hamburger icon, click on current profile ("Unnamed" is the default), then Colors tab, and it's at the bottom.
(sent from mobile)
…________________________________
From: PartialVolume ***@***.***>
Sent: Sunday, November 7, 2021 11:33:54 AM
To: martijnvanbrummelen/nwipe ***@***.***>
Cc: Mike Cato / Hays Technical Services ***@***.***>; Mention ***@***.***>
Subject: Re: [martijnvanbrummelen/nwipe] Dark/Blank/Default color schemes in various terminals (Issue #359)
There is a workaround for the guake and possibly the others that don't work, especially if they are VTE based.
In guake, click right on the terminal and select preferences, then from the preferences dialog box select 'Appearance' from the option down the left hand side. There's a tickbox with the label 'Bold text is also bright (VTE>=0.52). Tick that box and you will now find nwipe's dark mode now works.
@mdcato<https://github.com/mdcato> Possibly your terminal is VTE based and there is a similar option?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#359 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANGK2PRDWPNYP2HA7DTVO6LUK22AFANCNFSM5HP5QCBA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Excellent ! :-) # |
My version of gnome-terminal (3.36.2) does indeed have the setting 'Show Bold Text in Bright Colors', I wasn't looking for that previously, as gnome-terminal wasn't showing the problem. Toggling that setting does cause dark mode to work or not. I also found that my version of gnome-terminal was working with dark mode previously, because at some point I'd switched it to 'Use colors from system theme', which allowed dark mode to work in nwipe even with 'Show Bold Text in Bright Colors' un-ticked. But switching 'Use colors from system theme' off meant I needed ' 'Show Bold Text in Bright Colors' enabled. |
On an i5-8400 internal graphics system (not a separate graphics card), the Dark mode is the same as Blank (i.e. text is not visible rather than gray) UNLESS there is an error which is red text on white background. I realize the Dark mode is intended for LCD/TFT displays, but it would be nice if it also worked on a normal display. I've attached screenshots of the three color modes plus the log of the nwipe run for the system info it contains. If there hadn't been an error, I would have assumed Blank==Dark. Happy to provide any other info that might be needed.
nwipe-log-20211030.log
.
The text was updated successfully, but these errors were encountered: