Home > Computer Tutorials > Computer Knowledge > How to launch Terminal in the center of the screen on Windows 11

How to launch Terminal in the center of the screen on Windows 11

王林
Release: 2024-03-20 18:26:02
forward
1047 people have browsed it

Windows Terminal is a commonly used command line tool in Windows operating systems, usually opened in the upper left corner of the screen. However, if you'd rather launch a Terminal window from a central location in Windows 11, we can provide you with a detailed guide on how to do so.

如何在Windows 11上启动屏幕中央的终端

How to launch Terminal in the center of the Windows 11 screen

There are two ways to set the Windows Terminal to open in the center instead of the upper left corner. One is to modify the Settings.json file, and the other is to implement it through terminal settings.

1]Change terminal settings

如何在Windows 11上启动屏幕中央的终端

In this method, you can set the Windows Terminal to open in the center of the screen by modifying the Terminal startup settings. Here’s how:

Right-click on the Start menu and select Windows Terminal (Admin).

Now, click on the small arrow to the right of the Windows PowerShell tab and select Settings.

By default, the settings window will open the startup section.

Here, on the right, scroll down to the bottom and expand Launch Parameters.

Now, go to the center on startup and move the toggle to the right to turn it on.

Press the save button to save changes.

Read: How to Reinstall Windows Terminal

2]Configure Settings.json file

如何在Windows 11上启动屏幕中央的终端

In this method, it is recommended that you download and install the Visual Studio Code application to easily configure the Settings.json file.

When finished, press the Ctrl Alt shortcut key to open the Settings.json file in the relevant application. In this case it will open in the Visual Studio Code application.

When the terminal opens in Visual Studio, copy the following code and paste it just above the profile command:

 "LaunchMode": "Default",
"centerOnLaunch": True,
"initial position":",",
Copy after login

Press Ctrl S to save changes.

This will change the Terminal settings to help it launch in the center of the Windows 11 screen.

Read Next: Windows Terminal Tips and Tricks

How to launch Terminal in Windows 11?

Press the Win X shortcut key and select Windows Terminal from the menu to open the terminal in Windows 11. Alternatively, you can type terminal in the Windows search box and select it from the results. Additionally, you can right-click the Start button and select Windows Terminal (Admin) to open elevated Windows PowerShell.

How to open the Terminal context menu in Windows 11?

To open the Windows terminal in the context menu in Windows 11, right-click on any of your chosen folders. Next, select Show more options, and then click on Open in Windows Terminal. But if you want to run the terminal as admin, select Open in Windows Terminal (Admin).

The above is the detailed content of How to launch Terminal in the center of the screen on Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:mryunwei.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template