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` |
The Logitech Options program isn't available for Linux, but by a nice guy on GitHub (PixlOne) created an open source project that lets you obtain some of that functionality. It's calledlogiops. It works in conjunction with theSolaar project as well, which I find especially handy since that shows your available battery life in the system tray and lets you pair/unpair devices with the Logitech Unifying Receiver.
Here are some additional pages with info that I used to generate this documentation: