Reference (microsoft/vscode#31168)
find /usr/share/ -name "product.json"
# cd into vscodum directory
cd /usr/share/vscodium-bin/resources/app
# macOS
# /Applications/VSCodium.app/Contents/Resources/app/product.json| git clone https://github.com/tryone144/compton | |
| # Install all dependencies | |
| sudo apt install libx11-dev libxcomposite-dev libxdamage-dev libxfixes-dev libxrender-dev libxrandr-dev libxinerama-dev pkg-config libconfig-dev libpcre3-dev libdbus-1-dev libdrm-dev mesa-common-dev libgl1-mesa-dev xsltproc | |
| # Do this separate to install 1mb instead of 500mb+ | |
| sudo apt-get --no-install-recommends install asciidoc | |
| # Make the main program |
| # Compton Configuration, courtesy of Xubuntu Developers | |
| # Please note that Compton is not supported by Xubuntu and may not work | |
| # correctly for you. This file is provided as a set of sane defaults and is in | |
| # no way endorsed by the Xubuntu team. | |
| # | |
| # About Compton: https://github.com/chjj/compton | |
| # Heavily based on: http://bit.ly/1l5OrzL | |
| # Sample settings: https://github.com/chjj/compton/blob/master/compton.sample.conf | |
| # --- Backend (OpenGL used by default) |
| #!/bin/bash | |
| # Let's admit it.. Ubuntu Mate's GUI is very uninspired | |
| # possibly on purpose, who knows. This script attempts | |
| # to quickly undo the most of what the distro authors | |
| # thinks looks good w/ more normal defaults. | |
| # | |
| # Personality is fine, but UI designers that do a poor | |
| # job need to make sure there's an easy undo button. |
| " https://vi.stackexchange.com/questions/2572/detect-os-in-vimscript | |
| " Comment - cross-platform settings | |
| set nocompatible | |
| set mouse=a | |
| " OS Specific | |
| if has('win32') | |
| " Windows | |
| " arrow keys | |
| set term=pcansi |
| Sleep mode does not work well on my MacBook Pro 2017 model with Windows 10 build 2004 (July 2020) so this is needed | |
| 1) Install PsShutdown.exe to C:\Windows | |
| https://docs.microsoft.com/en-us/sysinternals/downloads/pstools | |
| 2) Install System Silencer | |
| https://apps.nozavi.com/apps/system-silencer/download/file/4-system-silencer-zip.html | |
| 3) Create batch file to run psshutdown, please in directory with system silencer, set System Silencer to autostart | |
| psshutdown -d -t 0 | |
| 4) Install PowerSchemeSwitcher | |
| https://www.microsoft.com/en-us/p/powerplanswitcher/9nblggh556l3?activetab=pivot:overviewtab | |
| 5) Configure on AC and off AC power plans |
| #!/bin/bash | |
| gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]" | |
| gsettings set org.gnome.desktop.interface scaling-factor 2 |
| #!/bin/bash | |
| # http://linux.darkpenguin.net/distros/ubuntu-unity/fixer/archive/firefox-globalmenu.fix | |
| killall firefox > /dev/null 2>&1 || true | |
| wget -q --show-progress --progress=bar:force 'http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_79.0+build1-0ubuntu0.18.04.1_amd64.deb' 2>&1 | |
| apt-get -y --allow-downgrades install './firefox_79.0+build1-0ubuntu0.18.04.1_amd64.deb' | |
| apt-mark hold firefox > /dev/null 2>&1 || true |
find /usr/share/ -name "product.json"
# cd into vscodum directory
cd /usr/share/vscodium-bin/resources/app
# macOS
# /Applications/VSCodium.app/Contents/Resources/app/product.json| // Warning make note of your current GUID for your WSL2 instance(s) before just copying and pasting this script | |
| // Note: This must be combined with Kinto - a future release beyond the current 1.2-3 | |
| // will contain the necessary updated keymap to give this terminal a fully posix compliant | |
| // and safe keymap that will not collide with any linux based apps. Integration with | |
| // windows based binaries will also be higher than normal when combined with zshrc | |
| // and bashrc improvements. | |
| // This file was initially generated by Windows Terminal 1.4.3243.0 | |
| // It should still be usable in newer versions, but newer versions might have additional |