Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
On Fri, 29 Jan 2021 at 20:02, Kevin Cozens via talk wrote: > > The original question was about a Pi 1 model b. > > > Exactly the same OS distro, though. I don't bother with the 64-bit things on Raspberry Pi, as the community support is with the 32-bit Raspberry Pi OS. --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
On 2021-01-29 7:48 p.m., Stewart Russell via talk wrote: Seems to be built with GTK support here (Raspberry Pi 4): The original question was about a Pi 1 model b. -- Cheers! Kevin. http://www.ve3syb.ca/ | "Nerds make the shiny things that https://www.patreon.com/KevinCozens | distract the mouth-breathers, and | that's why we're powerful" Owner of Elecraft K2 #2172 | #include | --Chris Hardwick --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
On Fri, 29 Jan 2021 at 15:22, Giles Orr via talk wrote: > > What this suggests to me (I'm guessing here, hoping someone can help > me figure it out) is that YAD is compiled with GTK support on Debian > and Fedora, but some other graphical library on the Pi. Seems to be built with GTK support here (Raspberry Pi 4): ldd /usr/bin/yad | grep -i gtk libgtk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-3.so.0 Touch screens - especially small ones - aren't very useful on a Raspberry Pi. X is really hard to make tiny, and there isn't any actively-maintained non-X thing. --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
On 2021-01-29 3:21 p.m., Giles Orr via talk wrote: However - this behaviour isn't replicated on the Pi. It's an old(ish) Debian stretch install on an old Pi B (not Pi 2 B, just "Pi B"). I'm pretty sure that ~/.configs/gtk-3.0/settings.ini is the right file, because when I mis-configured it, 'yad' complained loudly. But it ignores the font setting that works fine on another host. I tried 'yad --font' which throws up what amounts to a GTK font selection dialogue, and "Sans 32" is a valid font on the Pi. Anyone got any ideas on this? Have you checked to see whether the two different versions of Pi are running the same version of gtk? -- Cheers! Kevin. http://www.ve3syb.ca/ | "Nerds make the shiny things that https://www.patreon.com/KevinCozens | distract the mouth-breathers, and | that's why we're powerful" Owner of Elecraft K2 #2172 | #include | --Chris Hardwick --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
On Tue, 11 Aug 2020 at 20:47, Giles Orr wrote: > YAD ("Yet Another Dialog") is a fork of Zenity - essentially a way to > display GTK+ dialogues from shell scripts. I've chosen YAD because it > supports a couple things Zenity doesn't have, namely form buttons and > tabs. I've created an ugly but functional interface that's meant to > go on a 3.5" touch screen on a Raspberry Pi. But here's the problem: > by the time it gets on a screen that small, the buttons are too small > to reliably poke with a finger. So I want to increase the font size. > All that was needed to fix that on my Fedora desktop was: > > # file: ~/.configs/gtk-3.0/settings.ini > [Settings] > gtk-font-name = Sans 32 > > And voila, 'yad' appears with a super-huge font. > > However - this behaviour isn't replicated on the Pi. It's an old(ish) > Debian stretch install on an old Pi B (not Pi 2 B, just "Pi B"). I'm > pretty sure that ~/.configs/gtk-3.0/settings.ini is the right file, > because when I mis-configured it, 'yad' complained loudly. But it > ignores the font setting that works fine on another host. I tried > 'yad --font' which throws up what amounts to a GTK font selection > dialogue, and "Sans 32" is a valid font on the Pi. > > Anyone got any ideas on this? I'm reviving this thread because I think I understand it a bit better and the question is a bit different. I've re-installed the OS (Raspberry Pi 10 instead of Raspbian 9 last time) and the touch screen drivers. The behaviour is precisely the same. I've also confirmed that the problem isn't with Debian: font sizes increase as expected on Debian. But what I've noticed is this: the appearance of YAD on Fedora and Debian is essentially identical, but on Raspberry Pi OS the appearance of the tabs are different, and the buttons - which have rounded corners on Fedora and Debian and occasionally icons - have square corners and no icons. What this suggests to me (I'm guessing here, hoping someone can help me figure it out) is that YAD is compiled with GTK support on Debian and Fedora, but some other graphical library on the Pi. Although - as I established above, YAD still reads the GTK3 configuration file on the Pi - it just doesn't respect it. How can I figure out if this guess is correct? Is recompiling YAD with GTK3 support sane or possible on a Pi (if I'm correct)? Is there another configuration file that might affect the font size? Buying a larger touch screen is a possibility, but the 3.5" screen would be perfect for what I'm trying to achieve so I'd rather not. (Cost isn't a problem ... but obstinance might be.) -- Giles https://www.gilesorr.com/ giles...@gmail.com --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] YAD-Zenity-GTK on Pi - assistance needed
Thanks Giles. Something to learn. -- William Park On Tue, Aug 11, 2020 at 08:47:10PM -0400, Giles Orr via talk wrote: > YAD ("Yet Another Dialog") is a fork of Zenity - essentially a way to > display GTK+ dialogues from shell scripts. I've chosen YAD because it --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
[GTALUG] YAD-Zenity-GTK on Pi - assistance needed
YAD ("Yet Another Dialog") is a fork of Zenity - essentially a way to display GTK+ dialogues from shell scripts. I've chosen YAD because it supports a couple things Zenity doesn't have, namely form buttons and tabs. I've created an ugly but functional interface that's meant to go on a 3.5" touch screen on a Raspberry Pi. But here's the problem: by the time it gets on a screen that small, the buttons are too small to reliably poke with a finger. So I want to increase the font size. All that was needed to fix that on my Fedora desktop was: # file: ~/.configs/gtk-3.0/settings.ini [Settings] gtk-font-name = Sans 32 And voila, 'yad' appears with a super-huge font. However - this behaviour isn't replicated on the Pi. It's an old(ish) Debian stretch install on an old Pi B (not Pi 2 B, just "Pi B"). I'm pretty sure that ~/.configs/gtk-3.0/settings.ini is the right file, because when I mis-configured it, 'yad' complained loudly. But it ignores the font setting that works fine on another host. I tried 'yad --font' which throws up what amounts to a GTK font selection dialogue, and "Sans 32" is a valid font on the Pi. Anyone got any ideas on this? -- Giles https://www.gilesorr.com/ giles...@gmail.com --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk