Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.42k stars 2.37k forks source link

More Control Settings / Windows 10 Settings #2875

Open bao-qian opened 4 years ago

bao-qian commented 4 years ago
  1. control panel items is not the full list of system settings. e.g. "advanced system settings" is not in the list.
  2. windows 10 settings is not included.

In windows 10, It seems like (no doc) all settings and setting shortcuts is included in this file. we can use following info to enhance control panel plugin.

C:\Windows\ImmersiveControlPanel\Settings\AllSystemSettings_{253E530E-387D-4BC2-959D-E6F86122E5F2}.xml %LOCALAPPDATA%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed\Settings\en-US

there are 3 types of items.

  1. old win7 / classic one. We need extract icon and description from dll.

    <SearchableContent>
    <Filename>Classic_{CD95D0E3-6B3A-495B-9FDA-57FAD586304D}</Filename>
    <ApplicationInformation>
      <DeepLink>%windir%\system32\taskmgr.exe /6</DeepLink>
      <Icon>%SystemRoot%\System32\imageres.dll,-149</Icon>
    </ApplicationInformation>
    <SettingIdentity>
      <PageID>{BB06C0E4-D293-4F75-8A90-CB05B6477EEE}</PageID>
      <SettingID>{CD95D0E3-6B3A-495B-9FDA-57FAD586304D}</SettingID>
      <HostID>{12B1697E-D3A0-4DBC-B568-CCF64A3F934D}</HostID>
    </SettingIdentity>
    <SettingInformation>
      <Description>@shell32.dll,-24744</Description>
    </SettingInformation>
    </SearchableContent>
  2. windows 10 settings one. we need use SHLoadIndirectString for description and Glyph for icon. the font for this Glyph is Segoe MDL2 Assets

  <SearchableContent>
    <Filename>AAA_SystemSettings_Start_LinkToPlacesPage</Filename>
    <ApplicationInformation>
      <Glyph></Glyph>
    </ApplicationInformation>
    <SettingIdentity>
      <PageID>SettingsPageStart</PageID>
      <SettingID>SystemSettings_Start_LinkToPlacesPage</SettingID>
      <GroupID>SettingsGroupStartSystemArea</GroupID>
    </SettingIdentity>
    <SettingInformation>
      <Description>@{windows?ms-resource://Windows.UI.SettingsAppThreshold/SearchResources/SystemSettings_Start_LinkToPlacesPage/Description}</Description>
      <HighKeywords>@{windows?ms-resource://Windows.UI.SettingsAppThreshold/SearchResources/SystemSettings_Start_LinkToPlacesPage/HighKeywords}</HighKeywords>
    </SettingInformation>
  </SearchableContent>
  1. same as second one, but there is no icon. those one use same icon as windows 10 settings uwp app
bao-qian commented 4 years ago

releated https://github.com/Wox-launcher/Wox/issues/2616

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.

rnd256 commented 9 months ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.

So every issue in this repo will get closed if it doesn't get a response within 10 days? Seems far too quick.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.