Made a small tool so Show Desktop only minimizes the monitor you click


Zalexdev

Member
Local time
10:39 PM
Posts
2
OS
Windows 11
Hi all, first post here, been lurking for a while

I have 3 monitors and the Show Desktop button has been driving me nuts for years. I click the corner on my right screen because I need something from the desktop there, and boom, everything on every screen is gone, including the video and whatever I was actually looking at on the other two. 99% of the time that’s not what I want

Couldn’t find anything that fixes the actual button (DisplayFusion can kinda do it with a hotkey but I didn’t want a whole suite just for this), so I ended up writing a little tray app for myself. It’s called SmartCollapse:

Demo GIF

  • click Show Desktop → only the windows on that monitor get minimized
  • click again → exactly those windows come back, same order, maximized ones stay maximized
  • hover the button → peek at the desktop on that monitor only
  • Shift+click if you want the normal all-monitors behavior

It doesn’t inject anything into Explorer or patch any files, it’s just a normal app with a mouse hook that only reacts to clicks on the Show Desktop button. Close it and everything is back to stock. ~250 KB, no installer

Tested on Win11 25H2 with the stock taskbar and with StartAllBack (3 monitors, different scaling, one taskbar horizontal and two vertical). Should work with ExplorerPatcher too but I haven’t tried it myself, so if someone uses EP let me know

Btw Win+D still minimizes everything like before, only the button changes. There’s a --toggle command line option though, so you can bind it to a hotkey if you want

Honest note: I built it with AI assistance. I designed it, reviewed the code and use it every day on my own setup. It’s open source (Apache-2.0) so feel free to look through it


GitHub: GitHub - zalexdev/SmartCollapse: Makes the taskbar's Show desktop button work per monitor. Click it and only the windows on that monitor are minimized; click it again and exactly those windows come back. Your other monitors are left alone.

Feedback and bug reports welcome, first time putting something like this out there 🙂
 
Windows Build/Version
Win 11 25H2

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
Hover peek doesn't work if you slam your cursor hard into the corner! I have to move it a couple px out for it to work! I haven't the patience to be that precise!

14261.webp
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
When you Exit your program, you have to re-check the native Peek at desktop...

14262.webp
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
Create a desktop shortcut to C:\Windows\explorer.exe shell:::{3080F90D-D7AD-11D9-BD98-0000947B0257}
Name the shortcut Show Desktop and assign whatever icon you want to it. Right click on the shortcut and pin to taskbar. Delete the shortcut from the desktop
Simple as that. I've done it since Windows 7.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9457i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 26H2 26300.9457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.9457AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.9457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
  • System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.9457

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
Back
Top Bottom