Running Darktable under Xfce using specific color style/theme
I tried running Darktable (version 1.0.4-1~bpo60+1 from Debian Squeeze-backports) under Xfce, but I am using a fairly light "Style" theme in Xfce which Darktable didn't work too well with. It seems to do some magic to set specific colors in GTK/GNOME dialogs (the file open dialog for "import" being one example), and the two clash resulting in nearly unreadable file listings.
When I switched to a darker theme (I tried Xfce-dusk
, but others worked similarly well), the colors aligned and usage was much smoother. However, I'd rather not switch to a dark color theme just for this one application, and I don't see any obvious way of switching Darktable to a lighter color theme.
I did find mention of the GTK2_RC_FILES
environment variable (set it to the full path to a gtkrc
), which seems to work for e.g. gedit (GTK2_RC_FILES=/usr/share/themes/HighContrastLargePrintInverse/gtk-2.0/gtkrc gedit
works quite nicely and only affects that instance) but it does not seem to have any effect for Darktable. Since changing the global theme does work, there's obviously some way to make this work. So what other magic is needed?
xfce gtk theme
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I tried running Darktable (version 1.0.4-1~bpo60+1 from Debian Squeeze-backports) under Xfce, but I am using a fairly light "Style" theme in Xfce which Darktable didn't work too well with. It seems to do some magic to set specific colors in GTK/GNOME dialogs (the file open dialog for "import" being one example), and the two clash resulting in nearly unreadable file listings.
When I switched to a darker theme (I tried Xfce-dusk
, but others worked similarly well), the colors aligned and usage was much smoother. However, I'd rather not switch to a dark color theme just for this one application, and I don't see any obvious way of switching Darktable to a lighter color theme.
I did find mention of the GTK2_RC_FILES
environment variable (set it to the full path to a gtkrc
), which seems to work for e.g. gedit (GTK2_RC_FILES=/usr/share/themes/HighContrastLargePrintInverse/gtk-2.0/gtkrc gedit
works quite nicely and only affects that instance) but it does not seem to have any effect for Darktable. Since changing the global theme does work, there's obviously some way to make this work. So what other magic is needed?
xfce gtk theme
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I tried running Darktable (version 1.0.4-1~bpo60+1 from Debian Squeeze-backports) under Xfce, but I am using a fairly light "Style" theme in Xfce which Darktable didn't work too well with. It seems to do some magic to set specific colors in GTK/GNOME dialogs (the file open dialog for "import" being one example), and the two clash resulting in nearly unreadable file listings.
When I switched to a darker theme (I tried Xfce-dusk
, but others worked similarly well), the colors aligned and usage was much smoother. However, I'd rather not switch to a dark color theme just for this one application, and I don't see any obvious way of switching Darktable to a lighter color theme.
I did find mention of the GTK2_RC_FILES
environment variable (set it to the full path to a gtkrc
), which seems to work for e.g. gedit (GTK2_RC_FILES=/usr/share/themes/HighContrastLargePrintInverse/gtk-2.0/gtkrc gedit
works quite nicely and only affects that instance) but it does not seem to have any effect for Darktable. Since changing the global theme does work, there's obviously some way to make this work. So what other magic is needed?
xfce gtk theme
I tried running Darktable (version 1.0.4-1~bpo60+1 from Debian Squeeze-backports) under Xfce, but I am using a fairly light "Style" theme in Xfce which Darktable didn't work too well with. It seems to do some magic to set specific colors in GTK/GNOME dialogs (the file open dialog for "import" being one example), and the two clash resulting in nearly unreadable file listings.
When I switched to a darker theme (I tried Xfce-dusk
, but others worked similarly well), the colors aligned and usage was much smoother. However, I'd rather not switch to a dark color theme just for this one application, and I don't see any obvious way of switching Darktable to a lighter color theme.
I did find mention of the GTK2_RC_FILES
environment variable (set it to the full path to a gtkrc
), which seems to work for e.g. gedit (GTK2_RC_FILES=/usr/share/themes/HighContrastLargePrintInverse/gtk-2.0/gtkrc gedit
works quite nicely and only affects that instance) but it does not seem to have any effect for Darktable. Since changing the global theme does work, there's obviously some way to make this work. So what other magic is needed?
xfce gtk theme
xfce gtk theme
asked Feb 17 '13 at 14:22
a CVna CVn
17.2k851106
17.2k851106
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The answer by @WalDo does have its merit: it suggests where to look. The solution which does work is putting your own gtkrc
to ~/.config/darktable/
, but under the same name as the system-wide one: darktable.gtkrc
. Here's how I did it:
ln -sv ~/.gtkrc-2.0 .config/darktable/darktable.gtkrc
After this command my Darktable 1.4 does follow my chosen style Oxygen-GTK2.
This answer is going to soon become obsolete though, since Darktable seems to be switching to GTK3, and GTK3 has its own complications with themes, but you might be able to point Darktable to your own gtk3.css
and have some success.
add a comment |
Try to edit /usr/share/darktable/darktable.gtkrc
(system wide) or copy that file to ~/.config/darktable/darktablerc
(user preferences)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f65088%2frunning-darktable-under-xfce-using-specific-color-style-theme%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
The answer by @WalDo does have its merit: it suggests where to look. The solution which does work is putting your own gtkrc
to ~/.config/darktable/
, but under the same name as the system-wide one: darktable.gtkrc
. Here's how I did it:
ln -sv ~/.gtkrc-2.0 .config/darktable/darktable.gtkrc
After this command my Darktable 1.4 does follow my chosen style Oxygen-GTK2.
This answer is going to soon become obsolete though, since Darktable seems to be switching to GTK3, and GTK3 has its own complications with themes, but you might be able to point Darktable to your own gtk3.css
and have some success.
add a comment |
The answer by @WalDo does have its merit: it suggests where to look. The solution which does work is putting your own gtkrc
to ~/.config/darktable/
, but under the same name as the system-wide one: darktable.gtkrc
. Here's how I did it:
ln -sv ~/.gtkrc-2.0 .config/darktable/darktable.gtkrc
After this command my Darktable 1.4 does follow my chosen style Oxygen-GTK2.
This answer is going to soon become obsolete though, since Darktable seems to be switching to GTK3, and GTK3 has its own complications with themes, but you might be able to point Darktable to your own gtk3.css
and have some success.
add a comment |
The answer by @WalDo does have its merit: it suggests where to look. The solution which does work is putting your own gtkrc
to ~/.config/darktable/
, but under the same name as the system-wide one: darktable.gtkrc
. Here's how I did it:
ln -sv ~/.gtkrc-2.0 .config/darktable/darktable.gtkrc
After this command my Darktable 1.4 does follow my chosen style Oxygen-GTK2.
This answer is going to soon become obsolete though, since Darktable seems to be switching to GTK3, and GTK3 has its own complications with themes, but you might be able to point Darktable to your own gtk3.css
and have some success.
The answer by @WalDo does have its merit: it suggests where to look. The solution which does work is putting your own gtkrc
to ~/.config/darktable/
, but under the same name as the system-wide one: darktable.gtkrc
. Here's how I did it:
ln -sv ~/.gtkrc-2.0 .config/darktable/darktable.gtkrc
After this command my Darktable 1.4 does follow my chosen style Oxygen-GTK2.
This answer is going to soon become obsolete though, since Darktable seems to be switching to GTK3, and GTK3 has its own complications with themes, but you might be able to point Darktable to your own gtk3.css
and have some success.
answered May 21 '17 at 18:06
RuslanRuslan
1,3471326
1,3471326
add a comment |
add a comment |
Try to edit /usr/share/darktable/darktable.gtkrc
(system wide) or copy that file to ~/.config/darktable/darktablerc
(user preferences)
add a comment |
Try to edit /usr/share/darktable/darktable.gtkrc
(system wide) or copy that file to ~/.config/darktable/darktablerc
(user preferences)
add a comment |
Try to edit /usr/share/darktable/darktable.gtkrc
(system wide) or copy that file to ~/.config/darktable/darktablerc
(user preferences)
Try to edit /usr/share/darktable/darktable.gtkrc
(system wide) or copy that file to ~/.config/darktable/darktablerc
(user preferences)
edited Sep 3 '13 at 20:30
Anthon
61.1k17104168
61.1k17104168
answered Sep 3 '13 at 20:05
WalDoWalDo
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f65088%2frunning-darktable-under-xfce-using-specific-color-style-theme%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