I ran across this tool a while ago, but I hadn’t had the opportunity to try it out.  It is called dualscreen-mouse-utils, and the thing that I want to use it for is to create a way to switch between my monitors with a remote control button. Here are some links to start with:

So, my first attempt was to download the compressed file, extract it, and try to compile.  I got a slew of errors, the first of which, was:

mouse-wrapscreen.c:63:22: error: X11/Xlib.h: No such file or directory

I did a little research and found this post:

It said to install this package:

sudo apt-get install xlibs-dev

But, the package didn’t exist.  I received this error:

E: Package xlibs-dev has no installation candidate

A quick search revealed this package that did install successfully:

sudo apt-get install libx11-dev

Then, it compiled cleanly with the “make” command.

I just tested it and it worked!  Next step is to setup a script to make it do a couple more things and add that to my lirc configuration.  I’ll save that for another post!

Leave a Comment

Your email address will not be published. Required fields are marked *