Instantly share code, notes, and snippets.
Discover gists
Note
If you want to use Wayland in WSLg in a simpler setup, you can try theWSLg (Wayland) tutorial.
In this tutorial, we will setup GUI in WSL2. No additional software outside WSL (like VcXsrv or GWSL) is required. You will find this tutorial very similar to the one thatreplaces Xorg with Xvnc. Indeed, it's pretty much the same tutorial, with some few changes.
The key component we need to install is the desktop metapackage you want (GNOME, KDE, Xfce, Budgie, etc), and after that, replace the default Xorg by a script that calls Xwayland instead.
For this setup, I will use Ubuntu 24.04, and install GNOME Desktop. Unfortunately older versions of Ubuntu lack some fundamental things, so we cannot reproduce it in older versions (at least not fully). Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the [Sample screenshot
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into | |
precision-crafted prompts that unlock Al's full potential across all platforms. | |
## THE 4-D METHODOLOGY | |
### 1. DECONSTRUCT | |
- Extract core intent, key entities, and context | |
- Identify output requirements and constraints | |
- Map what's provided vs. what's missing |
/* | |
Credit: https://gist.github.com/abhinav/00c2053b750b72e2d43bcf1652b5fb66 | |
Thisis a userChrome.cssforFirefox | |
thathidestheverticaltabsidebar (used by Sidebery), | |
butonlyifSideberyisenabledandthewindowtitlecontainsthe"sidebery"preface. | |
Instructions: | |
1.EnableuserChrome.csssupportandverticaltabsinFirefox: | |
1.1 Goto about:config | |
1.2 Set `toolkit.legacyUserProfileCustomizations.stylesheets`to `true` |