4

I can't see debug under org->gtk->settings or I have to install to get that?

4

You will need to install the GTK developer tools first.

sudo apt-get install libgtk-3-dev

Then you will be able to enable the inspector either via the dconf editor, or by executing the terminal command

gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true

You can then launch the Inspector with Ctrl+Shift+i

In my experience, the GTK Inspector takes a very long time to load the first time you launch it after launching your GTK app. But after the initial launch, you can close it and it will relaunch much faster.

  • This package should be part of the iso image. – SeasonedNoob Feb 5 '16 at 16:59
1

The keybinding for Gtk+ Inspector is Ctrl + Shift + i

If it is not working, you can enable it with executing this in terminal
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true

  • I had mentioned in the question that there is no such setting available $ gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true No such schema 'org.gtk.Settings.Debug' – SeasonedNoob Oct 31 '15 at 12:51
  • Should be there in freya. Alternative you could try to run your program with GTK_DEBUG=interactive myprogram – Djax Oct 31 '15 at 13:56
  • it too doesn't work – SeasonedNoob Oct 31 '15 at 18:24
  • I am not able to get this working..any inputs? – SeasonedNoob Dec 11 '15 at 20:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.