From 39ca681062e3b9c5285f3d393827d429e3cc7a72 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Tue, 12 Apr 2016 12:17:27 +0200 Subject: [PATCH] changed license; changed exit idle time; add security_opt seccomp parameter --- LICENSE | 34 +++++++++++++--------------------- README.md | 12 ++++++++++++ daemon.conf | 2 +- docker-compose.yml | 2 ++ 4 files changed, 28 insertions(+), 22 deletions(-) diff --git a/LICENSE b/LICENSE index f6031db..11239ec 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,13 @@ -The MIT License (MIT) - -Copyright (c) 2016 Andrey Arapov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Copyright (c) 2016, Andrey Arapov + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md index 826c964..9a0f21b 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,15 @@ PULSE_SERVER="tcp:localhost:4713" pactl list PULSE_SERVER="tcp:localhost:4713" alsamixer PULSE_SERVER="tcp:localhost:4713" mplayer some.avi ``` + +To see what is being used by pulseaudio +``` +$ netstat -lp |grep -i pulseaudio +unix 2 [ ACC ] STREAM LISTENING 29632 2147/pulseaudio /tmp/.esd-1000/socket +unix 2 [ ACC ] STREAM LISTENING 29635 2147/pulseaudio /run/user/1000/pulse/native +``` + +If you wish to disable annoying "popping" notification sounds +``` +gsettings set org.gnome.desktop.sound event-sounds false +``` diff --git a/daemon.conf b/daemon.conf index 092fcb4..19793c8 100644 --- a/daemon.conf +++ b/daemon.conf @@ -1,4 +1,4 @@ -exit-idle-time = 180 +exit-idle-time = 0 flat-volumes = yes log-target = stderr log-level = 4 diff --git a/docker-compose.yml b/docker-compose.yml index 853ed8e..b526fa9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,8 @@ services: - /var/run/dbus:/var/run/dbus environment: DISPLAY: unix$DISPLAY + security_opt: + - seccomp:unconfined networks: isolated: