Skip to main content

Windows Terminal: Notes

Windows Terminal 1.0

Windows Terminal is a modern terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and Windows Subsystem for Linux (WSL).

Keep updating

May 20th, 2020: Version 1.0

CTRL + SHIFT + C : Copy

ALT + SHIFT + - : Split screen horizontally
ALT + SHIFT + + : Split screen vertically
ALT + SHIFT + D : Split screen vertically (too)

CTRL + rotate mouse wheel : Zoom in/out text

Change default profile

Modify defaultProfile in settings.json file

{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "alwaysShowTabs" : true,
    // "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", // Powershell
    "defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}", // Powwershell Core
    ...

Set starting directory

        {
            "guid": "{46ca431a-3a87-5fb3-83cd-11ececc031d2}",
            "hidden": false,
            "name": "kali-linux",
            "source": "Windows.Terminal.Wsl",
            "startingDirectory": "\\\\wsl$\\kali-linux\\root"
        },

Set Color Tab

        {
            "guid": "{46ca431a-3a87-5fb3-83cd-11ececc031d2}",
            "hidden": false,
            "name": "kali-linux",
            "source": "Windows.Terminal.Wsl",
            "startingDirectory": "\\\\wsl$\\kali-linux\\root"
            "tabColor": "#158FAD"
        },

Backup Windows Terminal settings

Location of Windows Terminal settings.json file:

Powershell: $ENV:Userprofile\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

CMD: %userprofile%\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

>>> Backing Up Windows Terminal Settings with PowerShell | The Lonely Administrator

Install Cascadia Code

Download and install Cascadia Code font at https://github.com/microsoft/cascadia-code/releases

Resources

Windows Terminal | Microsoft Docs

Popular posts from this blog

Qubes OS: Fedora 30

Create a new Standalone VM based on fedora-29 VM template Extend root partition: run command on dom0 tuyen@dom0:~ $ qvm-volume extend fedora-30:root 12288MB Set qrexec_timeout to 600 seconds tuyen@dom0:~ $ qvm-pref --set fedora-30 qrexec_timeout 600 $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-sytem-upgrade $ sudo dnf system-upgrade download --release=30 Install fedora-30 template Run the following command on dom0 terminal $ sudo qubes-dom0-update qubes-template-fedora-30 Install Adobe Flash Player Adobe Flash Player will not go away soon. So, let's grab the latest version of Adobe Flash Player , then install using yum or dnf command. Verify if Adobe Flash Player is installed and works by visiting https://helpx.adobe.com/flash-player.html [user@fedora-30 ~]$ sudo dnf install Downloads/flash-player-npapi-32.0.0.238-release.x86_64.rpm Last metadata expiration check: 0:37:03 ago on Fri Aug 30 09:18:10 2019. Dependencies resolved. =========...

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Python: Free Online Courses

Ever thinking about which programming language to learn first? You can learn Python for free with these online courses.