Page 1 of 1

Is gxmessage scrollable? <Yes - Solved>

Posted: Wed Jan 24, 2024 11:03 pm
by Trapster

I have output being directed to gxmessage that's longer (height) than the window.
I can't find any info to make the window scroll.

If not, any other simple alternatives?


Re: Is gxmessage scrollable?

Posted: Thu Jan 25, 2024 12:00 am
by don570

Xdialog has a restriction of the number of characters

https://oldforum.puppylinux.com/viewtopic.php?t=114156


GTKDIALOG and YAD are popular.



Re: Is gxmessage scrollable?

Posted: Thu Jan 25, 2024 11:54 am
by mikewalsh

@Trapster :-

It should be......at least, it is for me.

I'm starting to use gxmessage quite a bit for 'Help' windows when I build packages. If there's a lot of info to display, gxmessage respects the screen dimensions, makes itself into a window that fits the screen and becomes scrollable.

[Click to enlarge:-]

Image

See what I mean? Is yours not behaving like this?

Mike. :?


Re: Is gxmessage scrollable?

Posted: Thu Jan 25, 2024 11:57 am
by MochiMoppel
Trapster wrote: Wed Jan 24, 2024 11:03 pm

I have output being directed to gxmessage that's longer (height) than the window.
I can't find any info to make the window scroll.

gxmessage already scrolls by default.
If the window is too large for your screen you can make it smaller.

Example: gxmessage -geometry 400x600 -file /tmp/bootkernel.log results in

gxmessage_scroll.png
gxmessage_scroll.png (82.75 KiB) Viewed 232 times

AFAIK there is no way to avoid scrolling - apart from reducing font size or content.


Re: Is gxmessage scrollable?

Posted: Thu Jan 25, 2024 1:07 pm
by Trapster

This is on my server that is running puppy 4.10.
I just found that gxmessage is linked to xmessage.

I may have to upgrade but I don't think that system likes gtk-3

Code: Select all

xmessage.c,v 1.6 95/01/04 16:29:54 gildea Exp $

Off to google.

Thanks guys!


Re: Is gxmessage scrollable?

Posted: Thu Jan 25, 2024 9:32 pm
by Trapster

I finally got it.
Could not use current/latest gxmessage due to glibc problems.
I found this site full of series 4 goodies and the gxmessage pet worked right away.

https://ftp.nluug.nl/os/Linux/distr/pup ... ackages-4/

Image