Giter Site home page Giter Site logo

steelman / pasystray Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christophgysin/pasystray

0.0 1.0 0.0 419 KB

PulseAudio system tray

License: GNU Lesser General Public License v2.1

Shell 0.52% C 92.81% Makefile 2.25% M4 3.77% GDB 0.02% Objective-C 0.64%

pasystray's Introduction

PulseAudio System Tray

Build Status

A replacement for the deprecated padevchooser.

pasystray allows setting the default PulseAudio source/sink and moving streams on the fly between sources/sinks without restarting the client applications.

Features

  • switch default sink/source
  • move playback/record stream to a different sink/source on the fly
  • detect pulseaudio instances on the network with avahi
  • set X property PULSE_SERVER (like padevchooser's "set default server")
  • adjust volume/toggle mute of sinks/sources and playback/record streams
  • rename devices (pulseaudio must have module-device-manager loaded)

To detect remote sinks/sources you need to enable module-zeroconf-discover on the local PulseAudio instance and module-zeroconf-publish on the remote side.

To control a different server than the local instance, run pasystray as:

$ PULSE_SERVER=remote_host pasystray

Mouse Bindings

over status icon:

  • left/right-click: open menu
  • ctrl + left-click: start pavucontrol
  • middle-click / alt + left-click: toggle mute default sink
  • ctrl + middle-click / ctrl + alt + left-click: toggle mute default source
  • scroll up/down: adjust the default sink volume
  • ctrl + scroll: adjust the default source volume

over source/sink:

  • scroll up/down: adjust the volume of respective stream
  • left-click: set as default source/sink
  • middle-click / alt + left-click: toggle mute
  • right-click: open menu to move all outputs/inputs to this source/sink or rename it

over playback/record stream:

  • scroll up/down: adjust the volume of respective stream
  • middle-click: toggle mute

Troubleshooting

If the pasystray icon is not displayed in your Unity system tray, you will have to whitelist it. Read this for instructions: http://askubuntu.com/questions/30742/how-do-i-access-and-enable-more-icons-to-be-in-the-system-tray

For Ubuntu 13.04 and above, AppIndicator is mandatory. Unfortunately, the ctrl + click / ctrl + scroll bindings don't work with AppIndicator.

pasystray's People

Contributors

christophgysin avatar mcz avatar andresmanz avatar c0d3z3r0 avatar j-piecuch avatar lschneiderbauer avatar danielchabrowski avatar jabrandes avatar joehillen avatar johnhatnedvd avatar michaelbeaumont avatar mikeri avatar vinhowe avatar medvid avatar yselkowitz avatar pataquets avatar laomaiweng avatar thegeekpirate avatar

Watchers

James Cloos 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.