Windows Aero:修订间差异

跳转到导航 跳转到搜索
添加12字节 、​ 2025 年 5 月 25 日 (星期日)
第 12 行: 第 12 行:


== 重置前 Longhorn 版本中的 Aero ==
== 重置前 Longhorn 版本中的 Aero ==
Longhorn 的重置前版本不包含 Aero 主题。有一个非常普遍的误解,即可以通过重命名视觉样式文件在 Longhorn 的重置前版本中“启用”Aero;重命名文件会欺骗操作系统,使其假定用户有权访问私有的、未泄露的 Aero 主题,从而启用各种 DCE/DWM 效果。例如,在 M6 版本中将 <code>plex.msstyles</code> 重命名为 <code>aero.msstyles</code>(Build [[Windows Longhorn Build 4042.0.Lab06_n.030909-1709|4042.Lab06_n]] 的 <code>slate.msstyles</code> 重命名为 <code>aero.msstyles</code>)将授予用户 Glass DCE 窗口框架,但将保留大部分 Plex(对于 [[Windows Longhorn Build 4042.0.Lab06_n.030909-1709|4042.Lab06_n]] 是 Slate)样式。对于 M7 版本,可以使用 [[Jade]] 视觉样式重新创建 Aero 视觉样式,尽管此过程并不像将 <code>jade.msstyles</code> 重命名为 <code>aero.msstyles</code> 那么简单。
Longhorn 的重置前版本不包含 Aero 主题。有一个非常普遍的误解,即可以通过重命名视觉样式文件在 Longhorn 的重置前版本中“启用”Aero;重命名文件会欺骗操作系统,使其假定用户有权访问私有的、未泄露的 Aero 主题,从而启用各种 DCE/DWM 效果。例如,在 M6 版本中将 <code>plex.msstyles</code> 重命名为 <code>aero.msstyles</code>(Build [[Windows Longhorn Build 4042.0.lab06_n.030909-1709|4042.Lab06_n]] 的 <code>slate.msstyles</code> 重命名为 <code>aero.msstyles</code>)将授予用户 Glass DCE 窗口框架,但将保留大部分 Plex(对于 [[Windows Longhorn Build 4042.0.lab06_n.030909-1709|4042.Lab06_n]] 是 Slate)样式。对于 M7 版本,可以使用 [[Jade]] 视觉样式重新创建 Aero 视觉样式,尽管此过程并不像将 <code>jade.msstyles</code> 重命名为 <code>aero.msstyles</code> 那么简单。


===Windows Longhorn build 4038 to build 4042 (Lab06_n)===
===Windows Longhorn build 4038 to build 4042 (Lab06_n)===
Firstly, make sure to install a compatible Direct3D driver and verify its functionality using <code>dxdiag.exe</code>. Although running <code>sbctl</code> (in <code>C:\WINDOWS\i386</code>) with the parameter <code>start</code> will enable the DCE borders, it will appear opaque. The User Experience Desktop Server checks the existence of <code>%windir%\Resources\Themes\Aero\aero.msstyles</code>; if it is located, transparent Glass borders will be applied instead of the opaque Metal border. To enable transparent borders, navigate to <code>C:\WINDOWS\Resources\Themes</code> and copy the "Plex" folder ("Slate" for the [[Windows Longhorn build 4042 (Lab06_n)|Lab06_n compile of build 4042]]). Paste the copied folder back into the Themes directory, which will automatically rename itself to "Plex - Copy" ("Slate - Copy" for the aforementioned build). Rename the newly copied folder to "Aero" and rename the <code>.msstyles</code> file inside to <code>aero.msstyles</code>. Subsequently, restart the theming service (either by executing <code>net stop winux</code> and <code>net start winux</code> for Lab06 builds or by logging off and back on). Finally, run <code>sbctl start</code> once more to enable the glass borders.
Firstly, make sure to install a compatible Direct3D driver and verify its functionality using <code>dxdiag.exe</code>. Although running <code>sbctl</code> (in <code>C:\WINDOWS\i386</code>) with the parameter <code>start</code> will enable the DCE borders, it will appear opaque. The User Experience Desktop Server checks the existence of <code>%windir%\Resources\Themes\Aero\aero.msstyles</code>; if it is located, transparent Glass borders will be applied instead of the opaque Metal border. To enable transparent borders, navigate to <code>C:\WINDOWS\Resources\Themes</code> and copy the "Plex" folder ("Slate" for the [[Windows Longhorn Build 4042.0.lab06_n.030909-1709|Lab06_n compile of build 4042]]). Paste the copied folder back into the Themes directory, which will automatically rename itself to "Plex - Copy" ("Slate - Copy" for the aforementioned build). Rename the newly copied folder to "Aero" and rename the <code>.msstyles</code> file inside to <code>aero.msstyles</code>. Subsequently, restart the theming service (either by executing <code>net stop winux</code> and <code>net start winux</code> for Lab06 builds or by logging off and back on). Finally, run <code>sbctl start</code> once more to enable the glass borders.


===Windows Longhorn builds 4066 to 4082===
===Windows Longhorn builds 4066 to 4082===

导航菜单