1

Previously, my laptop used Ubuntu 14.04 without trouble, but after passing to Ubuntu 16.04 (not upgrading, but formatting), I've some rendering problems. Since I cannot put here specific details because I don't know what is exactly happening, I'm searcher for the error yet.

My current assumption is that, the rendering issues are only affecting gtk applications (for example, some PDF images are being rendering poorly in evince, but not in Okular).

What I want to know if there's a way to know, in the easiest way as possible, if an application is a gtk or Qt one, to open different applications, see which shows bad rendering, and which library has been use to build that software.

  • 1
    Rather than assuming that it's a gtk/qt problem, why don't you tell us more about your specific problem. Edit your question to include some screenshots. Cheers, Al – heynnema Oct 22 '16 at 0:15
  • 1
    You might make use of ldd to see which dynamic libraries the binary links: for example ldd $(which evince) | grep 'gtk\|qt' – steeldriver Oct 22 '16 at 0:36
  • 1
    Actually, Qt applications have uppercase letters so you would grep for 'gtk\|Qt'. Since libraries can be load at runtime, it might be more reliable to just start the program and inspect paths to the mapped files using pmap -p $pid | grep 'gtk|Qt' – Lekensteyn Oct 22 '16 at 9:51
1

An application can use Qt and Tk and Gtk (despite this is generally -but not always- a very bad practice).

So the only way is to start the app and examine pmap output using app's pid, as Lekensteyn proposed in the comment.

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.