this post was submitted on 17 Jul 2023
348 points (96.8% liked)
Linux
47952 readers
1873 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
100%. Even as a power-user (understatement) who overwhelmingly prefers keyboard input to control things when I'm "gettin' stuff done", I will sometimes miss the general consideration level of Windows' input handling when it comes to mouse and especially touch. Mouse is pretty damn good these days on Linux, but touch...
Touch is abysmal. A ton of modern laptops have touchscreens, or are actually 2-in-1s that fold into tablets, etc, and the support is just barely there, if at all. I'm not talking about driver support - this is often fairly acceptable. My laptop's touch and pen interface worked right out of the box... technically. But KDE Plasma 5 with Wayland- an allegedly very modern desktop stack- is not pleasant when I fold into tablet mode.
The sole (seriously, I've looked) Wayland on-screen-keyboard, Maliit, is just terrible. No settings of any kind (there is a settings button! it is not wired to anything, it does nothing), no language options, no layout options (the default layout is abysmal and lacks any 'functional' keys like arrows, pgup/dn, home/end, delete, F keys, tab, etc), and most egregiously, it resists being manually summoned which is terrible because it does not summon itself at appropriate times. Firefox is invisible to it. KRunner is invisible to it. The application search bar is invisible to it. It will happily pop up when I tap into Konsole, but it's totally useless as it is completely devoid of vital keys. Touch on Wayland is absolutely pointless.
Of course, there is a diverse ecosystem of virtual keyboards and such on Xorg! However, Xorg performance across all applications is typically abysmal (below 1FPS) if the screen is rotated at all. This is evidently a well known issue that I doubt will ever be fixed.
In the spirit of Open Source Software, and knowing that simply complaining loudly has little benefit for anyone, I have at several times channeled my frustration towards developing a reasonable Wayland virtual keyboard, but it's a daunting project fraught with serious problems and I have little free-time, so it's barely left its infancy in my dev folder, and in the meanwhile I reluctantly just flip my keyboard back around on the couch with a sigh, briefly envious of my friend's extremely-touch-capable Windows 2-in-1.
I echo your frustrations with Maalit. I am running Arch on my Surface Pro 7 and very frequently I have to snap in the keyboard just to get myself out of a situation where touch doesn't work. Maalit also has this bug where it will push and resize windows as if it was visible even though it is hidden.
Regarding the Firefox issue, it helps if you enable it's Wayland backend by passing MOZ_ENABLE_WAYLAND=1 to it. Maalit should properly pop whenever you tap on a text box.
Thank you - I was already aware of this, actually, but I choose to leave it disabled because when this is set, touchscreen drag-scrolling of webpages breaks and it selects text as though it were a mouse click-drag instead. As it turns out, I barely use Maliit anyway because of its other deficiencies, but I definitely touch-scroll my browser a lot, even in laptop mode. A generally disappointing dilemma!
I also had this problem where touch scrolling on Firefox selects text instead (on ubuntu). It does however work OOTB for me on fedora, so it's the main distro on that machine.
Weird! Touch scrolling actually improves for me with the Wayland backend so that's an odd issue indeed! There's gotta be a trick to it, but I am unsure of what that is at the moment.
GNOME has amazing touchscreen gestures, and afaik comes with it's own virtual keyboard
I have been tempted by GNOME several times, but I disagree with some of their design choices and find them a bit frustrating. I feel that it's fairly strongly-opinionated software. The benefits, of course, are obvious: internal consistency that leads to a higher quality experience. But, only if you buy-in to some overarching design philosophy. That's one of the reasons I left Windows! I also have a suite of Kwin scripts that make my life a lot easier, so it's pretty hard to leave Plasma at this point.
Still, that keyboard has tempted me a lot nonetheless...
Me too. I love the look of Adwaita, but some of their choices I can't get past, like not having a system tray. I'm really excited for Cosmic, it looks like it will blend the styling of GNOME with much of KDE's customization!
COSMIC is now on my radar, thank you. It looks very intriguing.
At this point I'm just glad I migrated to GNU/Linux way before touch input was a common thing. I never experienced it on Windows and the only way I experienced it on GNU/Linux is with it behaving like simple mouse clicks. I literally have no idea what else to expect, so I expect nothing and I don't get disappointed.
Using touch on Windows has definitely set my expectations much higher than the reality on Linux right now, so this is a good call! You won't know what you're missing, so it's not going to bug you. I kind of wish I could return to this blissful ignorance. I have another 2-in-1 with Windows 11 on it in the house and anytime I look at it to keep it patched up and fix issues for its user, it reminds me very effectively of how far behind my 2-in-1 is with touchscreen interactions :(
I agree with the touchscreen thing-- I have one of those foldy-aroundy 2-in-1 laptops, and the only way I've been able to get touch to work properly (as in not like a mouse) is gnome wayland. Kde wayland's fine too, but like you said there's no included keyboard whereas gnome has one built-in. Also another wayland osk you could try is wvkbd (tho I've never used it beyond "hey what's this").
Lenovo does sell Linux laptops and then there is the HP Dev One. Also according to Canonical over 160 Dell laptop, desktop, and workstation models ship with Ubuntu preinstalled.
While this is true, if someone goes to a shop and buys a "PC", it will have Windows 100% of the time.
You have to look to get Linux preinstalled on stuff, or pick the choice yourself. People buying PCs aren't picking Windows, it's just what comes with them.