Package Details: solaar-git 0.9.2.r323.gdef11e1-1

Git Clone URL: (read-only, click to copy)
Package Base: solaar-git
Description: Device manager for Logitech's Unifying receiver peripherals
Upstream URL:
Licenses: GPL2
Conflicts: solaar
Provides: solaar
Submitter: Max-P
Maintainer: Max-P
Last Packager: Max-P
Votes: 37
Popularity: 0.43
First Submitted: 2015-10-02 22:37
Last Updated: 2020-01-17 01:59

Latest Comments

1 2 3 Next › Last »

LinuxDonald commented on 2019-07-15 00:58

New git repo is:

TrialnError commented on 2018-11-30 19:04

@Max-P: Great :) One small nitpick though ;) You forgot the to reinstate the makedepends var. And if you don't use the _name var you could propably remove it from the PKGBUILD

dreieck commented on 2018-11-30 10:47

For those who want to enable users in the plugdev-group to access the unifying receiver (e.g. when you are not using elogind/ systemd):


Only in solaar-git: build
Only in solaar-git/lib/solaar: __pycache__
diff -r -U1 solaar-git.orig/rules.d/42-logitech-unify-permissions.rules solaar-git/rules.d/42-logitech-unify-permissions.rules
--- solaar-git.orig/rules.d/42-logitech-unify-permissions.rules 2018-11-30 11:25:28.556373309 +0100
+++ solaar-git/rules.d/42-logitech-unify-permissions.rules  2018-11-30 11:32:13.066966601 +0100
@@ -49,3 +49,3 @@
 # Grant members of the "plugdev" group access to receiver (useful for SSH users)
-#MODE="0660", GROUP="plugdev"
+MODE="0660", GROUP="plugdev"

PKGBUILD which applies this patch:

# Contributor: David Runge <>
# Contributor: Arnaud Taffanel <>
# Contributor: Victor Häggqvist <aur a snilius d com>

pkgdesc="Device manager for Logitech's Unifying receiver peripherals"
depends=('gtk3' 'libnotify' 'python-dbus' 'python-gobject' 'python-pyudev')


prepare() {
  cd "${srcdir}/${pkgname}"
  for _patch in 'enable-plugdev-group-access.patch'; do
    msg "Applying patch '${_patch}' ..."
    patch --follow-symlinks -N -p1 -i "${srcdir}/${_patch}"
pkgver() {
  cd "${pkgname}"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

build() {
  cd "${pkgname}"
  python build

package() {
  cd "${pkgname}"
  python install --skip-build \
    --optimize=1 \
    --prefix=/usr \
  # udev
  install -vDm 644 rules.d/42-logitech-unify-permissions.rules \
  # docs
  install -vDm 644 {ChangeLog,} \
    -t "${pkgdir}/usr/share/doc/${pkgname}/"
# vim:set ts=2 sw=2 et:

Patch for the AUR PKGBUILD (to be used with e.g. customizepkg-scripting):

--- PKGBUILD.orig   2018-11-30 11:25:06.536341012 +0100
+++ PKGBUILD    2018-11-30 11:37:58.047472581 +0100
@@ -18,2 +18,12 @@

+prepare() {
+  cd "${srcdir}/${pkgname}"
+  for _patch in 'enable-plugdev-group-access.patch'; do
+    msg "Applying patch '${_patch}' ..."
+    patch --follow-symlinks -N -p1 -i "${srcdir}/${_patch}"
+  done
 pkgver() {

Max-P commented on 2018-11-29 23:32

@TrialnError Good points! I hadn't paid much attention to this package as upstream had been historically inactive for a long time, and I just needed this package ported from the old AUR when the migration to git happened. Things have changed a lot since then...

I took the community version and added VCS back to it, so it should be all clean and modern now :)

TrialnError commented on 2018-11-29 22:39

Hey Max-P. Some points that propably could be improved. I suppose a good starting point could be the community maintained solaar package. What I noticed: pygtk still as a dep? This if for python2 bindings and it seems solaar moved to python3 in the meantime. python-dbus is missing as a dep?

.install files don't need to be in the source line. They have their install= var. Community maintained one doesn't have a .install file anymore. And why is in the PKGBUILD, under the package function, a part from the install file?

Additionally regarding the VCS Package guidelines. The upstream repo does have tags. So the prefered pkgver in those cases is the first listed on the wiki page.

And regarding packaging of python packages see:

(build and package two separate steps)

@JasonP: technically yes, as it builds from latest master, whereas the community package still uses the old 0.9.2 tag

JasonP commented on 2018-11-13 12:10

Is this package more up to date than ?

francoism90 commented on 2018-08-18 12:37

Just an question, because I need to replug the receiver every-time to get Solaar to work (add user to plugdev group). Do I need to edit something in the udev rule? I'm using KDE + tlp. Thanks.

Max-P commented on 2018-08-16 01:52

Ha, of course upstream finally becomes active again and starts merging stuff right after I finally decide to fork.

Switched back to upstream source!

lopsided98 commented on 2018-08-12 16:44

Upstream has recently merged a bunch of PRs (including the Python 3.7 fix). Could you switch back to the upstream source?

ikke commented on 2018-08-12 11:32

I've backported the fix for python 3.7 to 0.9.2: