Live data from Hacker News

Accidentally making windows vanish in my old-fashioned Unix X environment

utcc.utoronto.ca

11–20 of 27 posts

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#11
post #10

Never understood the point of "a desktop" because of this. Why bother to have programs you only use on-demand just sitting there? The same thing, that I find more useful, can be achieved by actually running the programs you need (through a run menu) and just having them exist. Windows are my desktop icons, I don't need what I don't use. (I use fluxbox with rofi)

There's more than one preference on how to do things.

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#12
post #8

On Windows, there is "Move" menu item in shift+right click context menu on taskbar icons. Selecting this item, then pressing left/right/up/down key brings window immediately into closer edge of valid desktop area, with mouse pointer sent to that window titlebar. This item existed since at least OS/2, and although it was not found in early version of Windows 11 new taskbar, it has since been re-implemented. I know bec…

I believe that is only available for native Windows apps. Alt-Space was the keyboatd shortcut for it, very useful if the window had moved so far offscreen that you could not reach it with the mouse.

However, this doesn't seem to work with the newer Electron style apps, like Teams. They do not appear to follow the classic Windows patterns.

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#13
post #8

On Windows, there is "Move" menu item in shift+right click context menu on taskbar icons. Selecting this item, then pressing left/right/up/down key brings window immediately into closer edge of valid desktop area, with mouse pointer sent to that window titlebar. This item existed since at least OS/2, and although it was not found in early version of Windows 11 new taskbar, it has since been re-implemented. I know bec…

I believe that is only available for native Windows apps. Alt-Space was the keyboatd shortcut for it, very useful if the window had moved so far offscreen that you could not reach it with the mouse. However, this doesn't seem to work with the newer Electron style apps, like Teams. They do not appear to follow the classic Windows patterns.

Yeah, there's some delineation in those apps. I notice the same behavior when I hover over the "maximize window" icon in Windows 11 and some apps show an outline of the options of I have but electron apps including chrome

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#14
post #5

I like this quirkiness of X window managers also. Some (like fvwm) will do exactly what you tell it to do, no more, no less. Sad to see these type quirks will go away when Linux moves completely to Wayland.

> Sad to see these type quirks will go away when Linux moves completely to Wayland. I started using Linux when I was 25 or so. I'm 51 now. I do believe there's a far from zero probability that X is going to outlast me... Even if I live until 80! P.S: and the day X dies, in decades, I do also think it's possible that, at long last, Wayland shall be as customizable and allows to do all the amazing thing X allows to do.

Unfortunately, I don't share your optimism. Judging by the fiasco that systemd is and how it managed to completely win over init scripts, even the opensource world is not immune to fashion / politics / ...

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#15

Earlier quoted context omitted.

> Sad to see these type quirks will go away when Linux moves completely to Wayland. I started using Linux when I was 25 or so. I'm 51 now. I do believe there's a far from zero probability that X is going to outlast me... Even if I live until 80! P.S: and the day X dies, in decades, I do also think it's possible that, at long last, Wayland shall be as customizable and allows to do all the amazing thing X allows to do.

Unfortunately, I don't share your optimism. Judging by the fiasco that systemd is and how it managed to completely win over init scripts, even the opensource world is not immune to fashion / politics / ...

I miss writing sysvinit scripts exactly never.

Even if you were building a system for which init stages would be immutable, forever sealed and unchanging, determining the correct ordering means understanding every daemon and all their associated quirks and their dependencies and the quirks associated with their dependencies and so on...

I will never get the hours spent being a human SAT solver trying to safely order hundreds of lexicographically ordered start and stop scripts that may or may not be present in an unbelievable number of permutations.

The reason sysvinit is extinct is neither fashion or politics, but evolution.

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#16

Earlier quoted context omitted.

> Sad to see these type quirks will go away when Linux moves completely to Wayland. I started using Linux when I was 25 or so. I'm 51 now. I do believe there's a far from zero probability that X is going to outlast me... Even if I live until 80! P.S: and the day X dies, in decades, I do also think it's possible that, at long last, Wayland shall be as customizable and allows to do all the amazing thing X allows to do.

Unfortunately, I don't share your optimism. Judging by the fiasco that systemd is and how it managed to completely win over init scripts, even the opensource world is not immune to fashion / politics / ...

Systemd has taken over most popular Linux distributions, but Linux isn't the whole of the opensource world.

I suspect X servers will die out at some point, but you could probably just run XWayland right? I've not messed with Wayland yet, because it doesn't address my use cases (mythtv frontends which is one X program with no window manager, and running programs on freebsd/linux for display on Windows).

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#17
post #13

Earlier quoted context omitted.

I believe that is only available for native Windows apps. Alt-Space was the keyboatd shortcut for it, very useful if the window had moved so far offscreen that you could not reach it with the mouse. However, this doesn't seem to work with the newer Electron style apps, like Teams. They do not appear to follow the classic Windows patterns.

Yeah, there's some delineation in those apps. I notice the same behavior when I hover over the "maximize window" icon in Windows 11 and some apps show an outline of the options of I have but electron apps including chrome

At lease for the function that trigger by hoving maximun button. I believe windows do expose this api, firefox has this enabled for years even they draw the whole screen include icons using xul. And electron apps in native resize button mode also use actual windows resize button (Or fake one created by electron itself?) that has this function enabled. It's just some million-dollor company that are too dumb to support it properly (Or probably PM pushed it back because no user requires it?)

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#18

Earlier quoted context omitted.

Unfortunately, I don't share your optimism. Judging by the fiasco that systemd is and how it managed to completely win over init scripts, even the opensource world is not immune to fashion / politics / ...

I miss writing sysvinit scripts exactly never . Even if you were building a system for which init stages would be immutable, forever sealed and unchanging, determining the correct ordering means understanding every daemon and all their associated quirks and their dependencies and the quirks associated with their dependencies and so on... I will never get the hours spent being a human SAT solver trying to safely order…

Given my experience writing systemd units and then trying to figure out why they don't behave as the documentation says that they should, this suggests that being miserable to work with must be an adaptively neutral trait in init systems, thus selected neither for nor against.

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#19
That's a dedication ... eating glass for 35 years or so ... I'm not better though, over decades I've stuck with GNOME 2 (MATE desktop atm) ... This made me think right now, what exactly do I want from a desktop environment, and why am I satisfied with GNOME 2? I need to make a list of it and really think about it.

Re: Accidentally making windows vanish in my old-fashioned Unix X environment

#20
post #5

I like this quirkiness of X window managers also. Some (like fvwm) will do exactly what you tell it to do, no more, no less. Sad to see these type quirks will go away when Linux moves completely to Wayland.

> Sad to see these type quirks will go away when Linux moves completely to Wayland. I started using Linux when I was 25 or so. I'm 51 now. I do believe there's a far from zero probability that X is going to outlast me... Even if I live until 80! P.S: and the day X dies, in decades, I do also think it's possible that, at long last, Wayland shall be as customizable and allows to do all the amazing thing X allows to do.

The customizability is possible, but not the ease of it

Because with wayland you don't write "just" a window manager - you write also the gorilla and most of the jungle, because a "WM" also has to be full Window Server with handling of input, rendering, display configuration, possibly linking extra virtual displays (still haven't figured exactly what part of the protocol handles it, but apparently pipewire can create virtual display that can be used for example by OBS)

Post reply on HN