Skip to content

Instantly share code, notes, and snippets.

@rbreaves
rbreaves / ComptonGalliumBlur.txt
Last active May 10, 2020 03:27
Install compton with blur on galliumOS
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
@rbreaves
rbreaves / compton.conf
Last active May 16, 2020 08:59
galliumOS Compton for tryone
# 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)
@rbreaves
rbreaves / eOS-GlobalMenu.sh
Last active December 24, 2023 22:27
ElementaryOS Latest - w/ Global Menu via Mate
#!/bin/bash
# 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
# HiDPI
@rbreaves
rbreaves / DegreenMate.txt
Last active May 26, 2020 02:45
Degreen Ubuntu Mate
#!/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.
@rbreaves
rbreaves / .vimrc
Last active June 8, 2020 21:39
Universal OS vimrc settings
" 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
@rbreaves
rbreaves / PowerAndSleepMBP-Win10
Created July 25, 2020 06:02
Proper Sleep and Power Plan Settings for MBP 2017 Running Windows 10
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
@rbreaves
rbreaves / UBHiDPI.sh
Created July 31, 2020 20:15
Ubuntu Budgie HiDPI
#!/bin/bash
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]"
gsettings set org.gnome.desktop.interface scaling-factor 2
@rbreaves
rbreaves / ffglobal.sh
Last active August 18, 2020 01:08
Firefox Global Menu
#!/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
@rbreaves
rbreaves / ExtensionsProvider.md
Last active June 4, 2021 14:34 — forked from marcorichetta/ExtensionsProvider.md
Change OpenVSX for MS Marketplace as extensions provider - VSCodium
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
@rbreaves
rbreaves / WinTerminal-mac-config.json
Last active December 7, 2020 01:13
Make Windows Terminal Behave like Terminal in macOS
// 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