Re: [dev] Announcing a couple small X11 utilities

2023-07-08 Thread fossy
> On Thu, Jul 06, 2023 at 03:43:31PM -0400, fo...@dnmx.org wrote:
> > I love such tools.. Is it possible to make something console-based?
>
> Most terminal emulators (I think?) already have some option to
> dump the screen content into some image format. If not, I don't
> think it'd be difficult feature to add to the terminal -
> especially for simple image formats like ppm or farbfeld.
>
> And it makes more sense for it to be done by the terminal
> emulator, since it /already/ has parsed all the escape codes and
> rendered a pixmap - instead of doing it via an external tool
> which would need to duplicate all that work.
>
> - NRK
>

Sure that's cool, but ideally the end-goal would be a TTY, without
X11/Wayland.
In other words: throwing away as much tools/code as possible.
Lowerind attack surface, feeling more minimalist and as such less filthy,
it's
like cleaning a room.





Re: [dev] Help to debug window name with special characters

2023-07-08 Thread NRK
On Thu, Jul 06, 2023 at 10:23:45AM -0300, Dr. André Desgualdo Pereira wrote:
> Second, xprop change from
> WM_NAME(STRING) = "André Desgualdo Pereira.odt - OpenOffice Writer"
> to 
> WM_NAME(STRING) = "André Desgualdo Pereira.odt - OpenOffice Writer"
> and also a new attibute seems to be added:
> _NET_WM_NAME(STRING) = "Andr\303\251 Desgualdo Pereira.odt - OpenOffice 
> Writer"

"\303\251" is a utf8 sequence (in octal) which maps to U+00E9 (é):
https://www.compart.com/en/unicode/U+00E9

DWM (and dmenu) deals specifically with utf8 IIRC. I'm not sure what
encoding those other two are using, but it's probably not using utf8
which is why it's not working.

Try to see if there's some settings in those application (or their
gui libraries) to make them use utf8.

- NRK