To get window ids and names, use xlsclients -l. $ xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" -id 0x380002b Xprop can also select windows by the WM_NAME property (the title bar label) or by window id: $ xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" -name "Spotify Premium - Linux Preview" To do this with xprop, type the following command and click the window afterwards: $ xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" It is a graphical Git client with support. GitKraken, Bitbucket, Tower, GitHub, and Fork are the most popular alternatives and competitors to SourceTree. 'Dark theme' is the primary reason why developers choose GitKraken. ![]() $ cat > $HOME/.config/gnome-terminal/gtk-3.0/settings.ini > $HOME/.bashrcįor non-GTK+ applications like vnc, you can still enforce dark window decorations by setting the _GTK_THEME_VARIANT X property of type UTF8_STRING to dark. GitKraken, Bitbucket, Tower, GitHub, and Fork are the most popular alternatives and competitors to SourceTree. I don't know if this is a feature or a bug.įor GTK+-3 applications, you can enforce the dark theme variant using GtkSettings' settings.ini: $ mkdir -p $HOME/.config/gnome-terminal/gtk-3.0 # the path before gtk-3.0 is arbitrary if nautilus is already running in dark mode then running GTK_THEME=Adwaita:light nautilus will open a new nautilus window but still in dark mode. Also, since this is rather new stuff, some gtk+ 3 applications might not (yet) honor the GTK_THEME environment variable.Ģ: This doesn't seem to work if you already have a running instance of that application e.g. ![]() desktop file) you'll have to prepend env to the command in the Exec line: Exec=env GTK_THEME=Adwaita:dark eog %Uġ: Worth noting that - as per the devs decision - newer gnome-terminal has its own configuration via menu > preferences and it ignores the theme. Note that if you want to use it via a custom launcher (. Likewise, to achieve the opposite (when the default theme is dark), you load the light variant: GTK_THEME=Adwaita:light gedit ![]() So, to load 2 the dark variant you would run: GTK_THEME=Adwaita:dark gedit Theme variant to load, by appending the variant name with a colon, like this: Specified by the gtk-theme-name setting It is also possible to specify a If set, makes GTK+ use the named theme instead of the theme that is As per the gtk+ reference manual: GTK_THEME. scrollbar.vertical slider, scrollbar.With gtk+ ≥ 3.12 you can load a specific theme and its variant (dark, light) on a per-application 1 basis via the environment variable GTK_THEME=theme:variant. Anyway, the fix is not that difficult again, simply put the following into your ~/.config/gtk-3.0/gtk.css (adjusting the width to your liking) and all will be fine: That's all You should see the new theme after restarting SmartGit. ![]() How to use You can install by going to Edit -> Preferences -> User Interface -> Theme -> Custom and select the. I can’t imagine why developers ever come up with such a stupid idea. README.md smartgit-themes Themes for SmartGit application A list of custom themes for SmartGit. Now that might sound like a flashy cool idea, but in fact it is nothing but a PITA: When used with a terminal emulator, the result is that the line length changes when the mouse moves over the vertical scroll bar, and thus suddenly the layout (line break) changes for instant, which is really really disturbing. While not hovered upon, it is rather small, but when the mouse moves over it it expands its width. Just for completeness, here is the CSS code I use in ~/.config/gtk-3.0/gtk.css:Īnother of the disturbing properties of the Breeze theme is the width-changing scroll bar. It turned out that this fix is a bit convoluted, but still possible, see the linked blog. There are only a few glitches with respect to the gtk3 part of the Breeze Dark theme I am using, which needed fixup.Īs I wrote already in a previous blog, the active tab in all kinds of terminal emulators, but in fact everything that uses the gtk3 notebook widget, is not distinguishable from other tabs. It has been now about two weeks that I switched to KDE/Plasma on all my desktops, and to my big surprise, that went much more smooth than I thought.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |