Giter Site home page Giter Site logo

tohojo / desktop-environment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from damiencassou/desktop-environment

0.0 3.0 0.0 29 KB

Helps you control your GNU/Linux computer from Emacs

Home Page: https://gitlab.petton.fr/DamienCassou/desktop-environment

License: GNU General Public License v3.0

Makefile 6.95% Emacs Lisp 93.05%

desktop-environment's Introduction

desktop-environment

MELPA Stable MELPA pipeline status

Summary

The package desktop-environment provides commands and a global minor mode to control your GNU/Linux desktop from Emacs.

With desktop-environment, you can control the brightness and volume as well as take screenshots and lock your screen. The package depends on the availability of shell commands to do the hard work for us. These commands can be changed by customizing the appropriate variables.

The global minor mode desktop-environment-mode binds standard keys to provided commands: e.g., <XF86AudioRaiseVolume> to raise the volume, <print> to take a screenshot, and <s-l> to lock the screen.

Installing

Add the following to your initialization file:

(add-to-list 'load-path "~/.emacs.d/lib/desktop-environment/")
(require 'desktop-environment)

If you want all commands to be bound to keys, add this line after the ones above:

(desktop-environment-mode)

Usage

The following table summarizes the available commands and their keybinding if desktop-environment-mode is enabled:

CommandKey binding
desktop-environment-brightness-increment<XF86MonBrightnessUp>
desktop-environment-brightness-decrement<XF86MonBrightnessDown>
desktop-environment-brightness-increment-slowlyS-<XF86MonBrightnessUp>
desktop-environment-brightness-decrement-slowlyS-<XF86MonBrightnessDown>
desktop-environment-volume-increment<XF86AudioRaiseVolume>
desktop-environment-volume-decrement<XF86AudioLowerVolume>
desktop-environment-volume-increment-slowlyS-<XF86AudioRaiseVolume>
desktop-environment-volume-decrement-slowlyS-<XF86AudioLowerVolume>
desktop-environment-toggle-mute<XF86AudioMute>
desktop-environment-toggle-microphone-mute<XF86AudioMicMute>
desktop-environment-screenshot-partS-<print>
desktop-environment-screenshot<print>
desktop-environment-lock-screens-l

License

See COPYING. Copyright (c) 2018 Damien Cassou.

Donate using Liberapay

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.