#desktop
17 solutions
Toggle GNOME's system-wide dark preference with gsettings set org.gnome.desktop.interface color-scheme prefer-dark.
Use notify-send to pop up a desktop notification when a long command finishes, with optional icons, urgency and timeouts.
Capture the full screen, a window or a selected area to a timestamped PNG using scrot or gnome-screenshot.
Point org.gnome.desktop.background picture-uri (and picture-uri-dark) at a file:// URI to change the desktop background from a script.
Hot corner keys live in com.apple.dock; writing wvous-*-corner assigns an action to each screen corner.
Use loginctl lock-session to lock the current desktop session, or lock-suspend to lock and suspend in one step.
Generate .lnk shortcut files from a script using the WScript.Shell COM object and CreateShortcut.
gio trash sends files to the standard desktop Trash (recoverable from Files/Nautilus), unlike rm which deletes immediately and forever.
Launch any file or link in its default application — the desktop-agnostic equivalent of macOS's open command.
Change every desktop's picture by scripting Finder through osascript — no System Settings clicking.
Use fc-list to enumerate installed fonts and find exact family names for terminal, CSS or editor font settings.
Set libinput Accel Speed per device with xinput for finer pointer-speed control than the desktop slider.