this post was submitted on 23 Nov 2023
3 points (100.0% liked)

Emacs

311 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] harunokashiwa@alien.top 1 points 11 months ago (9 children)

You can try emacs-pgtk package, cause WSLg relies on Wayland

[–] teaspoonzzz@alien.top 1 points 11 months ago (3 children)

Yep that's what finally caused me to switch to using Emacs on WSL2 (instead of the Windows build). Then you can also get rid of that ugly white border from WSLg.

[–] pekudzu@alien.top 1 points 11 months ago (2 children)

any details on that white border stuff? pgtk didnt autofix it for me in the past and id love to not have it searing my eyes

[–] teaspoonzzz@alien.top 1 points 11 months ago

Not sure if there's something else missing in your setup. I'm using WSL2 (Ubuntu), and in my case all I had to do was compile Emacs passing the --with-pgtk flag, then:

sudo apt install gnome-tweaks yaru-theme-gtk yaru-theme-icons

And ran gnome-tweaks in the terminal, and changed the application and icon themes to Yaru-dark.

load more comments (1 replies)
load more comments (1 replies)
load more comments (6 replies)