Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Settings #11

Open
OhMyMndy opened this issue Nov 3, 2022 · 0 comments
Open

Windows Settings #11

OhMyMndy opened this issue Nov 3, 2022 · 0 comments

Comments

@OhMyMndy
Copy link
Owner

OhMyMndy commented Nov 3, 2022

Enable Night Light on displays over DisplayLink

# Navigate to the relevant registry path
$registryPath = "HKLM:\SOFTWARE\DisplayLink\Core"

# Check if the path exists, if not, create it
if (-not (Test-Path $registryPath)) {
    New-Item -Path $registryPath -Force
}

# Create the new String value and set its data
New-ItemProperty -Path $registryPath -Name "EnableGammaRamp" -Value "true" -PropertyType String -Force
# Enable sticky keys
Set-ItemProperty -Path "HKCU:\Control Panel\Accessibility\StickyKeys" -Name "Flags" -Type String -Value "187"

Set-ItemProperty "HKCU:\Control Panel\Keyboard\" -name KeyboardSpeed -Value 31

Set-ItemProperty "HKCU:\Control Panel\Keyboard\" -name KeyboardDelay -Value 0

# Citrix pass all keys to remote
Set-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Keyboard" -name "TransparentKeyPassthrough" -Value "Remote"
Set-ItemProperty -Path "HKCU:\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Keyboard" -name "TransparentKeyPassthrough" -Value "Remote"

Set-Culture 'nl-NL'

# Disable chat icon in taskbar
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarMn" -Value 0

Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows" -Name "DisableSearchBoxSuggestions" -Value 1

# Display search on the web in the Start menu
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name "BingSearchEnabled" -Value 0
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name "CortanaConsent" -Value 0
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name "SearchBoxTaskbarMode" -Value 0

reg import ($env:HOMEDRIVE + $env:HOMEPATH + "\scoop\apps\vscode\current\install-associations.reg")

Right click with control Autohotkey script
Work in progress, control gets stuck and autohotkey needs to be killed for it to be released...

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


LButton & Control::Send {Click Right}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant