개발이야기2007. 8. 13. 21:00

 

Other Registry Tweaks

These registry tweaks either need categorizing, or do not fit any of the existing categories.


For further tweaks, see: WM5 Tweaks - Performance and http://www.pocketpctweaks.com/


Note to editors:

When editing, please make sure to disable the "[ ] Use Old Markup" option for display formatting reasons.


EXAMPLE - TRY NOT TO EDIT/DELETE

Tweak to do something

To do this and that, adjust the following registry value:

HKLM\Software\Microsoft\Something\SomeValue = 1 (DWORD decimal)

To do something different entirely, perhaps the opposite, do this:

HKLM\Software\Microsoft\Something\SomeValue = 0 (DWORD decimal)

This is an additional note


UI Modifications

Change the thickness of scrollbars

To change the thickness of the scrollbars at the right/bottom of documents larger than the screen, adjust...
For the horizontal (bottom) scrollbar:

HKLM\System\GWE\cyHScr = 9 (DWORD decimal)

For the vertical (right) scrollbar:

HKLM\System\GWE\cxVScr = 9 (DWORD decimal)

The default thickness is 13. You can set the value to pretty much anything you like

Change the length of scrollbar arrow buttons

To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons...
For the horizontal (bottom) scrollbar arrows:

HKLM\System\GWE\cyVScr = 9 (DWORD decimal)

For the vertical (right) scrollbar:

HKLM\System\GWE\cxHScr = 9 (DWORD decimal)

The default length is 13. You can set the value to pretty much anything you like

Enable ClearType in Landscape mode

To enable ClearType in Landscape mode:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 0 (DWORD decimal)

To disable:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 1 (DWORD decimal)

Note that your PocketPC screen's LCD red/green/blue ordering required for proper ClearType display is only correct for Portrait display. You may or may not prefer to leave ClearType in Landscape mode disabled

Change the display of the clock in the taskbar

The clock in the taskbar can be changed to show not only the time, but also the date, or just the date, or nothing at all.
To show nothing:

HKLM\Software\Microsoft\Shell\TBOpt = 0 (DWORD decimal)

To show just the clock:

HKLM\Software\Microsoft\Shell\TBOpt = 1 (DWORD decimal)

To show just the date:

HKLM\Software\Microsoft\Shell\TBOpt = 2 (DWORD decimal)

To show both the date and the clock:

HKLM\Software\Microsoft\Shell\TBOpt = 3 (DWORD decimal)

Note 1: If you switch to the Analog clock display, the date will remain visible -through- the Analog clock
Note 2: Setting the clock to show 'nothing' will still keep the reserved space, showing the taskbar background, and obscure any icons that will shift to the right.
Note 3: Your date may get obscured by the space reserved for the OK/Close button in the top-right. You can fix this my adding spaces at the end of your 'Short Date Format'. See also the tweak on 'Change the Short Date Format'

Show Edge network indicator instead of GPRS

If your network provider supports the Edge network (and your device does as well), you can use the following to show a little 'E' icon instead of 'G' icon when connected to an Edge network:

HKLM\Drivers\BuiltIn\RIL\EnableDifferGprsEdgeIcon = 1 (DWORD decimal)

To disable again:

HKLM\Drivers\BuiltIn\RIL\EnableDifferGprsEdgeIcon = 0 (DWORD decimal)

Note that your device -and- your network operator need to support Edge, otherwise you won't see it. Also note that if you connect to GPRS, you will still see the 'G' icon.

Add GPS settings icon

If you have a GPS device, you can add a GPS settings icon to your Start > Settings menu using:

HKLM\ControlPanel\GPS Settings\Group = 2 (DWORD decimal)
HKLM\ControlPanel\GPS Settings\redirect <-- delete, or rename, this value

Note that '2' stands for the Connections tab, '1' is System and '0' would be Personal
Note also that this has reportedly disabled one person's USB connectivity. To restore, set "GPS Program Port = None", "GPS Connection Port = None", "Automatic GPS Management = on"

Hide/Show Screen orientation icon

If you wish to hide the Screen orientation icon, shown in the task bar on some devices, you can set:

HKLM\Services\?ScreenRotate\ShowIcon = 0 (DWORD decimal)
HKLM\System\GDI\Rotation\HideOrientationUI = 1 (DWORD decimal)

And to show it again:

HKLM\Services\?ScreenRotate\ShowIcon = 1 (DWORD decimal)
HKLM\System\GDI\Rotation\HideOrientationUI = 0 (DWORD decimal)

If this doesn't work, you can try:

HKLM\Services\screenrotate = 0 (DWORD decimal)

And to show it again:

HKLM\Services\screenrotate = 1 (DWORD decimal)

Note that this icon and its feature may not be available on your device at all.

Hide/Show battery indicator in Task bar

If you wish to hide the battery indicator in the task bar on some devices, you can set:

HKLM\Services\Power\ShowIcon = 0 (DWORD decimal)

And to show:

HKLM\Services\Power\ShowIcon = 1 (DWORD decimal)

Note that this icon and its feature may not be available on your device at all. For example, the HTC Wizard regularly ships with a battery indicator in the Tray instead, governed by "Windows\Startup\Init_Tray.exe"._
_Note also that this reportedly does not work on AKU2 ROMs to remove the new battery indicator

Show slide-out keyboard caps/dot icon next to SIP

If your device contains a file called "capnotify.exe", try running it (most devices that have it will already have it in the Windows\StartUp\ folder), and setting the following value to get a visual presentation of whether you are in caps or dot (alternate key function) mode:
HKCU\ControlPanel\Keybd\EnableIndicator = 1
Please note that if your device has no external keyboard with caps/dot mode, you won't gain anything from this tweak
Please also note that the application "?CapNotify.exe" must be running (normally found in \Windows\?StartUp\ already) for this to work

Put custom text on bottom-right of Today screen

You can set some piece of text on the bottom-right of the Today Screen by setting the following key:

HKLM\Software\Microsoft\Shell\DeviceBeta\Today = "Hello World" (REG_SZ string, no quotes)

Please note that this text won't take up Today item text. It will be obscured by Today items.


File Locations

Change the location of My Documents

Documents are opened in and saved to the device's internal storage by default. You can change this location to, for example, your Storage Card:

HKLM\Software\Microsoft\Windows CE Services\FileSyncPath = "\Storage Card\My Documents" (REG_SZ string, no quotes)

To return to the original location:

HKLM\Software\Microsoft\Windows CE Services\FileSyncPath = "\My Documents" (REG_SZ string, no quotes)

Change the location of email and attachments

When reading and sending email in Pocket Outlook, emails and their attachments are saved in the device's internal storage by default. You can change this location to, for example, your Storage Card:

HKCU\Software\Microsoft\MAPI\PropertyPath = "\Storage Card\Mail" (REG_SZ string, no quotes) HKCU\Software\Microsoft\MAPI\AttachPath = "\Storage Card\Mail\Attachments" (REG_SZ string, no quotes)

To return to the original location:

Just simply delete these Registry settings (since neither is included by default).

Change the location of Temporary Internet Files

When browsing the web, pages and images are saved in the 'Temporary Internet Files' location. You can change this location to, for example, your Storage Card:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = "\Storage Card\cacheie" (REG_SZ string, no quotes)

To return to the original location:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = "\Windows\Profiles\guest\Temporary Internet Files" (REG_SZ string, no quotes)

Change the location of Ringtone file storage

WM5 will look for Ringtones in \Windows\ or \Windows\Rings by default. You can change this location to, for example, your Storage Card (example given is for ringtones placed on the Storage Card root folder)
HKCU\ControlPanel\SoundCategories\Ring\Directory = "\Storage Card\" (REG_SZ string, no quotes)

To return to the original location:

HKCU\ControlPanel\SoundCategories\Ring\Directory = "\Windows\Rings\" (REG_SZ string, no quotes)

Note the default location may be "\Windows\" or "\Windows\Rings\" depending on your Device provider.

Make WM5 ask where to install a program (1)

If you wish to be able to specify whether to install a program on WM5's Main storage, or your Storage Card, regardless of installer setting set:

HKLM\Software\apps\Microsoft Application Installer\fAskDest = 1 (DWORD decimal)

To disable again:

HKLM\Software\apps\Microsoft Application Installer\fAskDest = 0 (DWORD decimal)

Please note that many applications do not support being installed on the Storage Card and may behave unpredictably, including crashing.

Make WM5 ask where to install a program (2)

An alternative method of making WM5 ask where to install a program is by adding the "/askdest" option to the Windows CE loader:

HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /askdest' (REG_SZ string, no quotes)

Make WM5 keep CAB files around after installing (1)

If you wish to keep the original .CAB file around after installing the application, set:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)

Or to restore to the default:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 2 (DWORD decimal)

Make WM5 keep CAB files around after installing (2)

An alternative method of making WM5 keep the original .CAB file around after installing the application is by adding the "/nodelete" option to the Windows CE loader:

HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /nodelete' (REG_SZ string, no quotes)

Make WM5 prompt before overwriting an existing installation

If you wish to make WM5 prompt you before overwriting an existing installation, set:

HKLM\Software\apps\Microsoft Application Installer\fAskOptions = 1 (DWORD decimal)

To disable again:

HKLM\Software\apps\Microsoft Application Installer\fAskOptions = 0 (DWORD decimal)


Input (keyboard, soft keys, SIP)

Change slide-out keyboard layout

If you have a Device from one country, but would like to use the keyboard layout of another, you can change the keyboard's language setting to do so...

For US layout (QWERTY):
HKCU\ControlPanel\Keybd\Locale = 0409 (String)
For German layout (QWERTZ):
HKCU\ControlPanel\Keybd\Locale = 0407 (String)
For French layout (AZERTY):
HKCU\ControlPanel\Keybd\Locale = 040c (String)
For Spanish layout (QWERTY):
HKCU\ControlPanel\Keybd\Locale = 040a (String)

For other codes, see: http://www.microsoft.com/globaldev/reference/winxp/xp-lcid.mspx

Change the keyboard backlight duration

To change the duration of the keyboard backlight, you can set (example is 30 seconds):

HKCU\ControlPanel\Backlight\QKeyLedTimeout = 30 (DWORD decimal)

Please note that this may not work on some devices. One such notable exception is the HTC Wizard.

Change the application launched by Today screen Soft Keys

To change the application launched by the Today screen Left soft key:

HKCU\Software\Microsoft\Today\Keys\112\Open = "\Windows\Calendar.exe" (REG_SZ string, including quotes)

To change the title of the Left soft key:

HKCU\Software\Microsoft\Today\Keys\112\(Default) = "Calendar" (REG_SZ string, no quotes)

To change the application launched by the Today screen Right soft key:

HKCU\Software\Microsoft\Today\Keys\113\Open = "\Windows\Start Menu\Programs\Contacts.lnk" (REG_SZ string, including quotes)

To change the title of the Right soft key:

HKCU\Software\Microsoft\Today\Keys\113\(Default) = "Contacts" (REG_SZ string, no quotes)

Note that 113 normally doesn't exist by default, and probably needs to be created
Also note that there is at least 1 application that allows you to set these through a GUI, developed by FdcSoft called SoftKeyAppletEx.

Set default SIP

The default SIP (Secondary Input Panel) on practically every device is the Keyboard. You may prefer entry with a different SIP. If so, you can set this to be the default SIP through:

HKCU\ControlPanel\SIP\DefaultIM = |SIP ClassID|

The |SIP ClassID| will depend on the SIP's ClassID, which may vary per-device. You can find the correct ClassID by searching for "IsSIPInputMethod" in HKCR, then going to the top key and checking the name of the SIP that's in the (Default) value.
Please note that this doesn't work with all SIPs. Transcriber/Calligrapher are two examples of this.
You can, however, set Transcriber as the default SIP by starting Transcriber.exe on startup. (This should be moved to, or added to, non-registry Tweaks page)
WARNING: Do not assume that the below ClassIDs would be -as found- on your device! Setting it to a non-existant SIP may prevent your device from booting up!
WARNING: If you set an invalid value in DefaultIM (or apparently if you're running a recent AKU http://forum.xda-developers.com/showpost.php?p=1032402&postcount=800), then you'll probably have to hard reset your device. NOTE: An alternative means of changing the default SIP is by using the SIPChange utility: http://forum.xda-developers.com/showpost.php?p=995883&postcount=16
The following are some of the ClassIDs typically found:

Typical pre-installed:
{42429667-ae04-11d0-a4f8-00aa00a749b9} = Keyboard
{51A2CB38-154E-4C92-A625-A83871C99EC2} = Phone Pad
{42429690-ae04-11d0-a4f8-00aa00a749b9} = Letter Recognizer
{42429691-ae04-11d0-a4f8-00aa00a749b9} = Block Recognizer
{F0034DD0-2AD4-11d1-9CB0-E84BE8000000} = Transcriber
Third Party:
{991A1001-9DCB-11d3-B3C2-000000000000} = AccessPanel
{1E03E205-12D7-4d82-963E-C01889F2EC10} = Claviature
{500AEF94-EBB8-11d4-B1F8-00304F06E973} = Decuma Alphabetic (UNCONFIRMED!)
{95BDB641-772F-11d2-AC6B-204C4F4F5020} = Fitaly
{52429695-AE04-11D0-A4F8-00AA00A749B9} = FleXslide
{4EAD10BD-83AC-44b9-99AE-71958C1B0F0E} = InPad
{C099F78A-924E-4814-A8CF-54E7BD8C2124} = JetKeys
{4128DEE4-EE84-4338-A261-CC704CB32C19} = NanoPad
{42429695-AE04-11D0-A4F8-00AA00A749B9} = NullKB
{025ECAC2-075B-4b82-A972-05E4C17719EA} = PDAMedia Excel
{FA957346-A925-4b68-B9E1-D3D0310F4433} = PDAMEdia KBD
{DE6510EF-6691-401D-B1D3-B9074BFD1555} = PHM Character Map
{81FC2CAD-AD71-4793-9464-36D27630E584} = PHM Clipboard Pane
{9DD23292-0AB3-48F2-A245-0713652A8CEE} = PHM Ext. Keyboard
{FFFD6819-FF21-4e93-B844-A1BBF986B55C} = QuikWriting
{991A1000-9DCB-11d3-B3C2-000000000000} = RapidCalc
{A070BE16-AD56-11d3-BC77-00C06C512035} = Resco Keyboard Pro
{7F0854D9-9ADA-45A9-A3A2-189D9BE8A653} = Smilies Input Panel
{26F56EF0-2CE8-4C46-ADC8-FE0A7DF12DD1} = SPB Fullscreen Keyboard
{5efab5bd-0af5-48f8-abec-6f36e3a0b5af} = TenGo
{8A7968F3-677B-4F64-859C-8A49FCCCB9BF} = TextPlus
{A5304BFA-CC1D-493f-87D3-D9C17147FA32} = TopKey
{4345EA53-B8A5-4E24-A14A-F7C34DD78077} = WordLogic

Add/remove items from the SIP list

If you have a few items in your SIP list which you don't use, they can be removed from the list by setting the IsSIPInputMethod for each item you want removed. To remove the SIP from the list, replace the $SIP_CLSID$ in the example below with a CLSID from the Set default SIP tweak.:

HKEY_CLASSES_ROOT\CLSID\$SIP_CLSID$\IsSIPInputMethod\(Default) = 0 (DWORD decimal)

To add it back to the list:

HKEY_CLASSES_ROOT\CLSID\$SIP_CLSID$\IsSIPInputMethod\(Default) = 1 (DWORD decimal)


Pocket Calendar

Show Calendar event text in Week View

If you wish to see a Calendar event's text in the Week View, set the following:

HKCU\Software\Microsoft\Calendar\ShowTextInWeekView = 1 (DWORD decimal)

To disable it again:

HKCU\Software\Microsoft\Calendar\ShowTextInWeekView = 0 (DWORD decimal)

Please note that your event must have long enough a duration to show the event text, and the week view (with its narrow columns) truncates long words easily
Also note that the key "Calendar" may not exist - just create it if it doesn't

Change Calendar 'working days'

If you wish to change the 'working days' in the calendar, adjust the following:
For a Mon-Fri workweek (default):

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210003E (DWORD hexadecimal)

For a Mon-Sat workweek:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210007E (DWORD hexadecimal)

For a Tue-Thu workweek:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 22100016 (DWORD hexadecimal)

Here's how this works. When editing the value, switch to "Binary" mode. For the default Mon-Fri, you should see:

100010000100000000000000111110

The last 7 numbers are what we're interested in. They stand for the days of the week, in reverse order: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday. When the number is "1", it is a working day. If it is "0", it's not a working day. So to look at the above examples again:

Days   : SFTWTMS
Mon-Fri: 0111110
Mon-Sat: 1111110
Tue-Thu: 0011100

Using the above, you should be able to set the working days to whatever you'd like.
Note that this value also adjusts the working HOURS. The examples here all use the default 8am-5pm workday. See the "Change Calendar 'working hours'" tweak to modify this.
Note that the ActiveTimes key and value may not exist. Simply create them first.

Change Calendar 'working hours'

If you wish to change the 'working hours' in the calendar, adjust the following:
For 8am-5pm (default):

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210003E (DWORD hexadecimal)

For 9am-5pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2212003E (DWORD hexadecimal)

For 2pm-10pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2C1C003E (DWORD hexadecimal)

See here: http://www.pocketpcthoughts.com/index.php?action=expand,47926

XDADeveloperWiki - WM5_Tweaks_Other

Posted by krsuncom