Re: [dev] Minimalist software. Should I care?

2023-07-07 Thread Lordkrandel

On 7/4/23 18:06, Nikita Krasnov wrote:
> What would be the point of using minimalist software if
> bloated and excessively complex programs completely
> satisfy all my needs?
Probably your needs don't align with the philosophy.

I also use `Thunderbird`, as I receive HTML emails.
`Firefox`, because well, I have a life and I need it
to pay taxes and whatnot.

But I use `dwm`, `dmenu`, `neovim` (not suckless).
I dislike extra features that I don't understand, or
that work in a way that I cannot change.

I prefer to setup things exactly how I need and understand.
And every time I have a new need, I find it entertaining
and instructive to work my way to a solution.

I have a metaphore for you:
If you had glasses, would you prefer to have a pair that
show you messages, contacts, games (and ads), or to have
surgery so that you will never need glasses anymore?

If you have no social media account, you won't deal with
many notifications. If you have no phone you don't need
a battery charger.

Same way, if you don't need an interpreter because
your code is statically compiled, you remove many of the
cumulative bugs and security issues of the technological
stack.

Sometimes we don't need more features: we try to
eliminate the needs. And it's a strive, a journey,
a diet, not a magical pill.

If it's not your style, feel free to avoid it.

---

Paolo Gatti





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

2023-07-07 Thread Dr . André Desgualdo Pereira
Reporting a progress: I suspect the problem is OpenOffice and LibreOffice 
expect a working Tkinter module for python2.7 but Debian deprecated python2.7. 
So no _NET_WM_NAME is set. 
Weird thing is that somehow the name is set correctly if it cointains a 
japanese character (even with latin letters like ã,á,é,ó, etc) or if it doens't 
contains any of those latin letters. Even with no _NET_WM_NAME setted. 

On 05/07/2023 21:40, NRK wrote:
> On Wed, Jul 05, 2023 at 08:11:39AM -0300, Dr. André Desgualdo Pereira wrote:
> > Also xprop show the window name correctly, but wmctrl shows "N/A".
> 
> You might want to share the full output of xprop. Otherwise just sharing
> the `*_NAME` properties is fine too: `xprop | grep _NAME`
> 
> Since you said it works on debian 11, it might also be useful to share
> the output of them from debian 11 and compare with 12 to see if anything
> changed.
> 
> (Specifically, I'm interested in the "type" of the property. If it's
> anything other than STRING or UTF8_STRING then that might be a hint.)
> 
> - NRK
> 

-- 
Dr. André Desgualdo Pereira
Psiquiatra - CRM/SP: 120218 - RQE: 61032
WhatsApp: (11) 985-847-809 - email: des...@gmail.com
Consultório Lapa: Rua Clélia, 2208 - sala 307
Consultório Santana: Av. Gen. Ataliba Leonel, 93 - sala 61



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

2023-07-07 Thread Dr . André Desgualdo Pereira
lol you are funny. I wish I didn't have to use anything else, it would be so 
much easier.
On 05/07/2023 18:50, Nikita Krasnov wrote:
> > Some window name are incomplete on dwm status (screenshot attached). The 
> > name is "cut" after the first special character (for example: if a window 
> > name is "André Desgualdo Pereira" it will show only "Andr").
> 
> Everyone knows that special characters are bloat, duh. Your system must use
> only use ASCII.
> 
> (sarcasm)
> 
> -- 
> Nikita
> 

-- 
Dr. André Desgualdo Pereira
Psiquiatra - CRM/SP: 120218 - RQE: 61032
WhatsApp: (11) 985-847-809 - email: des...@gmail.com
Consultório Lapa: Rua Clélia, 2208 - sala 307
Consultório Santana: Av. Gen. Ataliba Leonel, 93 - sala 61



Re: [dev] Announcing a couple small X11 utilities

2023-07-07 Thread NRK
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