Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 21537  / 2 Years ago, tue, november 8, 2022, 11:57:21

What makes me feel good in Linux is customization. I've recently tested some great themes for Gnome Shell. They're really great, but sometimes I don't like some part of them. I looked into the files and found out that the themes are CSS-based. I know CSS, but I don't which classes or IDs refer to which parts of the screen.



Is there any reference or guide for theming Gnome Shell? (not GTK3)


More From » gnome

 Answers
5

This is kind of an old question, Anyway there is a new GTK GUI inspection tool added with GTK v3.14.




GtkInspector is the built-in interactive debugging support in GTK+. It was added in GTK+ 3.14, based on a copy of the well-estabished gtkparasite.



To enable the debugger, either start your app with GTK_DEBUG=interactive in your environment, or run gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true and launch the debugger with the ControlShiftI or ControlShiftD keyboard shortcuts.




Source: Gnome Projects: GtkInspector



It is more convenient to know the runtime GUI shell directly than following code, as many applications out there using chunks to construct GUI dynamically.



I didn't need to use the shortcut running for example GTK_DEBUG=interactive gedit brings up the GTK Inspector.



enter image description here


[#42806] Wednesday, November 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ouschee

Total Points: 485
Total Questions: 88
Total Answers: 106

Location: Central African Republic
Member since Mon, Aug 10, 2020
4 Years ago
;