Skip to content

About

ALternative Windows Shell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ModernShell icon

ModernShell

ModernShell is a replacement Windows shell written in C++ with plain Win32 and GDI+. It gives you a desktop with real shell icons, a taskbar, a start menu, a Spotlight / KRunner style launcher, window snapping, virtual desktops and a lot of small conveniences, in a dark and orange style that follows the FModModern file manager. It can run as the shell instead of Explorer or be tried out first as a normal program.

It is a single executable with no runtime to install. Settings live in HKEY_CURRENT_USER\Software\ModernShell, logs and caches in %LOCALAPPDATA%\ModernShell.

Status: ModernShell is built and tested by one person on one machine. Every release note in CHANGELOG.md says which parts have not been checked on real hardware. Try it as a normal program first, and read "Using it as your default shell" before you register it.

Contents

  1. Requirements
  2. Installing
  3. Building from source
  4. What is in it
  5. Keyboard shortcuts
  6. File search (voidtools Everything)
  7. Using it as your default shell
  8. Settings, logs and troubleshooting
  9. Files in this folder

1. Requirements

Windows 10 or Windows 11, 64-bit (a 32-bit build exists for 32-bit Windows). To build it yourself you need the Visual Studio Build Tools (MSVC) and the Windows 10/11 SDK. File search needs the free voidtools Everything program, which ModernShell can download for you the first time you search for a file.

2. Installing

There are three ways, from simplest to most involved.

  1. Run it where it is. Build it (section 3) or take a built ModernShell.exe, put it in any folder together with Everything64.dll, and start it. Nothing is written outside your user profile.
  2. Use the installer. installer\ModernShell.iss is an Inno Setup 6 script. Build ModernShell, install the free Inno Setup, run build-installer.bat, and you get dist\ModernShell-Setup-<version>.exe, which installs to Program Files, adds Start menu and optional desktop shortcuts and registers an uninstaller. The uninstaller puts Explorer back as the shell if ModernShell was registered as it.
  3. Without extra tools. installer\install.bat copies the built files to Program Files with a Start menu shortcut and an uninstall entry. installer\PAQUET-BUILDER.md lists everything a Paquet Builder project needs.

3. Building from source

The sources are main.cpp, version.h, version.rc, app.manifest and assets\ModernShell.ico. Open a normal Command Prompt in this folder and run:

build.bat            64-bit build, produces ModernShell.exe
build32.bat          32-bit build, produces ModernShell32.exe

build.bat finds the newest MSVC toolset under C:\BuildTools and the newest Windows SDK under C:\Program Files (x86)\Windows Kits\10 by itself. Set BT, SDK, MSVC or SDKV before running it if yours are elsewhere. It also writes a copy named ModernShell-v<version>.exe and a .map file. For the 32-bit build you need the "MSVC x64/x86 build tools" component, the SDK's x86 libraries and Everything32.dll.

Both builds expect the matching Everything DLL (Everything64.dll or Everything32.dll, from the voidtools SDK) next to the exe. build.bat copies it from Documents\EverythingSDK\dll when it is there. Without it everything works except file search, and ModernShell offers to download it.

4. What is in it

Desktop. Wallpaper (fill, fit, stretch, center, tile, slideshow, or follow the Windows wallpaper) with the real shell desktop icons: genuine context menus, drag and drop with the shell's own copy dialogs, multi-select, rename, delete, stacks that group icons by kind or date, and Quick Look previews on Space.

Taskbar. Window buttons with live thumbnails, pinning of programs, files and folders, a notification area that other programs can use, volume, network and battery indicators, a calendar flyout and a quick settings flyout (Wi-Fi, volume, brightness, media keys, power). It can sit at the top or bottom, auto-hide, change height, and take any colour and opacity. Every extra monitor gets the wallpaper and its own taskbar.

Start menu and launcher. The start menu has a search box; Alt+Space opens the same search as a centred launcher. It finds programs, files and folders (through Everything), runs commands, calculates, converts units and currencies, previews colours, switches windows and keeps a clipboard history. See the table below for the syntax.

Window management. Snap by dragging to an edge or corner, snap layouts (Win+Z), Windows-style Win+Arrow snapping, a thumbnail Alt+Tab switcher, nine virtual desktops with their own strip on the taskbar, and hot corners.

Robustness. A supervisor restarts the shell after a crash or hang, third-party shell extensions are fault-isolated, and crashes are written to crash.log. A set of recovery options sits in the taskbar menu under "Crash recovery".

Launcher syntax

You type You get
a name programs, files and folders; Everything operators work (ext:pdf invoice, size:>1gb)
> dir or >> Get-Process run in Command Prompt or PowerShell, or show the output in a preview window
= 2+2*3, 20% of 150, sqrt(2) a calculator with history (= lists it, ans is the last result)
5 km to mi, 100 usd to eur unit and currency conversion
#ff8800, rgb(255,136,0) colour preview in hex, rgb and hsl
? text web search
:lock, :vol 40, :dark, :qs, :everything ... commands; : alone lists them
clip, note text, kill name, w text clipboard history, notes, end a process, switch to a window

In the result list: Enter opens, Ctrl+Enter runs as administrator, Shift+Enter opens the containing folder, Alt+Enter shows properties, F3 toggles the preview pane, Ctrl+Space opens Quick Look, Ctrl+D pins to the desktop, Ctrl+P pins to the taskbar, and a right-click gives the shell menu.

5. Keyboard shortcuts

Keys Action
Win start menu (tap again to close)
Alt+Space, Win+S, Win+Q launcher
Win+E / Win+Shift+E file manager (FModModern by default) / Windows Explorer
Win+V clipboard history
Win+A quick settings
Win+Z, Win+Arrows snap layouts, snap the active window
Win+Ctrl+Left / Right / 1-9 switch virtual desktop (add Shift to move the window)
Win+1 ... 9 taskbar buttons
Alt+Tab, Win+Tab window switcher
Win+D, Win+M, Win+Shift+M show desktop, minimize all, restore all
Win+R, Win+X, Win+I, Win+P, Win+Pause Run, power user menu, Settings, display switch, System
Win+T taskbar solid / transparent
Win+Shift+T taskbar colour and opacity panel
Win+Y / Win+Shift+Y next / previous taskbar colour
Win+PgUp / PgDn taskbar more opaque / more transparent
Win+Shift+C custom taskbar colours on / off
Win+Shift+L ModernShell light / dark
Ctrl+Alt+R restart the shell
Space (desktop icon selected) Quick Look
F5, F2, Del, Ctrl+A / C / X / V refresh, rename, delete, select all, copy, cut, paste on the desktop

6. File search (voidtools Everything)

File and folder search is done by voidtools Everything, a free search engine that indexes your drives in seconds. It needs two parts: the Everything program, and the SDK DLL next to ModernShell (Everything64.dll, or Everything32.dll for the 32-bit build).

When either is missing, the launcher shows a row at the bottom of the results saying so. Press Enter on it to download what is missing from voidtools.com; an inline progress bar shows how far it is. The DLL is loaded straight away, and the Everything installer opens for you to finish. Shift+Enter hides the row, and typing :everything shows it again.

7. Using it as your default shell

Right-click the taskbar, then "Default shell and alternate shell". "Make ModernShell the default shell (this user)" writes the program's path into HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell, so Windows starts ModernShell instead of Explorer at your next sign-in. The all-users option does the same under HKLM and asks for administrator rights. Both restore the old value from the same menu.

Safety nets: exiting ModernShell while it is the only shell asks whether to start the alternate shell (Explorer by default), holding Shift while signing in starts the alternate shell instead, and five crashes within a minute start it automatically. If the registered file is ever moved or deleted you get a black screen: press Ctrl+Alt+Del, open Task Manager, choose Run new task, start explorer.exe, then restore the shell from the menu or delete the Shell value. Try this on a spare account first.

8. Settings, logs and troubleshooting

Settings are stored under HKCU\Software\ModernShell (taskbar colour and height, hot corners, virtual desktops, file manager and so on); the menus change them, so there is normally no need to edit the registry. %LOCALAPPDATA%\ModernShell holds crash.log, protocol.log, rates.txt (cached currency rates) and any downloaded Everything64.dll.

If something crashes, the newest part of crash.log names the module involved; open it from the taskbar menu under "Crash recovery". "Safe shell extensions" restricts the shell to Microsoft-signed DLLs. Start with --bare to run without any shell extension and --nowatchdog to run without the restart supervisor.

If a window goes missing after using virtual desktops, set the number of desktops to 1 (right-click a desktop box on the taskbar) and everything comes back.

9. Files in this folder

File Purpose
main.cpp, version.h, version.rc, app.manifest the program
build.bat, build32.bat 64-bit and 32-bit builds
assets\ icon (ModernShell.ico, PNGs), installer images and make_icon.py, which draws them
installer\ Inno Setup script, install.bat, Paquet Builder notes
build-installer.bat builds the Inno Setup installer into dist\
CHANGELOG.md every release and what is unverified

ModernShell is made by Nossy Drelich. The voidtools Everything program and SDK are the property of voidtools and are not part of this package.

About

ALternative Windows Shell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages