Archives de catégorie : Ubuntu Planet

Pairing the Logitech Performance MX (and others) to the Unifying Receiver in GNU/Linux

Back in 2009 Logitech introduced the Unifying Receiver, a great way to connect multiple wireless mice and keyboards to one single RF receiver on your PC.

The Unifying receiver is uniquely paired to your mice and keyboard. When you buy your devices, they are already paired to the accompanying receiver. They work out of the box on any GNU/Linux system.

However, if you loose the original receiver, and get another one for free from Logitech under warranty, or if you want to pair / unpair new or existing devices, you will need to pair them again. This used to be only possible using Windows. Not anymore. 🙂

Solaar is a GNU/Linux device manager for Logitech’s Unifying Receiver peripherals. It is able to pair/unpair devices to the receiver, and for most devices read battery status.

It comes in two flavors, command-line and GUI. Both are able to list the devices paired to a Unifying Receiver, show detailed info for each device, and also pair/unpair supported devices with the receiver.

I tested this in Debian 7 for which there are packages and a repository, and there is also a PPA available for Ubuntu, which also works in Trisquel 6. Here are some screenshots:

Solaar_022

Solaar_021

Solaar_020

 

Wow, it’s been quite some time I hadn’t seen such attention to detail in an application apparently destined to such a « simple » task.

Buttons mapping

Solaar doesn’t take care of the buttons mapping (yet?), but I thought I’d throw this extra here. Some time ago I went through the trouble of identifying all the buttons on my mouse and documenting (from Logitech’s accompanying manual) the various expected functions as present in Windows.

This is useful for applications where you can specify which button is assigned to an action. Enjoy!

Logitech-Performance-Mouse-MX-031

  • Button 1 – left click
  • Button 2 – wheel click / middle button
  • Button 3 – right click
  • Button 4 – wheel forward
  • Button 5 – wheel back
  • Button 6 – wheel left click
  • Button 7 – wheel right click
  • Button 8 – browser history: forward
  • Button 9 – browser history: back
  • Button 10 – application switch / Exposé on Mac
  • Button 13 – zoom
1

Debian Quebec is here :)

As many of you already know by now, Debian 7 is here!

I’ve been using Debian as my primary work environment for a few months now and Trisquel at home for the past year and a half or so. My advocacy work has changed as a result, and I stopped focusing on Ubuntu, while still recommending version 12.04 LTS that just works for many. There’s also Ubuntu Gnome (or is it Gnome Ubuntu) now, so there is still a good array of choices for those like me that like the GNOME 3 environment and find it productive. Oh, did I mention Cinnamon 1.8 was just released?

openlogo-100

I am happy to announce that there is now a Debian Quebec group, and we just got our mailing list approved in the Debian project. This was not as fast an easy as in Ubuntu-land, and I took the time to fully document the process to get the mailing list going, in case others may want to do the same. It may all seem too slow or difficult, but every step of the way several people helped and I learned a lot. I took this as an opportunity to contribute to the project and at the same time I found that it may be hard for new GNU/Linux users to get started in Debian – or even for experienced ones like me, coming from Ubuntu.

That’s why after a few IRC messages I started working on a Welcome to Debian resource (and team) aimed at people that use other distributions and come to Debian for the first time. It’s still very new and incomplete, but it’s what I wished was around when I started dedicating serious time to this distribution a few months ago.

As luck would have it, Debian 7 was just around the corner, just a few days/weeks after Ubuntu 13.04 and Trisquel 6 were released. This called for an all-distributions Debian 7 release party (we’ll have two locations, Montreal and Quebec City). There will be workshops and presentations from 12:30 to 5:30 PM and then a happy hour with CLibre and Libre Planet. Check the Agenda du Libre if you’re in Montreal this week (or any time soon), perhaps we can cross paths.

 

New LibrePlanet LiveCode users group

I’ve recently been involved in a project with a customer to set up their development team to use LiveCode on Debian workstations. If you haven’t heard about LiveCode, they recently had 3,342 backers pledge £493,795 of the initial £350,000 goal on Kickstarter. That’s quite an accomplishment! I am not involved in the development part of this project, only in providing infrastructure support and services.

Since we needed to start working on documentation and I already work with other colleagues via IRC, I thought it would be useful to start a wiki space and IRC channel, and other resources via the dedicated resources provided by the Free Software Foundation in addition to upcoming resources that may be provided by RunRev, the creators of LiveCode.

The goal here is to collaborate with the community and help RunRev in this initial transition to open sourcing LiveCode, while offloading some of the self support to the FSF infrastructure (via LibrePlanet which is their community portal/resource).

If anyone is interested, a few initial resources and links have been put together already.

It looks like many people are already using LiveCode on Ubuntu, judging by the many screenshots in existing tutorials and guides. I hope other Debian derivatives benefit from this and perhaps even other distributions.

1

A nicer LUKS full disk encryption passphrase prompt in Debian 7 (Wheezy)

When installing Debian on a new system, if you don’t install Plymouth and you use full disk encryption, the passphrase prompt will come up in a text console which is not very pleasing to the modern eye:

LUKS-text-prompt.png

After much experimentation, I found the Joy theme from the available Plymouth themes provided a much better experience. It was created by Audrien Auburg and adapted from an Edubuntu theme by Jonathan Carter for use with Plymouth. This is an excellent example of Ubuntu functionality brought back into Debian for the benefit of all.

This is how to install such a boot theme in a new Debian system using an Intel graphics chipset:

$ sudo -s
# apt-get install plymouth plymouth-drm

Edit /etc/initramfs-tools/modules and add the modules required for modesetting:

# KMS
intel_agp
drm
i915 modeset=1

Apply the Joy theme and make the changes effective:


# /usr/sbin/plymouth-set-default-theme joy
# update-initramfs -u

And here is the result:

IMG_20130422_132413

If you have another graphics chipset, or if you want more details about setting Plymouth or changing to other themes, check the Debian wiki documentation about Plymouth for more specific instructions.

Also keep in mind this is not very useful on fast SSD-equiped systems: if you don’t use full-disk encryption, the boot sequence is so fast that you won’t see the theme much!

1

Moving on: how?

I am really sad to see so much energy spent by the community criticizing Canonical and on Canonical’s side, trying to explain and justify so many decisions and actions.

My main concern is all this energy being directed where it doesn’t stand a chance to make a difference, as we know all the rocket pieces are being discarded. I invite you to consider focusing on other projects that need people like you:

  • Start a LibrePlanet group in your area. This is very much like a LoCo Team, except its focus is on 100% free open source software. This is sponsored by the Free Software Foundation and staffed with professional, responsive, full-time system administrators. I started LibrePlanet Québec right about when I stepped down from Ubuntu Québec. They also have a mission statement and a code of conduct which will feel familiar to any Ubuntu community contributor/member.. This also means it’s inclusive of Ubuntu users in your area.
  • Trisquel – an Ubuntu derivative focused on removing all non-free software while remaining as close to Ubuntu as possible. There is a lot of work remaining to achieve this. Trisquel 6 which is essentially Ubuntu 12.04 LTS, is just around the corner. I learned a lot when I started using Trisquel primarily instead of Ubuntu, about a year ago. Ubuntu help, documentation, PPAs and resources apply directly, and the community is very friendly and detail-oriented. Ethics and philosophy are valued as much and sometimes more than technical criteria when providing help.
  • Debian – Where it all begun 🙂 I am using this as my primary OS now. Debian is working with the FSF to be recognized as 100% free as per FSF’s guidelines. There are rough edges which I recognize as opportunities to contribute, for example the lack of language-selector-gnome. It’s taking me some time to adjust to the project’s resources but I even re-organized Debian Quebec and requested a mailing list (since approved), and got a very warm welcome from friends and colleagues using it in my area. I guess I miss my LoCo action and excitement, I hope to put my experience in this area to good use in Debian. There are even talks about forming a Welcome Committee for Ubuntu expats there.

There are many more out there, but I wanted to share my path after my past Ubuntu involvement. If you’re on IRC, come join #ubuntu-expats on OFTC, perhaps we can come up with other ideas. Perhaps it will help you actually finding a way you can contribute to free open source software in other ways than you did with Ubuntu.

Life is short!