start new:
tmux
start new with session name:
tmux new -s myname
| #! /usr/bin/env python3 | |
| """Fixing bluetooth stereo headphone/headset problem in debian distros. | |
| Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
| Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
| This will be only fixes the bluez5 problem mentioned above . | |
| Licence: Freeware |
| function print_filter(filter) { | |
| var f=eval(filter); | |
| if (typeof(f.length) != "undefined") {}else{} | |
| if (typeof(f.top) != "undefined") {f=f.top(Infinity);}else{} | |
| if (typeof(f.dimension) != "undefined") {f=f.dimension(function(d) { return "";}).top(Infinity);}else{} | |
| console.log(filter+"("+f.length+") = "+JSON.stringify(f).replace("[","[\n\t").replace(/}\,/g,"},\n\t").replace("]","\n]")); | |
| } |
| service ntpd stop | |
| ntpdate 0.pool.ntp.org | |
| echo "tinker panic 0" >> /etc/ntp.conf | |
| service ntpd start |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |