reddit / emacs
Emacs for the win
thephatmaster · 2022-10-12 07:39
So my OS had a significant update yesterday which [broke my WM](https://www.reddit.com/r/kdeneon/comments/y1dei8/so_that_update_broke_erm_everything/irzhj2j?utm_medium=android_app&utm_source=share&context=3) one day before a work conference trip.
`alt+ctrl+f3`
Login
`doom run`
Problem solved - who needs a GUI
(... me, I need my GUI to do the non-emacs stuff)
lebensterben · 2022-10-12 07:43
exwm guys are coming soon...
thephatmaster · 2022-10-12 07:45
We won't tell then I need wayland
MitchellMarquez42 · 2022-10-12 08:07
A properly implemented Emacs Wayland Compositor would be the best, straight up.
akho_ · 2022-10-12 08:24
Consider switching to a proper distro that supports rollbacks, or diy your own snapshots. That’s outright liberating.
Snapper can be installed on Ubuntu (and, presumably, KDE Neon), and will do snapshots around each apt-get. Here’s an older instruction: https://cli.pignat.org/ubuntu-18.04-server-install-snapper.html
NixOS and GuixSD are exemplary, but have a learning curve.
Fedora Silverblue / Kinoite are rock-solid, but also require a change of your habits.
SuSE comes with snapper preinstalled.
thephatmaster · 2022-10-12 08:27
Sounds like snapper would have saved me - I'll check that out once I've sorted this mess
I had best luck with Arch but was lazy on this device - KDE Neon is fastest route to plasma 5.25+ with wayland (the device is a MS surface)
hainguyenac · 2022-10-12 08:27
Hmm, this is not necessarily an emacs thing, any console editor can do that.
thephatmaster · 2022-10-12 08:28
You're not wrong, but emacs has my org-roam config
hainguyenac · 2022-10-12 08:35
Oh so you're using emacs to access information rather than using it to fix your os.
[deleted] · 2022-10-12 09:15
[deleted]
prng_ · 2022-10-12 09:59
Agreed! I have Emacs set up in NixOS and I cant see myself using any traditional OS ever again
fmou67 · 2022-10-12 10:06
Any easy presentation of how to start with Nixos for non devs users (>15 years on Linux, incl. Arch, Void.. though). Not a complete newbie but some concepts must be explained in plain words....>!!<
prng_ · 2022-10-12 10:10
I would say that nixos for non-devs is pretty straight forward. For developers on the other hand you will need to understand the technology and that is a bigger job. The resources are out there but it will take time to get comfortable with anything non-FHS i would argue
arthurno1 · 2022-10-12 10:52
I think we need OS kernel implemented in Emacs core directly, even better in the firmware.
arthurno1 · 2022-10-12 10:57
> So my OS had a significant update yesterday which broke my WM one day before a work conference trip.
I saw in my Arch they pushed new KDE update. Years since I booted into KDE or Gnome. I have both installed for the applications, but no way I will ever run those desktops as my main OS GUI again. I can warmhearted recommend a smaller WM and custom X11 config. It is so much faster and stable than anything those guys are cranking out.
arthurno1 · 2022-10-12 11:01
> I had best luck with Arch but was lazy on this device - KDE Neon is fastest route to plasma 5.25+ with wayland (the device is a MS surface)
What is so good with plasma 5.25? By the way, you have Arch on Surface? If you have Arch there, you can just rollback your Arch to either previous update, or if you prefer to some previous date (you will need internet for the second option).
I would though like to know how well does Arch work on Surface regarding to drivers and firmware?
thephatmaster · 2022-10-12 11:07
Plasma 5.25 has OK touch support for tablet use - still about 1% of an ipad tho
I haven't got Arch, but r/SurfaceLinux will be able to give you their experiences I'm sure
sneakpeekbot · 2022-10-12 11:08
Here's a sneak peek of /r/SurfaceLinux using the [top posts](https://np.reddit.com/r/SurfaceLinux/top/?sort=top&t=year) of the year!
\#1: [Surface Pro + Linux Mint Cinnamon Edition = Great Productivity Tablet](https://v.redd.it/p3b0eaca6r391) | [15 comments](https://np.reddit.com/r/SurfaceLinux/comments/v588jd/surface_pro_linux_mint_cinnamon_edition_great/)
\#2: [PSA about Windows Recovery Drives for Surface](https://np.reddit.com/r/SurfaceLinux/comments/qqfrlx/psa_about_windows_recovery_drives_for_surface/)
\#3: [Hey so I am running ubuntu 21.10 with the surface kernel and I managed to get the camera working via libcamera and qcam however i can not for the life of me get it to work in chrome/ff any suggestions?](https://i.redd.it/y0yv5jrza1m81.png) | [6 comments](https://np.reddit.com/r/SurfaceLinux/comments/t90tpm/hey_so_i_am_running_ubuntu_2110_with_the_surface/)
----
^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| ^^[Contact](https://www.reddit.com/message/compose/?to=sneakpeekbot) ^^| ^^[Info](https://np.reddit.com/r/sneakpeekbot/) ^^| ^^[Opt-out](https://np.reddit.com/r/sneakpeekbot/comments/o8wk1r/blacklist_ix/) ^^| ^^[GitHub](https://github.com/ghnr/sneakpeekbot)
thephatmaster · 2022-10-12 11:09
I'm tempted by sway, but will eed to set up fusuma or similar for gesture / rotation support and on screen keyboard etc
arthurno1 · 2022-10-12 11:22
Ah ok, sorry. I understand. I have no idea how good is touch support for ordinary WMs, probably not so good.
thephatmaster · 2022-10-12 11:22
Non existent, Gnome and Plasma are (sadly) the best options :(
arthurno1 · 2022-10-12 11:24
Yes, I understand. That is unfortunate indeed.
thephatmaster · 2022-10-12 11:26
Its a very niche problem trying to use linux on a tablet like device
arthurno1 · 2022-10-12 11:26
Thank you. Was thinking of eventually getting a Surface, but didn't make my mind. I will probably go with something else anyway, still looking around for which 13'' laptop or tablet has good Linux driver support.
arthurno1 · 2022-10-12 11:29
I understand that.
akho_ · 2022-10-12 11:51
Arch rollbacks are ok, but bootable snapshots (or NixOS generations) are more bullet-proof.
I was affected by the 5.19.12 GPU bug, so couldn’t boot after update. On NixOS, I just chose a previous generation in the boot menu and went on with my day. Read about the bug in the evening papers. A “traditional” setup, even with pacman rollbacks, would have put me out of commission for hours at best.
Icommentedtoday · 2022-10-12 12:52
I've been thinking about this but how would you envision it? If a package takes a long time to run a function your whole desktop locks up.
I'm thinking one workspace = 1 separate emacs instance but that is a bit overkill
fmou67 · 2022-10-12 13:33
Aaarghhhh.... another distro to test... I had just switched everything to Artix and runit... but I won't bear the curiosity... your answer is too... promising.
ramin-honary-xc · 2022-10-12 13:47
I just learned about this: https://sr.ht/~shunter/wayflan/
It's Common Lisp, but still, you can run the ~~compositor~~ client in a REPL and control it through Emacs.
EDIT: it isn't a compositor, it's a client library.
mattfromeurope · 2022-10-12 14:10
Somehow I‘m relatively sure an Emacs Wayland compositor is just a matter of time.
ZealousZera · 2022-10-12 14:14
linux nuzzlock challenge. if it breaks once dont fix or use it again and see how far you get :O
prng_ · 2022-10-12 14:15
Sorry! :-) headsup: NixOS is systemd-based if that was a reason for artix.
MitchellMarquez42 · 2022-10-12 15:00
Thanks, that's really cool!
MitchellMarquez42 · 2022-10-12 15:01
There's a lot of work that needs to be done on redisplay and threads, which are currently the least hackable parts of Emacs. But it can be done. Probably.
hainguyenac · 2022-10-12 16:03
My longest is about 1 year.
Icommentedtoday · 2022-10-12 16:54
That's not a compositor but a client library
HM0880 · 2022-10-12 23:37
Off-topic, but it's nice to see SourceHut links!
arensb · 2022-10-13 13:47
A long long time ago, we had a handful of Sun 3 workstations. These were archaic even then, so I decided to turn them into Xterms (what you'd call thin clients these days).
One user complained that we'd made his workstation unusable. It turned out that rather than use Sun's windowed environment, he just ran in the text console (and Emacs) all day. As a result, when we'd forced the X window system on him, he didn't have anything set up, the default font was too small for him to read, and so forth.
In the end, I had a minion set up his environment to just have one giant full-screen terminal window with 24-point font, in which the user could happily run Emacs.
thephatmaster · 2022-10-13 15:38
Lol, as much as I want to be this person, I can't even manage emacs windows. Did take org-roam notes all day at a work conference
ramin-honary-xc · 2022-10-13 16:25
I'm thinking of moving all of my GitHub stuff there. I still haven't decided which code forge site I like best though.
ramin-honary-xc · 2022-10-13 16:41
My mistake. Thanks for pointing that out.
Icommentedtoday · 2022-10-13 17:37
No problem, wayland/x11 terminology is confusing for sure
[deleted] · 2022-10-13 22:15
[deleted]
HM0880 · 2022-10-13 23:18
SourceHut is paid (really a feature since you then the user and not the "used"), fast, and no JavaScript. What's not to love?!