Gnome tweaks 42 removes duplicate settings - linux

Gnome 42 just removed duplicate settings from it which included the Applications theme.
42.beta
Beta release.
GNOME Tweaks 42 focuses on removing tweaks which are now duplicated by
Settings. Additionally, Tweaks 42 marks the GTK theme tweak as "Legacy".
In GNOME 42, the "Legacy Applications" setting will only apply to some
GTK3 apps and a limited set of GTK4 apps. Most core GNOME apps will
instead respect the user's dark and light mode preference via libadwaita.
Users interested in theming can continue to do so using more advanced
options such as the GTK_THEME environment variable
This is from the tweak tools github repo, now that applications is gone i cant change themes for my non legacy gnome applications. How can i apply themes for that, Someone please help.

Settings > Appearance > Style
Now all the updated gnome apps will respect theming from settings and things that are still using gtk3 will use the setting in tweaks

Related

Libadwaita on windows 10 & 11

I am new to GTK development. I started using GTK4 and it is really grea. As far as I understand libadwaita is used for reflecting dynamic system changes of colors (light/dark/contrast, etc) in a GTK4 application. This is system solution and if so, I think it's great. Instead of having custom based stylesheets the application will behave according to the system settings. At least on Linux.
My question is: is Libadwaita available for windows systems (my app should react on system changes on windows 10 & 11, as well) and if awailable how to use it? Github for libadwaita constains an example how to create application (HelloWorld) but it is disabled for MS Visaul Studio.
Is libadwaita only for Linux? If so, how to keep code portable?
Yes it is, for Visual Studio 2015 or later on the libadwaita-1-1 and later branches. Be sure to pass in -Dc_std=c99 if using VS2017 or 2015, and use -Dvapi=false unless you have Vala installed when you run Meson to configure the build (the dependencies should be aligned with GTK-4.6+) Run Ninja, and you should be good to go.
The sample program was (purposely) not updated to build with Visual Studio, but there is still adwaita-1-demo.exe that is being built.
The “system settings” would, by the way, depend on how you set up things via GSettings, which would in turn be done in the system registry. You need to install the gsettings-desktop-schemas package (it is also built with Meson and works with Windows), and run gsettings set org.gnome.desktop.interface color-scheme prefer-dark, and you would get the dark theme that you were asking for.
Hope this helps.

Show/Hide Menu underline accelerators with PyQt according to platform integration

I am trying to make a PyQt application work as the other Qt applications I have on my system (i am on KDE plasma on linux).
A notable difference is that in the application I am making the accelerator character for the menu entries always appears underlined while in all the other Qt applications I have on my system the underlining only appears when the ALT key is pressed (e.g. in KDE okular). I see that other PyQt application seem to have the same behavior as mine (e.g., spyder).
The Qt reference guide says that Qt should automatically manage the underlining according to the platform integration, but this does not seem to be the case with my PyQt app.
Does someone know why this is the case and how to obtain the platform standard behavior?

WebStorm 2018.3: project tool window colours?

Is it possible to configure the foreground/background colours of the WebStorm Project Tool Window? I have been unable to find the settings.
No, as it's defined in UI theme. UI themes (used for dialogs, tool windows, etc.) are Java Look&Feels. This is a standard way to style Swing applications. As such, they are hardcoded and can't be changed easily.
Note that it's technically possible to install any third-party L&F into JVM and use it in WebStorm ( see http://docs.oracle.com/javase/tutorial/uiswing/index.html, https://weblogs.java.net/blog/kirillcool/archive/2005/08/intellij_idea_5.html for instructions). Custom themes can also be implemented as plugins, like Material UI and Afterglow Theme - you can give them a try.
Note that we’re working on a feature allowing themes customization in IntelliJ Platform. Please follow IDEA-132299 to get updates.

Eclipse config locations on linux

I'm using eclipse Mars.1 JEE with CDT on CentOS 7 Gnome Classic and I'm wondering where eclipse saves configs and plugins. The reason is that I had the following problem and I'd like to understand.
I installed a plugin to apply external themes (Eclipse Colo Theme) and I changed the colors. I didn't like the plugin and removed it but I didn't set the colors back. After some time I found code snippets which where not readable because of the colors. But I forgot about the plugin and the changes I applied. I tried to solve the problem and looked for a solution but I found no solution. I downloaded eclipse, extracted it in the downloads folder and started it. The problem was there, too. And also my proxy configs. So I installed the plugin, reverted my changes and checked both eclipse folders. Both versions were fixed. So both versions check a central location on my system for configs, themes and plugins.
I found ~/.eclipse but it doesn't seem like there is a config. Are there other places were eclipse saves a config, even when I use a portable eclipse version?
Most preferences like theme, color and fonts, etc. are stored in the subfolder .metadata of the workspace.
If you switch to another workspace (File > Switch Workspace > ...) you will see, which preferences are workspace specific and which are not.
In some cases, the Restore Defaults button in the Preferences dialog (e. g. in Window > Preferences: General > Appearance > Colors and Fonts) can be used to restore the default preferences.

Qt Creator won't allow me to run GUI Application

I am currently using Qt Creator on Ubuntu Linux 12.10, and I have just started a Qt GUI application. When I click the design tab, I come to this screen:
As you can see, the Build and Run buttons on the bottom left are greyed out, and I don't understand why. I have searched across the web already, and have found nothing. Can anybody give me a clue as to why this is happening? Have I done something wrong?
My QT Creator version is:
Qt Creator 2.5.2
Based on Qt 4.8.2 (64 bit)
Built on Aug 19 2012 at 15:28:17
The only reason that I switched to Qt Creator is that Qt Designer cannot build applications, or edit their source code. Are the two meant to be used together? If so, how?
You are in the "design" realm, goto the "edit" or "debug" pane.
By looking at the little computer-shaped icon, just above the run, debug and build buttons on the bottom left corner, it seems to me that either you may have not set up a version of the Qt properly, or you haven't selected one at all. Therefore no compilation is possible
If you have installed the Qt Libraries, then you will need to "add" them to the QtCreator properteies.
In QtCreator go to Tools->Options-> Qt (or Qt Versions) and add a valid version of the qt libraries by selecting the path to the appropriate qmake.
If you are still having issues, I would recommend installing the Nokia-QtSDK, as it bundles the Qt libraries for different platforms (Desktop, Meego, Symbian, etc.) and it requires no extra set up.
Looking at the title bar of Qt Creator it looks like you only created (or opened) a .ui file. To compile something you need a project (a .pro file). Click File -> New and choose Application -> Qt Gui Application.
Check whether you have configured the tool chains required. You will need to provide paths for gcc compiler and qmake for building applications from Qt Creator. Check the settings in Tools->Preferences.

Resources