Skip to content

Instantly share code, notes, and snippets.

{
"always_show_minimap_viewport": true,
"auto_indent": true,
"binary_file_patterns":
[
"*.cache",
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",

Cinnamon seems to override any xorg, nvidia-settings or xrandr in .profile, the (obscure) way to set the refresh rate permanently is:

  1. Set resolution and refresh rate via nvidia-settings as normal
  2. Open Cinnamon "Display" settings, "detect display", apply changes
  3. Restart
xinput list

Get name of device, get properties

xinput list-props "Logitech Unifying Device. Wireless PID:101a"

Get name of accel profile property, set it

xinput set-prop "Logitech Unifying Device. Wireless PID:101a" "Device Accel Profile" -1

Add to .bashrc or whatever

@nickbrowne
nickbrowne / arduino.sublime-build
Created November 21, 2015 07:33
Compile and upload current file without IDE
{
"cmd": "arduino_debug --upload $file"
}
@nickbrowne
nickbrowne / mint17mba.md
Last active May 18, 2016 02:06
Mint 17 on 2013 Macbook Air

Backlight

Install https://github.com/patjak/mba6x_bl

Add xorg config (/usr/share/X11/xorg.conf.d/20-intel.conf):

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
 Option "Backlight" "mba6x_backlight"