GithubHelp home page GithubHelp logo

ibiltari / aseqkeeper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidmoreno/aseqkeeper

0.0 0.0 0.0 24 KB

Alsa Sequencer connection keeper

License: GNU General Public License v3.0

Rust 94.73% Makefile 5.27%

aseqkeeper's Introduction

ALSA Sequencer Connection Keeper

aseqkeeper watches for the connecitons on the ALSA sequencer, and it tries to keep them connected.

The two most common situations where this is needed:

  1. is when a device is disconnected, and then connected again
  2. when the system reboots

If the user manually makes an ALSA sequence port connection (aconnect or qjackctl), it notices and stores it into a file. The same if the user manually disconnects the sequencer ports.

But if it is the system because of an exit (in ALSA terms), it keeps this memory of a previous connection. Next time the same device connects (checked by name), aseqkeeper performs the connection for you.

Also if the daemon stops (for example shutdown of the computer), it keeps this file and on next run (system boot) it uses this knowledge to set up again the ports, and check for more connections.

Compiling

cargo build --release

Running

target/release/aseqrunner

Installation

You can directly system install it with:

make install

It will compile aseqkeeper and install a systemd service file to keep it running. It will ask for your passsword to be able to install the files. It will run as the installing user.

It will not enable it by default, so on reboots it will not automatically start. To enable it:

sudo systemctl aseqkeeper

And to run it (will not run at enable, and can be run not enabling it):

sudo service aseqkeeper start

aseqkeeper's People

Contributors

davidmoreno avatar ibiltari 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.