Skip to content

Instantly share code, notes, and snippets.

View opennomad's full-sized avatar

Matthias Johnson opennomad

View GitHub Profile
@pylover
pylover / a2dp.py
Last active March 11, 2024 03:06
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /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
@bitjockey42
bitjockey42 / qt-hidpi.sh
Created May 21, 2016 22:07
For QT5 apps in Ubuntu that don't use 5.6
# /etc/profile.d/qt-hidpi.sh
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_DEVICE_PIXEL_RATIO=2