5 ms·
Indeed. Much of a modern Linux desktop e.g. runs inside one of multiple not very well optimized JS engines: Gnome uses JS for various desktop interactions, and
by creshal 9mo ago
Indeed. Much of a modern Linux desktop e.g. runs inside one of multiple not very well optimized JS engines: Gnome uses JS for various desktop interactions, and all major desktops run a different JS engine as a different user to evaluate polkit authorizations (so exactly zero RAM could be shared between those engines, even if they were identical, which they aren't), and then half your interactions with GUI tools happens inside browser engines, either directly in a browser, or indirectly with Electron. (And typically, each Electron tool bundles their own slightly different version of Electron, so even if they all run under the same user, each is fully independent.)
Or you can ignore all that nonsense and run openbox and native tools.
- zozbot234 9mo agoCOSMIC is gaining ground as a JS-free alternative to current desktops, so hopefully you won't be limited to openbox and such.
- creshal 9mo agoOpenbox isn't limiting me, Wayland still has no advantages for what I do with desktops.
- burner420042 9mo agoA month with CrunchBang Plus Plus (which is a really nice distribution based on Openbox) and you'll appreciate how quick and well put together Openbox and text based config files are.
- torginus 9mo agoWhich is baffling as to why they chose it - I remember there being memory leaks because GObject uses a reference counted model - cycles from GObject to JS then back were impossible to collect. They did hack around this with heuristics, but they never did solve the issue. They should've stuck with a reference counted scripting language like Lua, which has strong support for embedding.
- FrostViper8 9mo agoI've found that Gnome works about as well as other "lighter" desktop environments on some hardware I have that is about 15 years old. I don't think it using a JS engine really impacts performance as much as people claim. Memory usage might be a bit higher, but the main memory hog on a machine these days is your web browser. I have plenty of complaints about gnome (not being able to set a solid colour as a background colour is really dumb IMO), but it seems to work quite well IME. > Or you can ignore all that nonsense and run openbox and native tools. I remember mucking about with OpenBox and similar WMs back in the early 2000s and I wouldn't want to go back to using them. I find Gnome tends to expose me to less nonsense. There is nothing specifically wrong with Wayland either. I am running it on Debian 13 and I am running a triple monitor setup without. Display scaling works properly on Wayland (it doesn't on X11).
- lproven 9mo ago> I find Gnome tends to expose me to less nonsense. IMHO, I find the reverse. It feels like a phone/tablet interface. It's bigger and uses way more disk and memory, but it gives me less UI, less control, less customisation, than Xfce which takes about a quarter of the resources. Example: I have 2 screens. One landscape on the left, one portrait on the right. That big mirrored L-shape is my desktop. I wanted the virtual-desktop switcher on the right of the right screen, and the dock thing on the left of the left screen. GNOME can't do that. They must be on your primary display, and if that's a little laptop screen but there is a nice big spacious 2nd screen, I want to move some things there -- but I am not allowed to. If I have 1 screen, keep them on 1 screen. If I have 2, that pair is my desktop, so put one panel on the left of my desktop and one on the right, even if those are different screens -- and remember this so it happens automatically when I connect that screen. This is the logic I'd expect. It is not how GNOME folks think, though, so I can't have it. I do not understand how they think.
- FrostViper8 9mo ago> IMHO, I find the reverse. It feels like a phone/tablet interface. It's bigger and uses way more disk and memory, but it gives me less UI, less control, less customisation, than Xfce which takes about a quarter of the resources. I've used Xfce quite a lot in the past and quite honestly most of the "customisation" in it is confusing to use and poorly thought out. I've also found these "light DEs" to be less snappy than Gnome. I believe this is because it takes advantage of the GPU acceleration better, but I am not sure tbh. The extra memory usage I don't really care about. My slowest laptop I use regularly has 8GB ram and it is fine. Would I want to use this on a sub 4GB machine, no. But realistically you can't do much with that anyway. Also Gnome (with Wayland) does a lot of stuff that Xfce can't do properly. This is normally to do with HiDPI scaling, different refreshrates. It all works properly. With Xfce, I had to mess about with DPI hacks and other things. > Example: I have 2 screens. One landscape on the left, one portrait on the right. That big mirrored L-shape is my desktop. I wanted the virtual-desktop switcher on the right of the right screen, and the dock thing on the left of the left screen. > If I have 1 screen, keep them on 1 screen. If I have 2, that pair is my desktop, so put one panel on the left of my desktop and one on the right, even if those are different screens -- and remember this so it happens automatically when I connect that screen. I just tried the workspace switcher. I can switch virtual desktops with Super + Scroll on any desktop. I can also choose virtual desktops on both screens by using the Super + A and then there is virtual desktop switcher on each screen. I just tried it on Gnome 48 on Debian 13 right now. It is pretty close to what you are describing. > This is the logic I'd expect. It is not how GNOME folks think, though, so I can't have it. I do not understand how they think I think people just want to complain about Gnome because it is opinionated. I also don't like KDE. I install two extensions on desktop. Dash to Dock and Appindicators plugins. On the light DEs and Window Managers, I was always messing about with settings and thing always felt off.
- lproven 9mo ago> Much of a modern Linux desktop e.g. runs inside one of multiple not very well optimized JS engines A couple of years ago I saw a talk by Sophie Wilson, the designer of the ARM chip. She had been amused by someone saying there was an ARM inside every iPhone: she pointed out that there was 6-8 assymetric ARM cores in the CPU section of the SOC, some big and fast, some small and power-frugal, an ARM chip in the Bluetooth controller, another in the Wifi controller, several in the GSM/mobile controller, at least one in the memory controller, several in the flash memory controller... It wasn't "an ARM chip". It was half a dozen ARMs in early iPhones, and then maybe dozens in modern ones. More in anything with an SD card slot, as SD card typically contain an Arm or a few of them to manage the blocks of storage, and other ARMs in the interface are talking to those ARMs. Wheels within wheels: multiple very similar cores, running different OSes and RTOSes and chunks of embedded firmware, all cooperatively running user-facing OSes with a load of duplication, like a shell in one Javascript launching Firefox which contains a copy of a different version of the same Javascript engine, plus another in Thunderbird, plus another embedded in Slack and another copy embedded in VSCode. Insanity. Make a resource cheap and it is human nature to squander it.