Soluții

How to make Windows programs open as maximized

Before you can force programs to open maximized, you must access the Properties window for that program. This process varies slightly based on where the shortcut icon is located.

Desktop shortcut icon: Right-click the shortcut icon and select Properties from the drop-down menu.

Taskbar shortcut icon: Forcing these applications to open as maximized requires an additional step.

  1. Right-click the shortcut icon in the Windows taskbar, then right-click the program itself.
  2. Select Properties in the menu.

Maximizing the program on launch

  1. In the Properties window, click the Shortcut tab.
  2. Locate the Run: section, and click the down arrow on the right side (red circle).
  3. In the drop-down menu, select Maximized.
  4. Click Apply, and then click OK.

The program still does not open as maximized

If changing the Run setting to maximized does not work, try the following options to get the program to open maximized. NoteDespite changing the Run option to “Maximized” in the shortcut properties, some program windows do not open as maximized. The way a program is developed can cause that issue, and there is often no way to change that behavior.

  • Open the program, maximize the window by clicking the square icon in the upper-right corner, then close the program. Re-open the program to see if it opens as maximized.
  • Open the program, maximize the window by clicking the square icon in the upper-right corner. Then, press and hold the Ctrl key and close the program. Re-open the program to see if it opens as maximized.
[mai mult...]

Diferența dintre adăugarea la un fișier și suprascrierea acestuia, echo “a new line of text” > imp.config.

Dacă lucrezi în terminal, o modalitate de a adăuga o linie nouă într-un fișier de configurare este să-l deschizi într-un editor de text precum Nano sau Micro și să o introduci manual. Totuși, o metodă mai rapidă este să trimiți acea linie direct în fișier folosind o singură comandă:

echo “a new line of text” >> imp.config

Această comandă adaugă „a new line of text” la sfârșitul fișierului imp.config.

Totuși, să presupunem că te grăbeai și ai tastat-o ​​greșit astfel:

echo “a new line of text” > imp.config

Acum ai înlocuit conținutul vechiului fișier imp.config cu un fișier nou, care conține o singură linie: „a new line of text”. Singura diferență este că ai tastat „>” în loc de „>>”.

[mai mult...]

Cum folosesti corect comanda sudo ufw enable

Pe hârtie, această comandă este cât se poate de inofensivă. Ea activează firewall-ul, ceea ce reprezintă o practică excelentă din perspectiva securității și face parte din numeroasele liste de verificare utilizate la configurarea inițială a unui sistem nou. Problema apare atunci când o rulezi prin SSH.

[mai mult...]

Creeaza scripturi personalizate și fișierele batch cu programul Greenshot

Greenshot include o opțiune de „Configurare comenzi externe ” care îți permite, de asemenea, să adaugi aplicații terțe pe care programul le poate lansa direct. Poți chiar să utilizezi comenzi sau să „încarci” scripturi printr-un fișier batch în cadrul aceleiași funcții pentru a lansa o anumită aplicație, a trimite imaginea capturată la poziția cursorului și a finaliza apoi operațiunile necesare în acea aplicație.

[mai mult...]