Show HN: Pianoterm – 피아노에서 셸 명령을 실행합니다. 리눅스 CLI 도구

발행: (2026년 3월 3일 오전 05:50 GMT+9)
1 분 소요

Source: Hacker News

pianoterm

피아노에서 셸 명령을 실행합니다

GitHub 저장소

Description

USB MIDI 키보드의 키에 셸 명령을 할당하는 Linux CLI 도구입니다.

Usage

pianoterm 

Note: ALSA가 사운드카드 드라이버로 사용된다고 가정합니다. 원하는 MIDI 포트를 찾으려면 acconnect -i를 사용하세요.

Configuration

Configuration file: $HOME/.config/pianoterm/config

# this is a comment
#
# trigger can be on_release or on_press
on_press

# syntax: port = command
# use aseqdump -p  to find specific keycodes

21 = playerctl previous   # first key on an 88-key keyboard
22 = playerctl play-pause
23 = playerctl next
# ...
108 = /home/me/my_script.sh

Building

git clone https://github.com/vustagc/pianoterm.git
cd pianoterm && make

Dependencies

  • C 컴파일러
  • alsactl (1.2.15.2)
  • make (옵션)
0 조회
Back to Blog

관련 글

더 보기 »

오픈소스의 첫 단계

배경: 작년 10월에 나는 GSoC 기여자의 블로그를 읽었다. 그는 어떻게 시작했는지, 오픈 소스를 어떻게 발견했는지, 무엇을 작업했는지, 그리고 그의…