marceloeatworld/hyprland-ai-skill
hyprland
FlaggedThis skill should be used when the user asks about "Hyprland configuration", "hyprland.lua", "hyprland.conf", "Hyprland Lua config", "hyprctl", "Hyprland keybinds", "Hyprland window rules", "Hyprland monitors", "Hyprland dispatchers", "Hyprland animations", "Hyprland workspaces", "Hyprland IPC", "Hyprland plugins", "hyprlock", "hypridle", "hyprpaper", "hyprcursor", "hyprpicker", "hyprsunset", "xdg-desktop-portal-hyprland", "Hyprland on NixOS", "Hyprland Home Manager", "Hyprland layouts", "Hyprland dwindle", "Hyprland master layout", "Hyprland FAQ", "Hyprland performance", "Hyprland Nvidia", "Hyprland screen sharing", "Hyprland special workspace", "Hyprland smart gaps", "Hyprland multi-monitor", "Hyprland tearing", or any topic related to configuring, troubleshooting, or extending the Hyprland Wayland compositor and its ecosystem tools.
references/xwayland.md
View on GitHub<!-- source: https://wiki.hypr.land/configuring/extra/xwayland -->
<!-- wiki commit: 41c7222 (2026-11-20 18:16:21 +0100) -->
<!-- auto-generated by scripts/generate-references.sh - DO NOT EDIT MANUALLY -->
---
weight: 50
title: Xwayland
---
Xwayland is the bridging mechanism between legacy Xorg programs and Wayland compositors.
## HiDPI Xwayland
Xwayland currently looks pixelated on HiDPI screens, due to Xorg's inability to scale.
This problem is mitigated by setting the [`force_zero_scaling`](../../core/config-options#xwayland) option to true, which forces Xwayland windows not to be scaled.
This will get rid of the pixelated look, but will not scale applications properly.
To do this, each toolkit has its own mechanism.
```lua
-- change monitor to high resolution, the last argument is the scale factor
hl.monitor({ output = "", mode = "highres", position = "auto", scale = "2" })
-- unscale Xwayland
hl.config({
xwayland = {
force_zero_scaling = true
}
})
-- toolkit-specific scale
hl.env("GDK_SCALE", "2")
hl.env("XCURSOR_SIZE", "32")
```
The GDK_SCALE variable won't conflict with Wayland-native GTK programs.
> [!WARNING]
> Xwayland HiDPI patches are no longer supported.
> Do not use them.
## Abstract Unix domain socket
X11 applications use Unix domain sockets to communicate with Xwayland.
On Linux, libX11 prefers to use the abstract Unix domain socket.
This type of socket uses a separate, abstract namespace that is independent of the host filesystem.
This makes abstract sockets more flexible but harder to [isolate](https://github.com/hyprwm/Hyprland/pull/8874) for some kinds of sandboxes like Flatpak.
However, removing the abstract socket has [potential](https://gitlab.gnome.org/GNOME/mutter/-/issues/1613) security and compatibility issues.
To help address these issues, we provide the [`create_abstract_socket`](../../core/config-options#xwayland) option.
When the abstract socket is disabled, only the regular Unix domain socket will be created.
_\* Abstract Unix domain sockets are available only on Linux-based systems_
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |