어쩌라구..?? ㅡㅡa..

Posted
Filed under Linux/system
MPD라는 서비스를 알게 되어 시험중이다.
지금 RPI2 + ubuntu 기반으로 세팅 해 보고 있는데  MPD는 동작하는데 소리가 나질 않는다.

RPI2 + rasbian으로 다시 세팅하니 소리가 난다.  MPD도 동작 하는데 음량을 좀 더 키우고 싶다.
세팅 & 삽질기는 나중에 업데이트 예정..
2018/01/27 00:09 2018/01/27 00:09
Posted
Filed under Linux/system
lubuntu 16.04 에서 -

블루투스 헤드셋 페어링하려고 할때 아래 에러가 발생하면
headset Connection Failed: blueman.bluez.errors.DBusFailedError: Protocol not available
아래 명령을 실행하여 패키지를 설치한다.
sudo apt-get install pulseaudio-module-bluetooth
pactl load-module module-bluetooth-discover
출처 : https://askubuntu.com/questions/801404/bluetooth-connection-failed-blueman-bluez-errors-dbusfailederror-protocol-no


내 경우는 audio output이 기본으로 전환되지 않는다. 오디오 출력을 BT로 돌려야 한다.
확인해보니 mixer GUI가 없다.
아래 링크 참조하여 pauvcontrol을 선택하고 출력을 BT headset으로 돌리면 소리가 난다.

https://askubuntu.com/questions/80384/where-are-the-lxde-sound-preferences


hot key 설정으로 세팅한 lubuntu 핫키로 볼륨조절이 되지 않는다.
pauvcontrol 창을 띄우고 아래 아이콘을 누르면 DEFAULT_SINK가 변경되어 핫키로 BT를 조정하게 된다.



블루투스 연결되었을때 자동으로 BT로 전환하는 방법

/etc/pulse/default.pa에 아래 부분을 찾아 한줄을 추가한다.
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
load-module module-switch-on-connect #추가
.endif

아래 명령도 실행한다.
pactl load-module module-switch-on-connect

참조 : Auto switch to A2DP bluetooth device when connected in Ubuntu

2018/01/15 15:59 2018/01/15 15:59
Posted
Filed under Linux/tip
여전히 lubuntu 16.04 사용중. 이 환경에서 키보드 hot key를 변경하는 방법이다.
~/.config/openbox/lubuntu-rc.xml 파일을 수정한다. 아래는 내가 수정한 부분 발췌.

화면 잠금 키 변경. 기본은 Ctrl + Alt + l 이었다.
    <!-- Lock the screen on Window + l-->
<keybind key="W-l">
<action name="Execute">
<command>lxsession-default lock</command>
</action>
</keybind>

audio 제어
    <keybind key="W-F8">
<action name="Execute">
<command>pactl set-sink-mute @DEFAULT_SINK@ 0</command>
</action>
<action name="Execute">
<command>pactl set-sink-volume @DEFAULT_SINK@ +3%</command>
</action>
</keybind>
<keybind key="W-F7">
<action name="Execute">
<command>pactl set-sink-mute @DEFAULT_SINK@ 0</command>
</action>
<action name="Execute">
<command>pactl set-sink-volume @DEFAULT_SINK@ -3%</command>
</action>
</keybind>
<keybind key="W-F6">
<action name="Execute">
<command>pactl set-sink-mute @DEFAULT_SINK@ toggle</command>
</action>
</keybind>
<keybind key="W-F5">
<action name="Execute">
<command>audacious -t</command>
</action>
</keybind>


참조 : https://help.ubuntu.com/community/Lubuntu/Keyboard
2018/01/15 15:52 2018/01/15 15:52