Code Monkey home page Code Monkey logo

volnoti's Introduction

Volnoti

Volnoti is a lightweight volume notification daemon for GNU/Linux and other POSIX operating systems. It is based on GTK+ and D-Bus and should work with any sensible window manager. The original aim was to create a volume notification daemon for lightweight window managers like LXDE or XMonad. It is known to work with a wide range of WMs, including GNOME, KDE, Xfce, LXDE, XMonad, i3 and many others. The source code is heavily based on the GNOME notification-daemon.

Distribution packages

  • Arch Linux - available in AUR
  • Gentoo - ebuild in Bugzilla

Dependencies

You need the following libraries to compile Volnoti yourself. Please install them through the package manager of your distribution, or follow installation instructions on the projects' websites.

You can compile it with standard GCC, with make and pkg-config installed, and you will need autoconf and automake if you choose to compile the Git version.

Compilation from Git

Start by downloading the source code from GitHub:

$ git clone git://github.com/davidbrazdil/volnoti.git
$ cd volnoti

Let Autotools create the configuration scripts:

$ ./prepare.sh

Then just follow the basic GNU routine:

$ ./configure --prefix=/usr
$ make
$ sudo make install

You can have the .tar.gz source archive prepared simply by calling a provided script:

$ ./package.sh

Compilation from source archive

Download the .tar.gz source archive from the GitHub page, and then extract its contents by calling:

$ tar xvzf volnoti-*.tar.gz

Then just follow the basic GNU routine:

$ ./configure --prefix=/usr
$ make
$ sudo make install

Running the application

Firstly, you need to running the daemon (add it to your startup applications):

$ volnoti

Consult the output of volnoti --help if you want to see debug output ot don't want the application to run as a daemon. You can also change some parameters of the notifications (like their duration time) through the parameters of the daemon.

Once the daemon is running, you can run for example:

$ volnoti-show 25

to show a notification for volume level 25%. To show a notification for muted sound, call:

$ volnoti-show -m

The best way to do this is to create simple script and attach it to the hot-keys on your keyboard. But this depends on your window manager and system configuration.

Theming

Some parameters of the notifications can be changed through the parameters of the daemon. To learn more, run:

$ volnoti --help

All the images are stored in /usr/share/pixmaps/volnoti (depending on the chosen prefix during configuration phase) and it should be easy to replace them with your favourite icons.

Credits

volnoti's People

Contributors

brazdil avatar erikw avatar

Watchers

James Cloos avatar Andrew Peck avatar

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.