Friday, August 26, 2022

Switch Logitech Bolt mouse along with keyboard

 A follow-up to my last post. The "integrated" solution with my Logitech Bolt does, unfortunately, not include switching them together using the buttons on the keyboard.

On one of the computers (1) using Bolt I'm not allowed to add software. On the other one (2) I am. With Solaar I am now at least able to switch from (2) to (1) from the keyboard and have the mouse follow suit.

Enable the Host Switch Channel 1 Diversion:

Add a rule, triggered on Host Switch Channel 1 and then Change Host to 1 for both devices.

Remains the challenge to make this work from (1) to (2) too.

Wednesday, August 17, 2022

Print Screen with Logitech MX Keys on Ubuntu 20.04

My net Logitech MX Keys keyboard doesn't have a regular Print Screen button anymore. Instead there is this camera/snipping tool button above the numpad.

  

This button does capture a screenshot in Ubuntu 20.04, but it lacks all the alternative methods.

Using the Solaar app, I have configured alternatives to take screenshots of;

  • whole screen
  • active window
  • selected area
     

These are either stored in ~/Pictures or (with Control modifier) on the clipboard.

Enable the Snipping Tool Diversion:

 

I had to try out some different combinations of options for gnome-screenshot. Online were some suggestions. I have settled on two 'helpers'. Without these the command wouldn't work as expected.

  • GDK_BACKEND=x11, to use/select the right clipboard
  • -f /tmp/screenshot.png, to force taking the screenshot

Then configure rules for each alternative call.