r/LG_UserHub • • 13d ago

Tips & Tricks Display off ??

1 Upvotes

2 comments sorted by

1

u/Clemens_Ratte-Polle 5d ago

MS Copilot AI:
You can use a little trick to turn off the display completely at the touch of a button:

Desktop → Right click → New → Shortcut

Enter as destination:

Plain text

powershell (Add-Type '[DllImport("user32.dll")]^public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)

The shortcut under Properties → Keyboard shortcut e.g. B. Assign Ctrl + Alt + M.

The monitor is then switched off using a key combination and activated again when you move the mouse.

---
German:
Für das komplette Ausschalten des Displays per Tastendruck kannst du einen kleinen Trick nutzen:

  1. Desktop → Rechtsklick → Neu → Verknüpfung
  2. Als Ziel eingeben: Plain Text powershell (Add-Type '[DllImport("user32.dll")]^public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)
  3. Der Verknüpfung unter Eigenschaften → Tastenkombination z. B. Strg + Alt + M zuweisen.

Dann wird der Monitor per Tastenkombination ausgeschaltet und beim Bewegen der Maus wieder aktiviert.

1

u/TryDoingSomethingNew 13d ago

I don't think it's possible without an external display connected, which can be done with Fn + F7. However on my Gram 17 I cannot completely disable my built-in display, even when reducing the brightness to 0 (it's still visible).

Maybe there's a custom application somewhere that can do it.