Themeing and GTK4 #182
Replies: 8 comments 13 replies
-
https://blog.linuxmint.com/?p=4586 Don't know yet. |
Beta Was this translation helpful? Give feedback.
-
Mint 22 is going to be an important release where the developers have to make some pretty big choices (not only theming related). Libadwaita could be themed with Gradience program, but it's generally advised against making distro wide theming for that - https://stopthemingmy.app/ |
Beta Was this translation helpful? Give feedback.
-
Just to clear something up. Gtk4 isn't an issue. It themes the same way Gtk always has and Mint's themes support it. The issue is only with apps built using libadwaita. That unfortunately accounts for many apps under the GNOME umbrella. |
Beta Was this translation helpful? Give feedback.
-
We can fork the terminal and system monitor. |
Beta Was this translation helpful? Give feedback.
-
Kay so playing around with libadwaita-without-adwaita (read the pinned comment) gives mixed results but not as broken as expected. The broken looks seem to be mostly caused by the lack of support of Mint-Y for the new libadwaita widgets/style classes. |
Beta Was this translation helpful? Give feedback.
-
Mint offers too much theming in my opinion. I suggest to introduce a file format to change appearance for both system and apps. Css would be a great format for theming, eg I just hope to get consistent, not white windows in my dark theme in future too. Most important theming elements are:
|
Beta Was this translation helpful? Give feedback.
-
This is perhaps already known, but this is new to me. I just discovered that if a theme has GTK-4 support, you can add a .pam_environment file with the following line: GTK_THEME=name-of-gtk-theme, then log out/in or reboot, and libadwaita apps seem to adopt the gtk theme fairly well. At least it looks closer to the system theme than libadwaita's default theme does. Could a function be added to System Settings > Themes to automatically add this line to .pam_environment, and perhaps somehow automatically restart the wm so you don't have to log out/in or reboot? |
Beta Was this translation helpful? Give feedback.
-
The other day I studied the CSS stylesheets of Mint-Y which made me think, wow, how should theming work, if you can't modify the rules without visual feedback in real time! Also, I tried to copy theme resources into Currently I maintain a CSS stylesheet for Obsidian, which is fun and easy in comparison. Obsidian gives you a developer console and tools to interact dynamically and nicely with all elements of the graphical user interface, with immediate visual feedback when you modify CSS rules. Such tools are useful and the way theming should work, otherwise it's no work but just pain, imo. Mint would need an exhaustive wiki to give interested parties the tools to theme Mint from start and finish to mitigate the friction of this complex building process - in absence of a interactive console or a theme editor. Alternatively, also a bash script could be a generic theme editor, at least to build the basics. Mint's main landing page should give indications how to build a theme from scratch, at least giving the right paths and specifications for folks able to deal with code. I checked the documentation on https://www.linuxmint.com/documentation.php but didn't find anything about theming. Maybe I didn't check too thoroughly. Theming Mint wouldn't be so interesting for me, if all themes would support the same amount of features. Example, Mint-Y is OK but doesn't come with the same variety of emblems like ePapirus, also mime-types in Mint-Y are very generic for the most part, at least for the files I use. That's a pity. On the other hand, ePapirus doesn't support the Nemo plugin **folder color switches which is so useful to highlight the status of folders. ePapirus |
Beta Was this translation helpful? Give feedback.
-
Hello. What are the plans, now that GTK4 and libadwaita are used more often, for themeing in Linux Mint?
Will you ditch full themeing or parts of it? Is there anything on the cutting board? I hope not.
GTK4 does support themes, but libadwaita doesn't - it may be possible with some clever hacks.
Though, GTK4 doesn't support menus anymore. Are we going to do an extension?
Beta Was this translation helpful? Give feedback.
All reactions