在Windows 7时代,您可以通过访问操作系统的外观(Appearance)和个性化(Personalization)设置页面快速更改桌面的默认图标间距。但是,较新的Windows版本中缺少此选项。
如果您使用的是Windows 11或Windows 10,本文将向您展示如何通过调整系统注册表或依赖第三方桌面自定义软件来更改桌面图标间距。
重要:备份(Backup)系统注册表(System Registry)
在Windows 11(Windows 11)和Windows 10中更改桌面图标间距涉及编辑系统注册表。但是,错误地修改它可能会导致严重的问题,因此我们建议您在继续之前对其进行备份。
有关全面的分步说明,请查看本指南以备份和恢复 Windows 注册表(backing up and restoring the Windows registry)。
修改注册表(Registry)以更改桌面图标(Change Desktop Icon)间距
您可以通过更改系统注册表中两个相关条目的值来修改Windows 11和 10中的水平和垂直桌面间距。下面的步骤应该可以帮助您找到和编辑它们。
1. 按Windows + R打开运行(Run )框。
2.输入regedit并按Enter。
3. 在注册表编辑器(Registry Editor)窗口中,复制并粘贴
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics 进入注册表编辑器的地址栏并回车。(Enter.)
4. 您应该在窗口右侧找到影响默认桌面图标间距的两个注册表项:
- IconSpacing:影响图标的水平间距。
- IconVerticalSpacing:影响图标垂直间距。
两个条目的默认值为 – 1125,而范围可以在 – 480到 – 2730之间。
注意:(Note:)增加该值会减小间距,因为该值为负数(as the values are negative),而降低它会增加间距。
5. 更改一个或两个键,然后选择确定(OK )保存更改。
例如,下面的屏幕截图显示了将IconSpacing注册表项修改为-2000后的水平桌面图标间距。
注意:(Note:)更改水平间距也会影响图标的边界区域。这会影响文本在它们下方的显示方式。
此外,下面的屏幕截图显示了将IconVerticalSpacing设置为-2000的垂直桌面图标间距。
重要提示:(Important: )要使用更改更新Windows 11或 10 桌面,您必须注销并重新登录您的用户帐户或重新启动计算机。
如果要恢复更改,只需重新打开注册表编辑器(Registry Editor)并将IconSpacing和IconVerticalSpacing键设置为-1125。
使用第三方桌面定制软件(Use Third-Party Desktop Customization Software)
如果您不想在Windows 11或Windows 10中查看系统注册表,您可以使用第三方桌面自定义应用程序来修改默认桌面图标间距。Desktop Icon Spacing和DesktopOK是两个可以帮助您的免费程序。
桌面图标间距(Desktop Icon Spacing)轻巧且易于使用,并且可以更改Windows上的默认桌面图标间距。
下载应用程序( downloading the app)后,只需运行可执行文件并使用水平(Horizontal )和垂直(Vertical )旁边的滑块根据需要修改图标间距。然后,选中All data saved(All data saved)和All other windows closed旁边的复选框,然后选择Apply。这会提示文件资源管理器(File Explorer)自动重新启动,您的更改将立即反映。
如果要回滚它们,请打开Advanced菜单并选择Set Default。
DesktopOK是另一个应用程序,它不仅可以让您更改Windows桌面上的默认图标间距,还可以提供一系列附加选项,包括调整图标大小(adjusting icon sizes)、字体、按屏幕分辨率保存图标布局等。
下载DesktopOK后,解压并运行可执行文件。在显示的DesktopOK窗口中,打开Tools菜单并选择Windows Metrics。
在Windows Metrics窗口中,使用(Windows Metrics)水平间距(Horizontal Spacing)和垂直间距(Vertical Spacing)旁边的滑块对图标间距进行所需的更改。更改应立即应用。如果没有,请选择重新启动资源管理器(Restart Explorer)以强制重新启动文件资源管理器。
如果要切换回默认间距,请选择两个滑块旁边的默认按钮。(Default )
轻松设置首选桌面图标间距(Preferred Desktop Icon Spacing)
上面的说明应该可以帮助您按照自己喜欢的方式在Windows 11和Windows 10中设置桌面间距。(Windows 10)提醒一下,弄乱注册表可能会导致问题,因此请记住在进行其他更改之前对其进行备份。如果您想安全起见,请改用上述两个应用程序之一。
因此,除此之外,您可以通过完全自定义图标来使您的桌面焕然一新(jazz up your desktop by fully customizing icons)。
How to Change Desktop Icon Spacing in Windows 11/10
Back in the daуs of Windows 7, you could quickly change the default icоn spacing for the dеsktop by visiting the operatіng system’s Appeаrance and Personalization settings page. This option is, howevеr, missing іn newer Windows versions.
If you’re using Windows 11 or Windows 10, this article will show you how to change desktop icon spacing either by tweaking the system registry or by relying on third-party desktop customization software.
Important: Make a Backup of the System Registry
Changing the desktop icon spacing in Windows 11 and Windows 10 involves editing the system registry. However, incorrectly modifying it can result in serious issues, so we recommend that you back it up before proceeding.
For comprehensive step-by-step instructions, check out this guide to backing up and restoring the Windows registry.
Modify the Registry to Change Desktop Icon Spacing
You can modify the horizontal and vertical desktop spacing in Windows 11 and 10 by changing the values of the two relevant entries within the system registry. The steps below should help you locate and edit them.
1. Press Windows + R to open the Run box.
2. Type regedit and press Enter.
3. On the Registry Editor window, copy and paste
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics into the Registry Editor’s address bar and press Enter.
4. You should find the two registry entries that impact the default desktop icon spacing to the right of the window:
- IconSpacing: Affects the icon spacing horizontally.
- IconVerticalSpacing: Affects the icon spacing vertically.
The default value is –1125 for both entries, while the range can be between –480 to –2730.
Note: Increasing the value decreases spacing as the values are negative while lowering it increases the spacing.
5. Make changes to one or both keys and select OK to save your changes.
For example, the screenshot below shows the horizontal desktop icon spacing after modifying the IconSpacing registry entry with a value of -2000.
Note: Changing the horizontal spacing also impacts the bounding areas of icons. That affects the way text appears underneath them.
Additionally, the screenshot below shows the vertical desktop icon spacing with the IconVerticalSpacing set to -2000.
Important: To update the Windows 11 or 10 desktop with the changes, you must sign out and back into your user account or restart your computer.
If you want to revert the changes, simply re-open the Registry Editor and set the IconSpacing and IconVerticalSpacing keys to -1125.
Use Third-Party Desktop Customization Software
If you’d rather not poke around the system registry in Windows 11 or Windows 10, you can use third-party desktop customization apps to modify the default desktop icon spacing. Desktop Icon Spacing and DesktopOK are two free programs that can help you with that.
Desktop Icon Spacing is lightweight and easy to use and enables changing the default desktop icon spacing on Windows.
After downloading the app, just run the executable file and use the sliders next to Horizontal and Vertical to modify the icon spacing as needed. Then, check the boxes next to All data saved and All other windows closed and select Apply. That prompts File Explorer to restart automatically, and your changes shall reflect right away.
If you want to roll them back, open the Advanced menu and select Set Default.
DesktopOK is another app that not only lets you change the default icon spacing on your Windows desktop but also offers a slew of additional options, including adjusting icon sizes, fonts, saving icon layouts by screen resolution, and so on.
After downloading DesktopOK, extract it and run the executable file. On the DesktopOK window that shows up, open the Tools menu and select Windows Metrics.
On the Windows Metrics window, use the sliders next to Horizontal Spacing and Vertical Spacing to make the required changes to icon spacing. The changes should apply immediately. If they don’t, select Restart Explorer to force-restart File Explorer.
Select the Default button next to the two sliders if you want to switch back to the default spacing.
Set Your Preferred Desktop Icon Spacing Easily
The instructions above should’ve helped you set the desktop spacing in Windows 11 and Windows 10 just the way you like. As a reminder, messing around the registry can cause issues, so remember to back it up before making additional changes. If you want to play it safe, use one of the two apps above instead.
So with that out of the way, here’s what you can do to jazz up your desktop by fully customizing icons.