Skip to content

Instantly share code, notes, and snippets.

View SHJordan's full-sized avatar

Jordan Humberto de Souza SHJordan

View GitHub Profile
@SHJordan
SHJordan / xfce4_wsl2_rdp.md
Last active January 2, 2026 14:48
Setup Ubuntu Desktop (XFCE4) on WSL2 via RDP

Setup Ubuntu Desktop (XFCE4) on WSL2 via RDP

This guide covers how to install the XFCE4 desktop environment on WSL2 (Ubuntu) and connect to it using Windows Remote Desktop.

It specifically addresses two common issues on WSL2:

  1. Black Screen: Caused by incorrect color depth settings.
  2. Session Closing Immediately: Caused by conflicts between XRDP and WSLg environment variables (DBUS / XDG).

1. Update and Install Packages

#!/usr/bin/env python3
"""
Antigravity Manager for CLIProxyAPI
A comprehensive tool to:
1. Convert OpenCode Antigravity accounts to CLIProxyAPI format
2. Refresh access tokens using Google OAuth2
Usage:
python antigravity-manager.py convert # Convert antigravity accounts
@SHJordan
SHJordan / AIOWSLARCHSETUP.ps1
Last active January 31, 2026 19:46
AIO SCRIPT TO SETUP WSL+OMZ+LAZYVIM+ZSH+MISE+OPENCODE+OH+MY+OPENCODE
#!/usr/bin/env pwsh
#Requires -Version 5.1
#Requires -RunAsAdministrator
<#
.SYNOPSIS
AIO WSL Arch Linux Setup Script - Revised & Hardened Version
.DESCRIPTION
Configura automaticamente uma distro Arch Linux no WSL com ambiente de desenvolvimento completo.