Re: FVWM: fvwm3?

2024-02-09 Thread hw
On Thu, 2024-02-08 at 21:02 +1000, Stuart Longland wrote:
> On 8/2/24 13:51, hw wrote:
> > It has become a very limited option years ago and is basically
> > obsolete.  Just try to run, for example, firefox on a remote host via
> > X11 forwarding.  I suspect that anything that might use acceleration
> > powers of a graphics card doesn't work, and that kinda leaves only
> > xterm which would be pointless.  It also has always been rather slow
> > (slow on a 1 gigabit network and up to unusably slow over internet
> > (VPN)) and was never a good option.
> 
> Oddly enough, it *does* work, even via SSH over a WAN link, with a few 
> caveats.
> 
> 1. you must start with `--new-instance` if you have Firefox running on 
> your local workstation as well; otherwise it'll "talk" to your local 
> Firefox instance and tell *it* to open a new window
> 2. there'll be some noticeable lag, forget watching videos

Last time I tried it didn't work at all.  And what's the point when
it's so slow that it's useless.

I guess you can still try to do some web browsing with lynx as well :)




Re: FVWM: fvwm3?

2024-02-09 Thread hw
On Thu, 2024-02-08 at 18:10 +, Thomas Adam wrote:
> On Thu, Feb 08, 2024 at 05:50:44AM +0100, hw wrote:
> > I still don't see why it shouldn't be possible.  I never expected a
> > port, and I understand that the architectures of X11 and Wayland are
> > very different.  Yet why shouldn't it be possible to create a
> > compositor that provides the configurability fvwm has and which is so
> > badly lacking in Gnome and KDE?
> 
> Absolutely it is possible.  But then it wouldn't be fvwm.
> 
> > Is it really impossible to create a wayland compositor that provides
> > the required functionality?
> 
> I'm not entirely certain you've understood the points in my original email.

Maybe --- I don't understand why it shouldn't be possible to make am
fvwm that works with wayland.  I can understand that wayland refuses
to manage windows which might make it difficult to do that, yet it
seems to work with gnome.

> I also don't want to repeat myself, but...
> 
> To me, the things which make fvwm unique, are:
> 
> 1.  Its architecture is tied to X11 -- it uses Xlib directly to render window
> frames.  This is all using Xlib's graphics backend which has a large array of
> 2d drawing routines.  There's not a separate library which can be used to
> abstract this out to be used elsewhere -- this is the entire point of the
> client/server model in X11.
> 
> The only thing which comes close is libcairo (built on pixman) -- and you can
> use that with a wlroots-based compositor to generate "SSDs" within a
> compositor -- but this doesn't work well for fvwm because it doesn't allow for
> shading when filling in rectangles, as well as various other things.
> 
> This is important because, for me, the entire point of fvwm is that it can be
> made to look like MWM.  I'm serious here -- all of that blocky (even "ugly",
> as some people have called it) looking borders is important to me, that's what
> I like.

Are you saying it's impossible with wayland to draw stuff like window
decorations on a display and only X11 can do it?  It seems to work
just fine with gnome.

> 2.  Even if 1., were a solved problem, the second issue is a lack of
> reparenting.  This is a core feature of xlib, and fvwm makes extensive use of
> it to be able to function.  It makes things like resizing and moving windows
> easier.  It's also very important for FvwmButtons; the "Swallow" command calls
> XReparentWindow() directly.
> 
> I'm really dumbing-down the explanation here, but it's not possible on Wayland
> at present.  I suspect it will never be.
> 
> Now, even if the graphics side of things from point 1 above were currently
> possible under Wayland, the lack of reparenting means you're having to move
> the window frame along with the window itself -- the two are not "connected",
> which causes all manner of weird glitches.

That doesn't seem to be an issue; I can move windows in gnome.

> 3.  Lack of standards a la ICCCM/EWMH
> 
> Fvwm is the exemplar project for how implementing standards helps
> interoperability rules for window governance.  Again, because of the X11
> architecture, the XServer would make this easy.  Under Wayland, there's
> "portals" but they're now selective about what's being implemented.  So things
> like aspect-ratio resizing doesn't have a portal.   There's so much in the
> EWMH which makes fvwm behave the way it does with applications, until that's
> addressed -- or if it ever is -- you'll probably notice lots missing from a
> potential fvwm-compositor under Wayland.

What I'm missing in gnome is configurability, and not only in regard
to the window manager (and it doesn't really matter if it's called a
compositor).  So I don't see how ICCCM/EWMH would be relevant; I can
only assume they aren't available with wayland, and yet things are
working without.

> Let's not forget though that fvwm being a reparenting window manager was
> always making it an outlier.

So does that mean that reparenting is a feature almost no window
manager made use of except fvwm?  Haven't they been able to do their
job because they didn't use this feature?

> Widget libraries like GTK and QT have gone way beyond just providing
> UI components -- they're now also responsible for CSDs and a myriad
> of other crap -- and when you put that into context of what a
> Wayland compositor needs to do -- it has fewer options.  Styling and
> theming becomes the same across Wayland compositors.  So you're
> losing out on a lot with the Wayland architecture being what it is,
> alas.

Isn't it one of the purposes of such libraries that GTK looks like GTK
and QT looks like QT?  The software that doesn't use them also looks
like it doesn't (i. e. like Xlib or xaw).  And are you being forced to
use these libraries?

> So Wayland is going to be dominated by Gnome and KDE.

I thought it's the other way round.

> Yes, they'll be smaller tiling-only WMs on Wayland, but they'll all
> look the same.
> 
> So I hope this answers your question.  I shan't be replying to any more 

Re: FVWM: fvwm3?

2024-02-09 Thread hw
On Thu, 2024-02-08 at 12:38 -0800, mark_at_yahoo wrote:
> On 2/7/24 20:09, hw wrote:
> > On Sat, 2024-02-03 at 13:53 +0100, Lucio Chiappetti wrote:
> > > I hope to be able to go on with Xorg until I live.
> > 
> > Or use wayland and start living now :)  Living in the past seldwhen is
> > a good idea.
> Except when the past is better: More capable, complete, and highly 
> evolved architectural design. Read and understand Thomas' posts.

Is it really better?  It seemed to me that wayland scales better in
that it leaves each program to work on its own and sending the results
of its work to what they call a compositor that pieces it all together
whereas Xorg requires a server process to do it all which could be a
bottleneck.

> Wayland improves performance over X11's client-server model?

Does it?

> Fine. If it wasn't possible to streamline X11 (I'm not convinced)
> then do the full redesign ... but include all the capabilities of
> the ICCCM and EWMH APIs. Even via an alternate, lower performance,
> internal path if necessary.

Who is gona do that?  IIUC there are obsolete things that must be
supported because the protocol requires them, and apparently the
protocol is set in stone.  That seems to prevent a redesign, and what
would be the advantage of reinventing the wheel in exactly the same
undesirable way?

On of top that, it might be rather difficult to add new features for
technical reasons and simply because nobody really wants to that
anymore.

> As I said before, Wayland sucks. If for no other reason that it will 
> force me to use bloated, crap window managers (excuse me: "Desktop 
> Environments").

You're being forced to use them anyway.  The problem is not a
particular window manger but other software as well since that
software has made it impossible to do basic things like adjusting the
font size, and it tends to depend on other software which is part of
such so-called desktop environments.  For example, try to use
Evolution without gnome-keyring or kmail without akonadi, and try to
get the fonts readable without gnome or kde.

You can more or less do the things you do with software that doesn't
depend on a so-called desktop environment, but not really, and what
you can still do is more complicated and difficult than just using the
software that works with the so-called desktop environment.  Having to
either hold a magnifying glass in front of the screen to be able to
read the fonts or using software that isn't up to the task isn't the
only problem, only a very annoying one.

> Either that or primitive tiling ones (talk about living in the
> past).

So you're arguing that not using a so-called desktop environment, like
instead of fvwm, means you're living in the past.  Maybe try sway or
i3 and you'll understand that they aren't primitive at all.

> But I guess I'll be able to play live, alpha-blended video as the
> background in a terminal window -- a nightmare, I mean utopian
> dream, I never knew I had or needed.

Maybe --- as long as you're not being forced to do such things, it's
fine.