Skip to content

Instantly share code, notes, and snippets.

View brianmaher84's full-sized avatar

Brian Maher brianmaher84

View GitHub Profile
@brianmaher84
brianmaher84 / wsl_gui.txt
Last active October 9, 2024 15:28
Run Terminator terminal (or any WSL GUI) without leaving a windows shell open as parent process
So you want to launch a WSL GUI process but not leave a parent terminal that if closed killed your GUI application?
Step 1: Create a Powershell script file to launch your wsl application:
start-process powershell -ArgumentList "wsl.exe -- terminator" -WindowStyle hidden
Save it as something meaningful like terminator.ps1 in this example.
Step 2: Create a Windows shortcut to the Powershell script like below:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "terminator.ps1"

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256

Verify this profile at https://keyoxide.org/sig -----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEYJfT+GLGkpjNiOBcTYQQUxyiQkcFAmNjuhwRHG1haGVyYkBn bWFpbC5jb20ACgkQTYQQUxyiQkeU9Af/SNCkhHlP5ukNUE8CTQopTlCv8DoCCNh4 kgEsPLjRDOPDAAwdKw0bHmbjjLkFK+Uc6MVS+HDPPjvdWM9UJiHBXMQ/nUGYD72G 8QgbcJ4PeVrbijkAYaAtNM3H7sfiykCeCSxrRgaV8sFyoyBXaE5xkmyYZFV9kR1/

@brianmaher84
brianmaher84 / config-highlight.cfg
Last active August 26, 2016 14:24
Idle theme - Obsedian but jet black background
Obsedian theme for Python Idle editor but jet black background as in pure black as in black as it goes.