Giter Site home page Giter Site logo

bl's Introduction

bl - x11 backlight control
==========================

** Update: This works with Ubuntu 17.10 **

A qucik and dirty replacement for xbacklight which somehow doesn't want to
work with my Debian installation on the Thinkpad X220.

Make sure that the backlight sysfile is writeable by the current user. (The
program will tell you which file exactly when it fails to open it for
writing).

This has been only tested on a Debian Unstable installation with a Thinkpad
X220. So this might not work for your specific brand of laptop.

===============================================
Bonus for i3 users - add this to your i3 config
===============================================

#make brightness keyboard keys work
bindsym XF86MonBrightnessUp exec bl -i
bindsym XF86MonBrightnessDown exec bl -d

#bonus 2 - make volume keys work with i3
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle



License is Affero GPL3. (c) J. Szpilewski

bl's People

Contributors

kybernetyk avatar

Watchers

 avatar  avatar

Forkers

psychoticbeef

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.