Skip to content

Instantly share code, notes, and snippets.

rbreaves /
Last active Oct 12, 2020 — forked from marcorichetta/
Change OpenVSX for MS Marketplace as extensions provider - VSCodium

Reference (

find /usr/share/ -name "product.json"

# cd into vscodum directory
cd /usr/share/vscodium-bin/resources/app

# macOS
# /Applications/
rbreaves /
Last active Aug 18, 2020
Firefox Global Menu
killall firefox > /dev/null 2>&1 || true
wget -q --show-progress --progress=bar:force '' 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
rbreaves /
Created Jul 31, 2020
Ubuntu Budgie HiDPI
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]"
gsettings set org.gnome.desktop.interface scaling-factor 2
rbreaves / PowerAndSleepMBP-Win10
Created Jul 25, 2020
Proper Sleep and Power Plan Settings for MBP 2017 Running Windows 10
View PowerAndSleepMBP-Win10
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
2) Install System Silencer
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
5) Configure on AC and off AC power plans
rbreaves / .vimrc
Last active Jun 8, 2020
Universal OS vimrc settings
View .vimrc
" Comment - cross-platform settings
set nocompatible
set mouse=a
" OS Specific
if has('win32')
" Windows
" arrow keys
set term=pcansi
rbreaves / DegreenMate.txt
Last active May 26, 2020
Degreen Ubuntu Mate
View DegreenMate.txt
# 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.
rbreaves /
Last active May 18, 2020
ElementaryOS Latest - w/ Global Menu via Mate
# Suspend and screensavers may be broken with this current implementation
# Not really a shell file, but mostly notes and scribbles for how to get this going.
# Sane double click to open file or folder default
gsettings set io.elementary.files.preferences single-click false
rbreaves / compton.conf
Last active May 16, 2020
galliumOS Compton for tryone
View compton.conf
# 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:
# Heavily based on:
# Sample settings:
# --- Backend (OpenGL used by default)
rbreaves / ComptonGalliumBlur.txt
Last active May 10, 2020
Install compton with blur on galliumOS
View ComptonGalliumBlur.txt
git clone
# 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
rbreaves / hwdb udev
Last active Mar 23, 2020
hwdb udev Keyboard remap
View hwdb udev
# Original reference
systemd --version | head -n1 | awk '{print $2}'
# note systemd versions below 220 need
# keyboard:usb:v*p*
# 220 and above
# evdev:name:<name>:*
You can’t perform that action at this time.