loader image

Microsoft Dial Setup [Linux]

What makes us different from other similar websites? Forums Tech Microsoft Dial Setup [Linux]

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #6943
    thumbtak
    Keymaster

    If you want one, you can buy it at …

    https://www.amazon.com/Microsoft-2WR-00001-Surface-Dial/dp/B01NARIOAX

    How to install

    Replace USER with your home folder name.

    $ cd /home/USER/Downloads/
    $ gh repo clone daniel5151/surface-dial-linux
    $ sudo apt install libevdev-dev libhidapi-dev libudev-dev
    $ sudo apt install librust-libdbus-sys-dev
    $ cargo build -p surface-dial-daemon --release
    $ cargo install --path
    $ sudo gpasswd -a $(whoami) $(stat -c "%G" /dev/input/event0)
    $ sudo cp ./install/10-uinput.rules /etc/udev/rules.d/10-uinput.rules
    $ sudo cp ./install/10-surface-dial.rules /etc/udev/rules.d/10-surface-dial.rules
    $ systemctl --user enable surface-dial.service
    $ systemctl --user start surface-dial.service

    Go to “/home/USER/Downloads/surface-dial-linux/target/release/”
    Copy “surface-dial-daemon” to “/home/USER/.cargo/bin/”
    Restart your computer.

    You might need to do the following …
    Long press the dial and select “Volume”.
    Add keyboard shortcut for “amixer -q -D pulse sset Master 1%+” which is volume up.
    Add keyboard shortcut for “amixer -q -D pulse sset Master 1%- ” which is volume down.
    You can change the percentage number.

    More information:
    https://github.com/daniel5151/surface-dial-linux
    https://askubuntu.com/questions/181341/how-do-i-set-a-custom-keyboard-shortcut-to-control-volume

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
TAKs Shack