WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GTK2 graphics viewer recommendation?  (Read 1931 times)

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
GTK2 graphics viewer recommendation?
« on: February 25, 2020, 07:48:52 AM »
Hi guys,
I like my GTK2 environment with spacefm, leafpad, emelfm2 etc but I haven't found a good GTK2 choice for an all-purpose, lightweight graphics viewer (gif, png, jpg etc).  It looks like gimp2 might be a choice.

Are there any other recommended lightweight viewers for GTK2 you might know?  In a perfect world it would be sweet if the viewer could support emelfm2.

Running Corepure64

thx for your advice
Billy

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GTK2 graphics viewer recommendation?
« Reply #1 on: February 25, 2020, 08:25:59 AM »
Hi Rudock1
I haven't tried them, but in TC10 X86_64 I see:
eog ----- GTK3
feh ----- ?

You could use the  Apps  utility to look for others. If you click the  Search  drop down and change it to  Tags,  then enter  viewer  in
the text box just to the right, you might find others.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: GTK2 graphics viewer recommendation?
« Reply #2 on: February 26, 2020, 12:18:55 AM »
There's gtkimageview in the x86 repo

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GTK2 graphics viewer recommendation?
« Reply #3 on: February 26, 2020, 07:42:38 AM »
Hi Juanito
There's gtkimageview in the x86 repo
I saw that too, but it's not a program. It's a library for creating "A widget that provides a zoomable and panable view of a GdkPixbuf.".
No bins, just libs:
http://tinycorelinux.net/11.x/x86/tcz/gtkimageview.tcz.list

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
Re: GTK2 graphics viewer recommendation?
« Reply #4 on: February 26, 2020, 10:11:41 AM »
Thanks, Rich and Juanito.  I always appreciate your prompt replies.

I've looked around the repository and googled GTK2 image viewers... seems like there isn't a simple lightweight app.  As a workaround, I did set feh to be a default image handler for spacefm and emelfm2 which gets the job done.  However, finding a GTK2 UI like leafpad etc would be perfect.

I might be wrong about an assumption.... if I selected a GTK3 app like inkscape or a gnome app like eog, I have always assumed they pull in whole new dependency trees.  Offhand, do you know if GTK2 and GTK3 share many of the same dependencies?

thx
Billy

Running Corepure64 10.0

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GTK2 graphics viewer recommendation?
« Reply #5 on: February 26, 2020, 10:47:15 AM »
Hi Rudock1
If you select  eog.tcz  in the left panel of the  Apps  utility, and then click on the  Size  tab, you will see a list of all dependencies.
Entries containing a leading  +  sign are not currently installed and will be added if you install the extension. If you scroll to the bottom
of the  Size  tab you will see the "Total size" and the additional amount you need to download with your current setup. Remember,
dependencies are shared resources. If it's already installed because another extension needs it, it doesn't get installed again.

Quote
Offhand, do you know if GTK2 and GTK3 share many of the same dependencies?
You can use the  Size  tab in the  Apps  utility to determine that. Select  gtk3.tcz  then click the  Size  tab to see what's missing.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: GTK2 graphics viewer recommendation?
« Reply #6 on: February 26, 2020, 10:49:43 AM »
Several extensions - atk, cairo, gdk-pixbuf2, pango - are shared by gtk2 and gtk3.

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
Re: GTK2 graphics viewer recommendation?
« Reply #7 on: March 31, 2020, 01:49:48 PM »
For those finding this thread later on, just a quick follow up to reference this perfect solution to my original question:

gpicview extension submitted
http://forum.tinycorelinux.net/index.php/topic,23669

And another thank you to Rich for the extension, you are amazing!

thx
Billy

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: GTK2 graphics viewer recommendation?
« Reply #8 on: March 31, 2020, 02:02:48 PM »
Hi Rudock1
... And another thank you to Rich for the extension, you are amazing!
You are welcome. I would like to add, Juanito deserves a big thank you. He probably built most of the extensions  gpicview  relies on.