Update windows setup notes
This commit is contained in:
parent
f02cb843aa
commit
4a3a7c974f
1
windows/PSUserConfig.txt
Normal file
1
windows/PSUserConfig.txt
Normal file
|
@ -0,0 +1 @@
|
|||
UseSystemStylus 0
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
|
||||
"NoNewAppAlert"=dword:00000001
|
40
windows/photo_viewer.reg
Normal file
40
windows/photo_viewer.reg
Normal file
|
@ -0,0 +1,40 @@
|
|||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
|
||||
"MuiVerb"="@photoviewer.dll,-3043"
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
|
||||
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
|
||||
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
|
||||
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
|
||||
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
|
||||
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
|
||||
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
|
||||
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
|
||||
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
|
||||
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
|
||||
00,31,00,00,00
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
|
||||
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
|
||||
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
|
||||
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
|
||||
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
|
||||
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
|
||||
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
|
||||
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
|
||||
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
|
||||
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
|
||||
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
|
||||
00,31,00,00,00
|
||||
|
||||
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
|
||||
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
|
|
@ -5,6 +5,13 @@
|
|||
|
||||
* Map caps to left-ctrl using sharpkeys
|
||||
|
||||
* Run photo_viewer.reg from this folder to restore access to the Windows Photo Viewer app.
|
||||
The default Win10 photos app is fucking awful.
|
||||
* You'll need to change the default app for the various image extensions. Don't change gif types
|
||||
though because photo viewer doesn't support animations.
|
||||
* Now run disable-are-you-sure-you-want-to-open-with-the-default-program-dialog.reg to stop it
|
||||
from occasionally asking if you still want to use photo viewer.
|
||||
|
||||
* Add custom hosts file
|
||||
* Run notepad as administrator
|
||||
* Open C:/Windows/System32/Drivers/etc/hosts
|
||||
|
@ -60,10 +67,12 @@ processor time and is generally useless.
|
|||
|
||||
## Setting up Visual Studio
|
||||
|
||||
* Use the backed up VS2015 ISO or download it from https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409
|
||||
* Pick a custom install directory, e.g. `/x/programs/Visual Studio 15`
|
||||
* Select a custom install and check off the C++ language support.
|
||||
* Once installed, open Visual Studio and go to `Tools` -> `Options`. Open `Debugging` -> `Symbols` and add the path to the cached symbols directory that you set up above under `Setup a symbol server`.
|
||||
* Use an install path with no spaces in it `/x/programs/vs15`
|
||||
* Select custom install and check off the C++ language support.
|
||||
* Once installed, open Visual Studio and go to `Tools` -> `Options`. Open `Debugging` -> `Symbols`
|
||||
and add the path to the cached symbols directory that you set up above under `Setup a symbol server`.
|
||||
* Open the `Visual Studio Layout` folder in this directory and copy the file to `%LOCALAPPDATA%/Microsoft/VisualStudio/{VisualStudioInstanceID}`.
|
||||
You can now apply the custom layout in VS: `Window -> Apply Window Layout -> Campo`
|
||||
|
||||
## Setup up Unix-like Shell
|
||||
* Install [MSYS2 w/ MinGW-w64](http://www.msys2.org/) to `C:\msys64`
|
||||
|
@ -82,16 +91,26 @@ processor time and is generally useless.
|
|||
```batch
|
||||
REM saved as shell-64.bat
|
||||
@echo off
|
||||
call "drive:\path\to\visual studio 15\VC\vcvarsall.bat" x64
|
||||
REM or you can do:
|
||||
REM call "drive:\path\to\visual studio 17\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
|
||||
REM For VS2015:
|
||||
call "drive:\path-to-vs2015\VC\vcvarsall.bat" x64
|
||||
|
||||
REM For VS2017:
|
||||
REM call "drive:\path-to-vs2017\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
|
||||
REM For VS2019:
|
||||
REM call "drive:\path-to-vs2019\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
|
||||
REM Disable CRT heap debug stuff. See https://preshing.com/20110717/the-windows-heap-is-slow-when-launched-from-the-debugger/
|
||||
set _NO_DEBUG_HEAP=1
|
||||
|
||||
call C:\msys64\msys2_shell.cmd -mingw64 -use-full-path
|
||||
exit
|
||||
```
|
||||
* This will launch a 64-bit env. If you need 32-bit then replace x64 above with x86.
|
||||
* Now you can make a system32 cmd line shortcut that will be used to launch the batch file. e.g.
|
||||
* `target:` `%windir%\System32\cmd.exe /k drive:\path\to\shell-64.bat`
|
||||
* `start in:` `drive:\some\path`
|
||||
* `target:` `%windir%\System32\cmd.exe /k drive:\path-to-bat-file\shell-64.bat`
|
||||
* `start in:` `drive:\some-path`
|
||||
* Setup git completions for bash:
|
||||
* `curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash`
|
||||
|
||||
|
@ -182,7 +201,10 @@ processor time and is generally useless.
|
|||
## Setting up Wacom tablet
|
||||
|
||||
* Install the shitty Wacom driver.
|
||||
* Preemptively deal with future issues by following this guide: [Fixing All Issues with Your Wacom Tablet and Photoshop](https://www.youtube.com/watch?v=sGi47EWEkuY)
|
||||
* Preemptively deal with future issues in Photoshop by saving the `PSUserConfig.txt` file
|
||||
in this directory to `%APPDATA%\Adobe\Adobe Photoshop XX\Adobe Photoshop XX Settings` (should take you to AppData/Roaming)
|
||||
* In Wacom tablet settings disable anything having to do with Windows Ink.
|
||||
* These steps are from [FlippedNormals - Fixing All Issues with Your Wacom Tablet and Photoshop](https://www.youtube.com/watch?v=sGi47EWEkuY)
|
||||
|
||||
## Software
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user