How I can change background color of query editor in Workbench?
I have dark GUI, but how I can make text editor also dark?
I am under Lubuntu, Workbench from repositories.

lubuntu gui accessibility mysql-workbench
add a comment |
I have dark GUI, but how I can make text editor also dark?
I am under Lubuntu, Workbench from repositories.

lubuntu gui accessibility mysql-workbench
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44
add a comment |
I have dark GUI, but how I can make text editor also dark?
I am under Lubuntu, Workbench from repositories.

lubuntu gui accessibility mysql-workbench
I have dark GUI, but how I can make text editor also dark?
I am under Lubuntu, Workbench from repositories.

lubuntu gui accessibility mysql-workbench
lubuntu gui accessibility mysql-workbench
asked Apr 5 '13 at 17:30
Vitaly ZdanevichVitaly Zdanevich
45941635
45941635
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44
add a comment |
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44
add a comment |
2 Answers
2
active
oldest
votes
From bug #1:
Several areas of the workbench seem to be hard coded to having a white background. This basically makes a really good looking tool like MySQL Workbench virtually inaccessible and unusable for me.
(from the bug report)
- http://forums.mysql.com/read.php?153,368243,368346
- http://forums.mysql.com/read.php?152,398334,398512#msg-398512
- Bug #1: http://bugs.mysql.com/bug.php?id=52485
- Bug #2: http://bugs.mysql.com/bug.php?id=64013
But now why Linux owns Windows... bug 2 has this comment:
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:
On Linux, the "WB_FORCE_SYSTEM_COLORS" environment variable was
added. Enabling this variable (with a value of 1) will disable
MySQL Workbench from using its own color scheme.
Example usage:export WB_FORCE_SYSTEM_COLORS=1.
This is useful for certain conditions, like when using the
HighContrastInverse or GnomishDark system themes.
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to.bashrcif it works and you want it permanent.
– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminalexport WB_FORCE_SYSTEM_COLORS=1- zero effect.
– Vitaly Zdanevich
Apr 5 '13 at 19:38
add a comment |
This used to drive me crazy too... until now, I just found an solution that a reddit user posted here: Disable GTK theme for specific application? | reddit
Basically you edit the command to run the workbench app by right clicking on its desktop icon. Then prepend the command field with the following text:
env GTK_THEME=Adwaita
so in full it reads: env GTK_THEME=Adwaita mysql-workbench %f
Click Save, then start the application.
Note that this config you specify will be saved by default in your home folder: .local/share/applications/mysql-workbench.desktop file
So now you can enjoy your desktop dark theme and not suffer using workbench too!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f278274%2fhow-i-can-change-background-color-of-query-editor-in-workbench%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
From bug #1:
Several areas of the workbench seem to be hard coded to having a white background. This basically makes a really good looking tool like MySQL Workbench virtually inaccessible and unusable for me.
(from the bug report)
- http://forums.mysql.com/read.php?153,368243,368346
- http://forums.mysql.com/read.php?152,398334,398512#msg-398512
- Bug #1: http://bugs.mysql.com/bug.php?id=52485
- Bug #2: http://bugs.mysql.com/bug.php?id=64013
But now why Linux owns Windows... bug 2 has this comment:
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:
On Linux, the "WB_FORCE_SYSTEM_COLORS" environment variable was
added. Enabling this variable (with a value of 1) will disable
MySQL Workbench from using its own color scheme.
Example usage:export WB_FORCE_SYSTEM_COLORS=1.
This is useful for certain conditions, like when using the
HighContrastInverse or GnomishDark system themes.
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to.bashrcif it works and you want it permanent.
– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminalexport WB_FORCE_SYSTEM_COLORS=1- zero effect.
– Vitaly Zdanevich
Apr 5 '13 at 19:38
add a comment |
From bug #1:
Several areas of the workbench seem to be hard coded to having a white background. This basically makes a really good looking tool like MySQL Workbench virtually inaccessible and unusable for me.
(from the bug report)
- http://forums.mysql.com/read.php?153,368243,368346
- http://forums.mysql.com/read.php?152,398334,398512#msg-398512
- Bug #1: http://bugs.mysql.com/bug.php?id=52485
- Bug #2: http://bugs.mysql.com/bug.php?id=64013
But now why Linux owns Windows... bug 2 has this comment:
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:
On Linux, the "WB_FORCE_SYSTEM_COLORS" environment variable was
added. Enabling this variable (with a value of 1) will disable
MySQL Workbench from using its own color scheme.
Example usage:export WB_FORCE_SYSTEM_COLORS=1.
This is useful for certain conditions, like when using the
HighContrastInverse or GnomishDark system themes.
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to.bashrcif it works and you want it permanent.
– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminalexport WB_FORCE_SYSTEM_COLORS=1- zero effect.
– Vitaly Zdanevich
Apr 5 '13 at 19:38
add a comment |
From bug #1:
Several areas of the workbench seem to be hard coded to having a white background. This basically makes a really good looking tool like MySQL Workbench virtually inaccessible and unusable for me.
(from the bug report)
- http://forums.mysql.com/read.php?153,368243,368346
- http://forums.mysql.com/read.php?152,398334,398512#msg-398512
- Bug #1: http://bugs.mysql.com/bug.php?id=52485
- Bug #2: http://bugs.mysql.com/bug.php?id=64013
But now why Linux owns Windows... bug 2 has this comment:
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:
On Linux, the "WB_FORCE_SYSTEM_COLORS" environment variable was
added. Enabling this variable (with a value of 1) will disable
MySQL Workbench from using its own color scheme.
Example usage:export WB_FORCE_SYSTEM_COLORS=1.
This is useful for certain conditions, like when using the
HighContrastInverse or GnomishDark system themes.
From bug #1:
Several areas of the workbench seem to be hard coded to having a white background. This basically makes a really good looking tool like MySQL Workbench virtually inaccessible and unusable for me.
(from the bug report)
- http://forums.mysql.com/read.php?153,368243,368346
- http://forums.mysql.com/read.php?152,398334,398512#msg-398512
- Bug #1: http://bugs.mysql.com/bug.php?id=52485
- Bug #2: http://bugs.mysql.com/bug.php?id=64013
But now why Linux owns Windows... bug 2 has this comment:
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:
On Linux, the "WB_FORCE_SYSTEM_COLORS" environment variable was
added. Enabling this variable (with a value of 1) will disable
MySQL Workbench from using its own color scheme.
Example usage:export WB_FORCE_SYSTEM_COLORS=1.
This is useful for certain conditions, like when using the
HighContrastInverse or GnomishDark system themes.
answered Apr 5 '13 at 17:40
RinzwindRinzwind
206k28394526
206k28394526
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to.bashrcif it works and you want it permanent.
– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminalexport WB_FORCE_SYSTEM_COLORS=1- zero effect.
– Vitaly Zdanevich
Apr 5 '13 at 19:38
add a comment |
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to.bashrcif it works and you want it permanent.
– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminalexport WB_FORCE_SYSTEM_COLORS=1- zero effect.
– Vitaly Zdanevich
Apr 5 '13 at 19:38
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
Where I need to write this?
– Vitaly Zdanevich
Apr 5 '13 at 18:34
You can do this command line for testing. You can add it to
.bashrc if it works and you want it permanent.– Rinzwind
Apr 5 '13 at 18:35
You can do this command line for testing. You can add it to
.bashrc if it works and you want it permanent.– Rinzwind
Apr 5 '13 at 18:35
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
here are some methods in adding env vars: help.ubuntu.com/community/EnvironmentVariables (the .desktop file might be the one you also need to do this from the launcher)
– Rinzwind
Apr 5 '13 at 18:41
I typed in Lubuntu terminal
export WB_FORCE_SYSTEM_COLORS=1 - zero effect.– Vitaly Zdanevich
Apr 5 '13 at 19:38
I typed in Lubuntu terminal
export WB_FORCE_SYSTEM_COLORS=1 - zero effect.– Vitaly Zdanevich
Apr 5 '13 at 19:38
add a comment |
This used to drive me crazy too... until now, I just found an solution that a reddit user posted here: Disable GTK theme for specific application? | reddit
Basically you edit the command to run the workbench app by right clicking on its desktop icon. Then prepend the command field with the following text:
env GTK_THEME=Adwaita
so in full it reads: env GTK_THEME=Adwaita mysql-workbench %f
Click Save, then start the application.
Note that this config you specify will be saved by default in your home folder: .local/share/applications/mysql-workbench.desktop file
So now you can enjoy your desktop dark theme and not suffer using workbench too!
add a comment |
This used to drive me crazy too... until now, I just found an solution that a reddit user posted here: Disable GTK theme for specific application? | reddit
Basically you edit the command to run the workbench app by right clicking on its desktop icon. Then prepend the command field with the following text:
env GTK_THEME=Adwaita
so in full it reads: env GTK_THEME=Adwaita mysql-workbench %f
Click Save, then start the application.
Note that this config you specify will be saved by default in your home folder: .local/share/applications/mysql-workbench.desktop file
So now you can enjoy your desktop dark theme and not suffer using workbench too!
add a comment |
This used to drive me crazy too... until now, I just found an solution that a reddit user posted here: Disable GTK theme for specific application? | reddit
Basically you edit the command to run the workbench app by right clicking on its desktop icon. Then prepend the command field with the following text:
env GTK_THEME=Adwaita
so in full it reads: env GTK_THEME=Adwaita mysql-workbench %f
Click Save, then start the application.
Note that this config you specify will be saved by default in your home folder: .local/share/applications/mysql-workbench.desktop file
So now you can enjoy your desktop dark theme and not suffer using workbench too!
This used to drive me crazy too... until now, I just found an solution that a reddit user posted here: Disable GTK theme for specific application? | reddit
Basically you edit the command to run the workbench app by right clicking on its desktop icon. Then prepend the command field with the following text:
env GTK_THEME=Adwaita
so in full it reads: env GTK_THEME=Adwaita mysql-workbench %f
Click Save, then start the application.
Note that this config you specify will be saved by default in your home folder: .local/share/applications/mysql-workbench.desktop file
So now you can enjoy your desktop dark theme and not suffer using workbench too!
answered Jan 19 at 19:37
Al3nMicLAl3nMicL
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f278274%2fhow-i-can-change-background-color-of-query-editor-in-workbench%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please test the solution (my system is updating and stalled ... so I need to fix that 1st before I can test the env setting) :)
– Rinzwind
Apr 5 '13 at 17:44