62 lines
4.1 KiB
Markdown
62 lines
4.1 KiB
Markdown
# Hyprland Windows XP Desktop Environment
|
||
|
||
A complete, GNOME-isolated Windows XP SP3 (Luna Blue + 8 additional XP visual styles) desktop environment for **Hyprland 0.53** on Ubuntu 26.04 LTS, combining `xfce-winxp-tc` themes with pixel-accurate assets and geometry extracted from Windows XP SP3.
|
||
|
||
## Highlights
|
||
|
||
- **4-Sided XP Window Decorations (`src/hyprbars-xp/`)**: Custom Hyprland 0.53 plugin forked from `hyprbars`, rendering authentic `xfwm4/` PNG titlebars (`Trebuchet MS Bold`, active/inactive/hover/pressed caption buttons) and seamless 4-sided 3D-beveled PNG window frames.
|
||
- **Native Two-Column Start Menu (`bin/xp-start-menu`)**: Resident GTK3 + `GtkLayerShell` daemon with pinned apps, All Programs flyout, Places column, Log Off / Turn Off bar, and synced pressed Start button state on Waybar.
|
||
- **Native `CoolSwitch` Alt+Tab Switcher (`bin/xp-alttab` + `src/xp-alttab-ctl/`)**: Fixed-width classic Windows XP Alt+Tab icon grid with `<1ms` Unix-socket IPC, MRU focus ordering, hold-`Alt` / tap-`Tab` / release-`Alt` switching, and automatic theme syncing.
|
||
- **1:1 Windows XP SP3 LogonUI Lockscreen (`config/hypr/hyprlock.conf` + `bin/xp-generate-logon-bg`)**: Pixel-exact `logonui.exe` (`UIFILE 1000`) layout with true 32-bit RGBA golden userpic frame, glowing dividers, Turn Off Computer bar, and zero animations.
|
||
- **Taskbar & Balloon Notifications (`config/waybar/`, `config/swaync/`)**: 30px Luna Blue taskbar with gripper, Quick Launch, 16×16 tray icons, and `comctl32_v6` balloon tooltips with XP close-button states.
|
||
- **Turn Off Computer Dialog (`bin/xp-shutdown-dialog`)**: Native `313×198` `msgina.dll` GTK3 + `GtkLayerShell` dialog.
|
||
- **9 Switchable XP Visual Styles (`bin/xp-theme-switch`)**: Luna Blue, Olive Green, Silver, Royale, Royale Noir, Zune, Embedded, Professional, and Windows Classic—including GTK3/GTK4 SSD toolbar fixes for `swappy`, `thunar`, `ghostty`, and `GtkMessageDialog`.
|
||
- **100% GNOME Isolation**: Uses an isolated `DCONF_PROFILE=~/.config/hypr/dconf/profile` (`user-db:hyprland_xp`), dedicated session launcher (`session/hyprland-xp-session`), and masked systemd user units so Ubuntu's GNOME session remains completely untouched.
|
||
|
||
## Repository Layout
|
||
|
||
| Path | Description |
|
||
| --- | --- |
|
||
| `config/` | User dotfiles (`hypr`, `waybar`, `swaync`, `rofi`, `ghostty`, `qt5ct`, `qt6ct`, `fontconfig`, `xdg-desktop-portal`, `xfce4`) |
|
||
| `bin/` | Native Python/Bash daemons & utilities (`xp-start-menu`, `xp-alttab`, `xp-shutdown-dialog`, `xp-theme-switch`, `xp-generate-logon-bg`) |
|
||
| `src/hyprbars-xp/` | Custom 4-sided XP titlebar + frame Hyprland plugin (C++) |
|
||
| `src/xp-alttab-ctl/` | Ultra-fast C Unix-socket client for `xp-alttab` |
|
||
| `session/` | GDM Wayland session desktop entry & isolated session wrapper |
|
||
| `assets/` | Binary & media assets tracked via **Git LFS** (9 themes, `luna` icons, XCursor/Hyprcursor cursors, XP TrueType fonts, Bliss/XP wallpapers, WAV sounds, extracted `logonui`/`msgina` bitmaps) |
|
||
| `docs/` | Windows XP SP3 binary/visual analysis & Start Menu architecture notes |
|
||
|
||
## Prerequisites (Ubuntu 26.04)
|
||
|
||
```bash
|
||
sudo apt install -y \
|
||
hyprland hyprland-dev hyprpaper hyprlock hypridle hyprpolkitagent \
|
||
xdg-desktop-portal-hyprland waybar rofi sway-notification-center \
|
||
ghostty thunar mousepad ristretto engrampa pavucontrol network-manager-gnome blueman \
|
||
grim slurp swappy wl-clipboard cliphist brightnessctl playerctl \
|
||
qt5ct qt6ct qt5-gtk-platformtheme qt6-gtk-platformtheme \
|
||
python3-gi gir1.2-gtk-3.0 gir1.2-gtklayershell-0.1 python3-pil \
|
||
fonts-font-awesome g++ gcc make libgles-dev git-lfs
|
||
```
|
||
|
||
## Installation
|
||
|
||
```bash
|
||
git lfs pull
|
||
./install.sh
|
||
```
|
||
|
||
Then log out and choose **Hyprland (Windows XP)** in GDM.
|
||
|
||
## Keybindings
|
||
|
||
- `Super` / `Super+Space`: Start Menu
|
||
- `Alt+Tab` / `Alt+Shift+Tab`: Windows XP `CoolSwitch` task switcher
|
||
- `Super+R`: Run dialog
|
||
- `Super+E`: Thunar file manager
|
||
- `Super+Return` / `Super+T`: Ghostty (Command Prompt style)
|
||
- `Super+L`: Lock screen (`hyprlock` LogonUI)
|
||
- `Super+X` / `Ctrl+Alt+Delete`: Turn Off Computer dialog
|
||
- `Super+Shift+T`: Switch XP Visual Style (9 themes)
|
||
- `Super+Shift+S` / `Shift+Print`: Region screenshot + `swappy` annotation
|
||
- `Print`: Region screenshot (copy & save)
|