General Windows Apps
There will be notes to specific apps setup.
Setup powershell first
Obsidian
The vault specific settings are handled via syncthing. For application data (eg. what vaults are loaded into obsidian), it’s stored in a separate folder at %appdata%/obsidian
If copying with different users, this is not sufficient.
$obsidian=(cat -Raw .\obsidian.json | ConvertFrom-Json)
$obsidian.vaults.psobject.properties | foreach {
$path = $_.value.path
$_.value.path = $path -replace "C:\\Users\\[^\\]+", "C:\Users\$env:USERNAME"
}
$obsidian | ConvertTo-Json -depth 10 | Out-File .\obsidian.json- this replace the username with the current computer user
- run this in the current folder of Obsidian
Firefox
Backup profile link
The profile location, go to about:support. It is under Application Basics and Profile Folder
%APPDATA%\Mozilla\Firefox\Profiles
Make sure to close Firefox before backup.
Before backing up, head to about:preferences#privacy and Browsing Data and clear data for specific sites to condense space
Restore
Copy the profile from the old machine to the new machine in the same location.
Go to the root folder and edit the file profiles.ini
[Install308046B0AF4A39CB]
Default=Profiles/wdqvdbya.default-release
Locked=1
[Profile0]
Name=default-release
IsRelative=1
Path=Profiles/wdqvdbya.default-release
[General]
StartWithLastProfile=1
Version=2- There should only be 1 profile
profile0, delete all other profiles - Under the
InstallXXX[Default]andProfile[Path]it should reference to the profile name of the folder
To create a new profile shortcut, find the location of Firefox shortcut, then edit its target to -p ProfileName
Disable Auto Updates in policies.json
Policies
https://gist.github.com/vttc08/4b2dbf55157a61bb2f92de01c566bc19
mkdir -Force "C:\Program Files\Mozilla Firefox\distribution\"
wget "https://gist.githubusercontent.com/vttc08/4b2dbf55157a61bb2f92de01c566bc19/raw/8bcebf591b3b4d90897a8c7c8cef5e0bd211a5e5/policies.json" -O "C:\Program Files\Mozilla Firefox\distribution\policies.json"Profiles
https://gist.github.com/jooize/5636b9eb975bde30c38b753e9f301de4
Go to about:profiles to create a new profile. Sign in to Firefox account and everything should sync, there is also option to import from Chrome. Once everything is setup, the profile will be stored in %APPDATA%\Mozilla\Firefox\Profiles. Alternative it’s possible to create it via profile.ini.
TODO: figure out what can be deleted in that profile folder for faster transfer
Once the new profile is created and setup. Go to about:config and change these settings
taskbar.grouping.useprofilecreate and set to truebrowser.startup.blankwindowset to false
To create a desktop shortcut use the flag --no-remote -P "Profile Name"
- the icon can be changed, the
.icofile is located in each of the profile folder - there is a
Firefox Master.psdlocated at the root profile folder
Microsoft Edge
Fix your browser managed by organization
taskkill /im msedge.exe /f
reg delete "HKCU\Software\Policies\Microsoft\Edge" /f
reg delete "HKLM\Software\Policies\Microsoft\Edge" /fInternet Download Manager
Doesn’t work, alternative method. When update popup, use kidm to force and process of opening and closing and minimizing the app. The kidm script is located in $HOME\scripts\kidm.ps1
IDM may place incomplete and uncancelled downloads in this folder
%APPDATA%\IDM\DwnlDataThioJoe Explorer App
Reference https://youtu.be/tTo_MSUIHf8
Download https://github.com/ThioJoe/AHK-Scripts/releases the exe file.
Place the exe file into C:\Program Files or any privileged dir.
Add the app to startup
ShareX
winget install sharex.sharexFor all settings and configurations, ShareX stores it in
~/Documents/ShareX- close ShareX
- copy the configs over and restart and it will work
Lossless Cut
gsudo choco install lossless-cut --confirm