灌好archlinux後,只有螢幕的明暗會動,其他像Touchpad,audio control都是沒反應的,可以做一些customise

以audio為例,X可接受的keycode如下:

xf86audio

而linux下可用amixer控制sound card。兩者結合一下,就能客製化function key。

Mute

script如下:

#!/bin/bash

if [ -n "`amixer get Master| grep off`" ]; then
    amixer set Master on
else
    amixer set Master off
fi

Volume up

直接下command: amixer set Master 5%+

Volume down

直 接下command: amixer set Master 5%-

 

Keyboard setting

再來就到setting->keyboard->application shortcut新增即可

kb-setting

 

其他有需要可比照辦理。不過沒有osd感覺就有點遜。這個topic assign給兔哥。

 

 

 

arrow
arrow
    全站熱搜

    kezeodsnx 發表在 痞客邦 留言(0) 人氣()