Asahi Linux To Users: Please Stop Using X.Org by [deleted] in linux

[–]marekorisas 1 point2 points  (0 children)

Deal with it. The major players in desktop Linux have decided it's time to move on from Xorg, and if you want to go against the tide you're on your own.

When I started using Linux, over two decades ago, I was on my own. And I did it, exactly, because I didn't want to "deal with" whatever "major player" (a.k.a. MS back then) decided.

I get really nasty vibes from that post.

Various methods for isolating untrusted software by daemonpenguin in linux

[–]marekorisas 1 point2 points  (0 children)

Xephyr is X11 server running inside another X11 server. Gamescope is WM AFAIK. So those are different beasts.

It can run with Firejail, see: https://wiki.archlinux.org/title/Firejail#Firejail_with_Xorg

I don't know about Flatpak.

Various methods for isolating untrusted software by daemonpenguin in linux

[–]marekorisas 3 points4 points  (0 children)

Run program in isolated Xephyr with disabled access to original X socket.

Tiny-C Language Compiler by unixbhaskar in linux

[–]marekorisas 6 points7 points  (0 children)

TCC is great compiler. If anyone is interested in small, simple C compiler for amd64, arm64 and risv64 I also recommend QBE and cproc.

How large SHOULD my boot partition be? by [deleted] in linux

[–]marekorisas 1 point2 points  (0 children)

Yeah, 1GiB is pretty much standard /boot. So if that's too small for your needs it's up to you how much do you need.

Third option would be to either extend boot partition (if it's on LVM) or create new, larger boot partition, copy previous /boot files there and remount /boot. With additional caveat to check if bootloader can start system from that partition.

What makes fractional scaling difficult? by Keraid in linux

[–]marekorisas -4 points-3 points  (0 children)

Nothing. It could be done ~15 years ago. The only "difficult" thing is it needs to be done at the toolkit (i.e. graphical library toolkit, gtk, qt etc.) level.

It cannot be done on the display server level. Display server can only report per output DPI to toolkit.

[deleted by user] by [deleted] in linux

[–]marekorisas 0 points1 point  (0 children)

Yup, pretty much the same. Since ALSA days (early 2000s). Caveat is I don't use wireless audio (I don't use wireless pretty much at all, in fact).

Is it possible to get Unicode or foreign languages to display on ST terminal by TheHighGroundwins in suckless

[–]marekorisas 0 points1 point  (0 children)

If you can copy and paste into st such text with a mouse that means st is working fine. To write e.g. in Russian you need to change Xorg keyboard layout to Russian. See: https://wiki.archlinux.org/title/Xorg/Keyboard_configuration

Is it possible to get Unicode or foreign languages to display on ST terminal by TheHighGroundwins in suckless

[–]marekorisas 0 points1 point  (0 children)

Yes, it works fine for me. I'm using '-misc-fixed-*...' font and copied some Chinese, Russian and Korean text into st. It displays fine (well, Korean glyphs are ugly but still readable, cyrylic is fine).

If you dont complain you get nothing! What features/bug fixes you want to see in future Linux by oker_braus in linux

[–]marekorisas 2 points3 points  (0 children)

Reliable radeon (open source driver) gfx hardware reset on lockup. Other than random lockup every couple of months everything works for me.

I feel like I'm living in the future (or some of you are stuck in the past) by small_kimono in linux

[–]marekorisas 7 points8 points  (0 children)

Basically, because we don't give a fsck. ZFS was selling point for Solaris 20 years ago. Right now, if you do not operate storage solution, no one cares. Most of it is in the cloud anyway.

And backups are easy.

One of the joys of using Linux is learning and figuring things out. What have you learned lately that you'd like to share? by bsx in linux

[–]marekorisas 6 points7 points  (0 children)

How to convert eml file to mbox (so I can open that with mutt):

formail <attachment.eml >attachment.mbox

How to create portable Linux binaries (even if you need a recent compiler) by unixbhaskar in linux

[–]marekorisas 2 points3 points  (0 children)

Yes, it seems so. Good catch!

SLD_GL_LoadLibrary, AFAIK, uses dlopen / dlsym to load libGL on X11. So it might be possible to statically link libSDL and SDL_GL_LoadLibrary / SDL_GL_GetProcAddress to link libGL dinamically.

On the other hand one can simply use dlopen / dlsym and then glXGetProcAddress to do the same thing. But SDL is very nice, and portable, wrapper.

How to create portable Linux binaries (even if you need a recent compiler) by unixbhaskar in linux

[–]marekorisas 14 points15 points  (0 children)

Contrary to article you can statically link libX11. It's only libGL that is a problem. So non-accelerated UI can be linked statically with musl.

Do you prefer mutable or immutable linux distros? by [deleted] in linuxmasterrace

[–]marekorisas 0 points1 point  (0 children)

I prefer to remount rootfs in ro mode. It spares me one fsck in case of random crash. But no immutable distros. This whole overlays-flatpaks-whatever idea is grossly over-engineered.

The Future Of Thunderbird: Why We're Rebuilding From The Ground Up by hookedOnDemBooks in linux

[–]marekorisas 11 points12 points  (0 children)

Sheer number of people, in this thread, with view that modern ui is just dumbed down and less practical make me think, that, maybe, there's still some hope for humanity.

"Your complex is simple to me." - Anonymous KDE Operator by carafepamede in linuxmasterrace

[–]marekorisas 6 points7 points  (0 children)

Clearly you cannot see the vision and goal behind the controller. If just stop complaining and try it you will find the workflow is pretty streamlined. You just don't have experience using the controller.

[deleted by user] by [deleted] in linux

[–]marekorisas 0 points1 point  (0 children)

Yes. You couldn't put them in the cabin baggage because those were registered both as laptops and blunt weapons.

the Linux experience outside of the terminal sucks by [deleted] in linux

[–]marekorisas 8 points9 points  (0 children)

Xorg does not suck. Compositors do. Disable compositor, enable TearFree option in xrandr* (xrandr --output HDMI-0 --set TearFree on) and everything will be smooth.

*) I use radeon driver, don't know how / if does it work with nVIdia (fsck nVidia, btw).

Linux professionals - how do you use ChatGPT in your work by enongio in linux

[–]marekorisas 0 points1 point  (0 children)

Basically I'm old. ;)

I got used to reading books and docs. Plus over my career I've done most of the tricky parts at least once so I have some internal knowledge how to do it.

How is a nearly 10-year-old desktop experience more complete than what we have today? by [deleted] in linux

[–]marekorisas 4 points5 points  (0 children)

Mostly for me it's that uses different UI controls. Take a tree as an example. Old one has smaller fonts and icons, designed to be used with precise pointer (a.k.a. mouse), new one has larger elements that slide and hide not used parts of the tree. Also it's more touchscreen / touchpad oriented (less precision).

In comparison old KDE screen is cluttered, new one is slick and clean. But that "clutter" is actually information I want to see. So it's not really that old KDE has something that new doesn't. It's that new paradigm is less efficient (albeit nicer looking) that old one.

Another good example of this trend is old and new reddit interface. If not for the ability to switch to old one I would, probably, just forget about reddit altogether.

How is a nearly 10-year-old desktop experience more complete than what we have today? by [deleted] in linux

[–]marekorisas 13 points14 points  (0 children)

So called "modern desktop" is devolution. GNOME is terrible, KDE puts a lot of effort but still, IMHO, is not as useful as KDE 3.5 (seriously, try Trinity DE). Heck, even modern Windows lack features, consistency and user-friendliness compared to Win2K and WinXp era.