Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your Linux machine

magic4linux

Allows you to use the magic remote on your webOS LG TV as a keyboard/mouse for your PC Linux machine.

This is a Linux implementation of the Wouterdek/magic4pc client.

A virtual keyboard and mouse is created via the /dev/uinput interface, as provided by the bendahl/uinput library. For non-root usage, please add udev rules as instructed in the uinput documentation.

Installation

go install github.com/mafredri/magic4linux/cmd/magic4linux

Usage

There are no options yet.

magic4linux

Building for other platforms

git clone https://github.com/mafredri/magic4linux
cd magic4linux/cmd/magic4linux
GOOS=linux GOARCH=arm64 go build
Owner
Similar Resources

Issue-mafia - An out-of-the-box CLI that helps you to easily synchronize Git hooks with a remote repository

issue-mafia is an out-of-the-box CLI that helps you to easily synchronize Git hooks with a remote repository.

Feb 14, 2022

A command line tool that builds and (re)starts your web application everytime you save a Go or template fileA command line tool that builds and (re)starts your web application everytime you save a Go or template file

# Fresh Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file. If the web framework yo

Nov 22, 2021

sttr is command line software that allows you to quickly run various transformation operations on the string.

sttr is command line software that allows you to quickly run various transformation operations on the string.

sttr is command line software that allows you to quickly run various transformation operations on the string.

Sep 21, 2021

Allows you to collect all pprof profiles with one command.

Collect Allows you to collect all pprof profiles with one command. Installation Just go-get it: $ go get github.com/tommsawyer/collect/cmd/collect Mot

Aug 24, 2022

Little golang app that allows you to download a youtube video as mp3, and optionally embed ID3 tags -Cover Art, Artist ...-

yt2mp3 Little golang app that allows you to download a youtube video as mp3, and optionally embed ID3 tags -Cover Art, Artist ...- Instructions At the

Dec 25, 2021

News-parser-cli - Simple CLI which allows you to receive news depending on the parameters passed to it

News-parser-cli - Simple CLI which allows you to receive news depending on the parameters passed to it

news-parser-cli Simple CLI which allows you to receive news depending on the par

Jan 4, 2022

Hasura-fzf - This command has a fzf-like UI that allows you to find and run the file version used by the hasura command

hasura-fzf This command has a fzf-like UI that allows you to find and run the fi

Sep 29, 2022

A CLI tool that you can use create regular backups of your Notion.so Pages.

notion-offliner A CLI tool that you can use create regular backups of your Notion.so Pages. Perfect for disaster scenarios and offline usage. MacOS an

Jan 3, 2023

A password manager as a CLI, where you can use a master password to retrieve a specified password and store it in your clipboard

A password manager as a CLI, where you can use a master password to retrieve a specified password and store it in your clipboard

Password manager Description CLI to store and retrieve passwords. The retrieved password will be stored on your clipboard! Usage 1.Start with Go go ru

Dec 16, 2021
Comments
  • Left and right mouse button clicks not possible?

    Left and right mouse button clicks not possible?

    TV info: Model: LG OLED55C11LB WebOS version: 6.2.0-35 (kisscurl-kavir) System version: 3.21.20 Rooted with https://rootmy.tv/

    PC info: Some little older desktop PC with i7-4770 and Archlinux

    First of all thanks for great app. Unfortunately, these are only 3 things which are working for me out of box:

    1. Cursor moving by moving remote as usual
    2. UP/DOWN/LEFT/RIGHT via big circle on remote
    3. PageUP/PageDOWN via Channel +/- on remote

    From my point of view, just Left Click/Right Click are missing here. I mean, this cannot be fully comfortable experience as with real keyboard and mouse, but on the other hand you will not programming or 3d modeling on TV 😂, so I suppose for most of the people would be sufficient to have scrolling, left/right click, and some key shortcut/macro to call virtual on-screen keyboard, while using PC as media center.

    I was try to remap middle button on remote to be left click, but without success. This middle button on remote is sending ENTER event (Return). I tried with Linux Input Remapper. I can see in Input Remapper that your app is creating 3 virtual devices - keyboard, mouse and touchpad, but it seems it is not possible to assign mouse event (BTN_LEFT) to keyboard button (Return). I mean, it is possible to assign and apply it inside Input Remapper, but it has no effect. Just for note: I can assign some keyboard event to this middle button, e.g. if I assign letter "a", this is working - clicking on remote middle button is typing "a" on PC screen, but assigning BTN_LEFT is not working - keyboard continues to "typing" default option - ENTER.

    image

    image

    If I run sudo evtest ....

    image

    ..... there is no BTN_xxxx events, as supported for magic4linux-keyboard

    BTN_xxxx events could be found in magic4linux-mouse, but unfortunately, magic4linux-mouse is not sending any event on any remote button click.

    image

    Sorry if this post is confused, in short: Is it anyhow possible to enable left and right mouse clicks on remote?

    Many thanks.

  • Doesn't build with go 1.19

    Doesn't build with go 1.19

    (deck@steamdeck go)$ go install github.com/mafredri/magic4linux/cmd/magic4linux@latest
    go: github.com/mafredri/magic4linux/cmd/magic4linux@latest (in github.com/mafredri/[email protected]):
            The go.mod file for the module providing named packages contains one or
            more replace directives. It must not contain directives that would cause
            it to be interpreted differently than if it were the main module.
    
  • Scrolling is too fast

    Scrolling is too fast

    Hello and thank you for this great piece of software! Everything works great, except from the scrolling speed of the wheel that is way too fast, which makes it practically unusable.

The Dapr CLI allows you to setup Dapr on your local dev machine or on a Kubernetes cluster

Dapr CLI The Dapr CLI allows you to setup Dapr on your local dev machine or on a

Dec 23, 2021
Periodically moves your mouse!

Mouse Jiggler Is your hand getting tired from waking your PC? Do you want to appear online while you take a nap? If so, keep reading. Running the bina

Jan 12, 2022
Display a message in morse code on your capslock LED, keyboard backlight or using your screen brightness!
Display a message in morse code on your capslock LED, keyboard backlight or using your screen brightness!

halp halp is a command line utility that lets you display messages in morse code on your capslock LED, keyboard backlight (if you have it) or using yo

Jan 26, 2022
Slack remote terminal - execute commands on remote host using slack slash command

slackRT Slack remote terminal - execute commands on remote host using slack slash command Installation Go to api.slack.com/apps and sign in and create

Jul 12, 2022
A small CLI tool to check connection from a local machine to a remote target in various protocols.

CHK chk is a small CLI tool to check connection from a local machine to a remote target in various protocols.

Oct 10, 2022
A daemon to make your keyboard backlight smart.

keyboard-backlight-daemon A daemon to make your keyboard backlight smart. Features Light up keyboard backlight based on user interaction (keyboard, mo

Jan 17, 2022
GC2 is a Command and Control application that allows an attacker to execute commands on the target machine using Google Sheet and exfiltrate data using Google Drive.
GC2 is a Command and Control application that allows an attacker to execute commands on the target machine using Google Sheet and exfiltrate data using Google Drive.

GC2 GC2 (Google Command and Control) is a Command and Control application that allows an attacker to execute commands on the target machine using Goog

Dec 13, 2022
The keyboard driven redmine client

Bluemine Installation Distribution Homebrew brew install liberatys/homebrew-tap/bluemine From Source git clone https://github.com/liberatys/bluemin

Sep 26, 2021
Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.
Procmon is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools for Windows. Procmon provides a convenient and efficient way for Linux developers to trace the syscall activity on the system.

Process Monitor for Linux (Preview) Process Monitor (Procmon) is a Linux reimagining of the classic Procmon tool from the Sysinternals suite of tools

Dec 29, 2022
A CLI application that allows you to run a complete ToDo app from your terminal application

todo-cli This is a CLI application that allows you to run a complete ToDo app from your terminal application. As a user you can: Create a list of todo

Oct 11, 2021