Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exclude MySQL Workbench from dark theme with mojave Mac dark theme
#!/bin/bash
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Restart MySQL Workbench after executing this.
@opensourceame

This comment has been minimized.

Copy link

@opensourceame opensourceame commented Mar 1, 2019

This saved me from needing eye surgery, LOL. Thanks!

@skwid138

This comment has been minimized.

Copy link

@skwid138 skwid138 commented Mar 5, 2019

Thank you! This was driving me crazy.

@burdem

This comment has been minimized.

Copy link

@burdem burdem commented Mar 28, 2019

Oh, great! Thank you.

@sagidayan

This comment has been minimized.

Copy link

@sagidayan sagidayan commented Jul 9, 2019

Dark magic. Thank

@shengyue90

This comment has been minimized.

Copy link

@shengyue90 shengyue90 commented Jul 9, 2019

Thank you for saving my life

@gmunisifreddy

This comment has been minimized.

Copy link

@gmunisifreddy gmunisifreddy commented Jul 30, 2019

you are amazing! thank you so much.

@szakal

This comment has been minimized.

Copy link

@szakal szakal commented Aug 13, 2019

thanks mate!

@NavyCS

This comment has been minimized.

Copy link

@NavyCS NavyCS commented Aug 13, 2019

Thanks!!!

@CharlieRa

This comment has been minimized.

Copy link

@CharlieRa CharlieRa commented Aug 27, 2019

Thanks a lot!!! ๐Ÿ‘

@nikhe

This comment has been minimized.

Copy link

@nikhe nikhe commented Aug 30, 2019

great job! Thanks!

@nikolassoares

This comment has been minimized.

Copy link

@nikolassoares nikolassoares commented Sep 3, 2019

Thanks!!!

@migliio

This comment has been minimized.

Copy link

@migliio migliio commented Sep 4, 2019

thanks a lot!

@gabenitez

This comment has been minimized.

Copy link

@gabenitez gabenitez commented Sep 5, 2019

Hooly cow! I can see!!!! Im not blind anymore!

@botjaeger

This comment has been minimized.

Copy link

@botjaeger botjaeger commented Sep 16, 2019

how about for linux? Ubuntu perhaps?

@nadoneves

This comment has been minimized.

Copy link

@nadoneves nadoneves commented Sep 17, 2019

Thanks!!!

@AmreeshTyagi

This comment has been minimized.

Copy link
Owner Author

@AmreeshTyagi AmreeshTyagi commented Oct 4, 2019

how about for linux? Ubuntu perhaps?

@botjaeger Are you facing workbench UI issue in Linux?

@xSTinn

This comment has been minimized.

Copy link

@xSTinn xSTinn commented Oct 5, 2019

Thanks!

@botjaeger

This comment has been minimized.

Copy link

@botjaeger botjaeger commented Oct 9, 2019

how about for linux? Ubuntu perhaps?

@botjaeger Are you facing workbench UI issue in Linux?

yes, currently what I did was GTK_THEME="Adwaita mysql_workbench" on my .bashrc

@prepodavatelyat21

This comment has been minimized.

Copy link

@prepodavatelyat21 prepodavatelyat21 commented Oct 17, 2019

Thanks, mate!

@gklsrinivas

This comment has been minimized.

Copy link

@gklsrinivas gklsrinivas commented Oct 23, 2019

Thanks a lot!

@knpaing

This comment has been minimized.

Copy link

@knpaing knpaing commented Oct 24, 2019

Thanks. My eyes sore.

@bibibiu2017

This comment has been minimized.

Copy link

@bibibiu2017 bibibiu2017 commented Oct 26, 2019

Thanks bro!!!!

@mrcndn

This comment has been minimized.

Copy link

@mrcndn mrcndn commented Oct 28, 2019

Thanks man, saved my eyes!!!

@launchriot

This comment has been minimized.

Copy link

@launchriot launchriot commented Nov 6, 2019

Thank you!!

@sreekanth-a1

This comment has been minimized.

Copy link

@sreekanth-a1 sreekanth-a1 commented Nov 21, 2019

Thanks a lot.

@zavierrodriguez

This comment has been minimized.

Copy link

@zavierrodriguez zavierrodriguez commented Nov 21, 2019

Thank you!

@mamadOuologuem

This comment has been minimized.

Copy link

@mamadOuologuem mamadOuologuem commented Nov 27, 2019

Thx ๐ŸŽ‰โค๏ธ

@mind2code

This comment has been minimized.

Copy link

@mind2code mind2code commented Nov 27, 2019

Thank you!

@Jayaram7797

This comment has been minimized.

Copy link

@Jayaram7797 Jayaram7797 commented Nov 29, 2019

Thank you very much ... _/_ _/_ _/_

@JonTurner

This comment has been minimized.

Copy link

@JonTurner JonTurner commented Jan 3, 2020

Thank You!! Now if we could only set the SQL editor in dark mode...

@Friedrich-A

This comment has been minimized.

Copy link

@Friedrich-A Friedrich-A commented Jan 15, 2020

Awesome, thanks!!

@willia5w

This comment has been minimized.

Copy link

@willia5w willia5w commented Jan 19, 2020

Thank you!

@sweardial

This comment has been minimized.

Copy link

@sweardial sweardial commented Jan 22, 2020

Thank you!

@xusman619

This comment has been minimized.

Copy link

@xusman619 xusman619 commented Jan 23, 2020

Thank You !

@jmacd3

This comment has been minimized.

Copy link

@jmacd3 jmacd3 commented Feb 20, 2020

Thank you! Turns out that dark mode support is more than just inverting all of your colors.

@kevindecapite

This comment has been minimized.

Copy link

@kevindecapite kevindecapite commented Mar 6, 2020

I prefer green screen before poorly executed dark mode. Cheers for this!

@lproux

This comment has been minimized.

Copy link

@lproux lproux commented Mar 7, 2020

Thanks, I'll be able not to sear each time I feel like my Functions are colorblind!

@phmdo

This comment has been minimized.

Copy link

@phmdo phmdo commented Mar 25, 2020

Thank You!!!!!!!

@rodrigomguerreiro

This comment has been minimized.

Copy link

@rodrigomguerreiro rodrigomguerreiro commented Mar 29, 2020

Thanks!!! You saved me โœŒ๐Ÿผ๐Ÿ˜

@kemalbalaban

This comment has been minimized.

Copy link

@kemalbalaban kemalbalaban commented Apr 10, 2020

Thanks you so much

@mateuschmitz

This comment has been minimized.

Copy link

@mateuschmitz mateuschmitz commented Apr 17, 2020

Thanks!!

@yjkellyjoo

This comment has been minimized.

Copy link

@yjkellyjoo yjkellyjoo commented Apr 23, 2020

Thank you!!!

@AbdulJabbar-AJ

This comment has been minimized.

Copy link

@AbdulJabbar-AJ AbdulJabbar-AJ commented Apr 26, 2020

Thank you!

@Yacine-Diawara

This comment has been minimized.

Copy link

@Yacine-Diawara Yacine-Diawara commented May 3, 2020

May God Bless You ๐Ÿคฉ

@DalfDev

This comment has been minimized.

Copy link

@DalfDev DalfDev commented May 4, 2020

You saved my eyes

@mytaec

This comment has been minimized.

Copy link

@mytaec mytaec commented May 13, 2020

Thank you very much!!!

@drlorenesi

This comment has been minimized.

Copy link

@drlorenesi drlorenesi commented May 24, 2020

My hat's off to you sir!

In my case I modified your code to run in zsh (default shell for MacOS 10.15)

#!/bin/zsh
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Open Terminal, type in sh /path/to/file and press enter.
#Restart MySQL Workbench after executing this.
@mingcz0301

This comment has been minimized.

Copy link

@mingcz0301 mingcz0301 commented Jun 20, 2020

Thank you!

@oscarmyepes

This comment has been minimized.

Copy link

@oscarmyepes oscarmyepes commented Jun 23, 2020

Thank you!!! ๐Ÿ‘

@RaolBuqi

This comment has been minimized.

Copy link

@RaolBuqi RaolBuqi commented Jul 26, 2020

Thank you!

@robert-meliuz

This comment has been minimized.

Copy link

@robert-meliuz robert-meliuz commented Aug 4, 2020

OMG! Thank you so much! ๐Ÿš€

@zen-lover

This comment has been minimized.

Copy link

@zen-lover zen-lover commented Aug 13, 2020

Thank you. ๐Ÿ™
Now how can i convert it to dark theme?

@zen-lover

This comment has been minimized.

Copy link

@zen-lover zen-lover commented Aug 13, 2020

Thank you. ๐Ÿ™
Now how can i convert it to dark theme?

Oh i find it...
replace yes with no.

@seansabour

This comment has been minimized.

Copy link

@seansabour seansabour commented Sep 14, 2020

Thank you so much ๐Ÿ’ฏ

@tpolishchuk

This comment has been minimized.

Copy link

@tpolishchuk tpolishchuk commented Sep 16, 2020

Thanks a lot! ๐Ÿ‘

@IOSDeveloperSwift

This comment has been minimized.

Copy link

@IOSDeveloperSwift IOSDeveloperSwift commented Sep 18, 2020

thank you so much!!!!

@NavidMitchell

This comment has been minimized.

Copy link

@NavidMitchell NavidMitchell commented Sep 23, 2020

Thanks man!

@cjromb

This comment has been minimized.

Copy link

@cjromb cjromb commented Sep 26, 2020

Thank you thank you!!! I can seeeee again!

@shaffan-kt

This comment has been minimized.

Copy link

@shaffan-kt shaffan-kt commented Sep 30, 2020

Thank you

@s-jcs

This comment has been minimized.

Copy link

@s-jcs s-jcs commented Oct 12, 2020

THANK YOU!!

@effiankit

This comment has been minimized.

Copy link

@effiankit effiankit commented Oct 14, 2020

Thanks, it's much better now.

@c3budiman

This comment has been minimized.

Copy link

@c3budiman c3budiman commented Oct 19, 2020

im suprise, on how many people needing this hahaha. thanks man๐Ÿ‘Œ

@mymborrini

This comment has been minimized.

Copy link

@mymborrini mymborrini commented Nov 13, 2020

Thank you!!

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Jan 4, 2021

Thank you so much !!

@AnaM-Ignat

This comment has been minimized.

Copy link

@AnaM-Ignat AnaM-Ignat commented Jan 25, 2021

Thank you so much for this simple and efficient solution!!!

@computer0112

This comment has been minimized.

Copy link

@computer0112 computer0112 commented Feb 8, 2021

Thanks, is very cool

@Monraz

This comment has been minimized.

Copy link

@Monraz Monraz commented Mar 10, 2021

God bless you with 10 children

@milanzivic

This comment has been minimized.

Copy link

@milanzivic milanzivic commented May 24, 2021

Thank you so much!

@ozzbetto

This comment has been minimized.

Copy link

@ozzbetto ozzbetto commented Jun 5, 2021

Gracias loco!

@stuli-mdsol

This comment has been minimized.

Copy link

@stuli-mdsol stuli-mdsol commented Jul 5, 2021

Thanks man.

@Silby17

This comment has been minimized.

Copy link

@Silby17 Silby17 commented Jul 29, 2021

Thank you! I was starting to loose it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment