Package Details: randrctl-git 1.7.1.r1.1be3084-1

Git Clone URL: (read-only)
Package Base: randrctl-git
Description: Lightweight profile based screen manager for X
Upstream URL:
Licenses: GPLv3
Conflicts: randrctl
Provides: randrctl
Submitter: edio
Maintainer: edio
Last Packager: edio
Votes: 6
Popularity: 0.002296
First Submitted: 2014-09-07 13:26
Last Updated: 2018-06-16 21:10

Latest Comments

edio commented on 2018-04-10 15:46

@drws, pip may be the culprit. I'll add it to make deps shortly.

Thanks a lot for reporting and digging into this.

drws commented on 2018-04-10 10:52

Sorry, I foolishly discarded the output. I think the last outputted line was a line from Makefile that searched for the "packit" package and there were of course also a few error lines after that. I use pacaur, maybe that is the case?

However, even after successful randrctl installation, it does not work, because python-yaml is missing. Again, the package installed correctly with pacaur, and upon running the program, I got:

ModuleNotFoundError: No module named 'yaml'

This time installation of python-yaml solved it right away, not requiring PIP, as was the case with packit. Also, this time it is clear that python-yaml is simply missing from dependencies:

edio commented on 2018-04-05 03:21

@drws, I just tried installing it with pacaur on a fresh Arch installation, and it worked without any manual intervetion.

Could you describe, how did build fail for you?

drws commented on 2018-04-04 20:02

Package needs Python's "packit" package, which can be installed with "pip install packit", and builds successfully after.

edio commented on 2016-03-20 12:58


if you do not want a profile to be considered for auto-matching, just remove the match section from that profile (or do not pass any of -m -p -e option to randrctl dump when creating profile).

Though, your change makes perfect sense anyway. I could add that fix later, or, if you wish, you can do a pull request and I'll just merge it.

Thanks for feedback!

xduugu commented on 2016-03-20 12:15

Thanks for fixing the version number.

I have another suggestion, but this one is not related to packaging. Often, I have multiple profiles for the same monitor setup. Usually, it is one that uses all available outputs and one that disables the internal display of my laptop. One of these profiles acts as my default profile and the others are for convenient switching between different setup modes.

However, these profiles get the same score assigned and the result of "randrctl auto" is non-deterministic, because of line 34 in function read_all in

> for entry in os.listdir(profile_dir):

I've changed the line to

> for entry in sorted(os.listdir(profile_dir)):

so I can define a "default" profile by choosing a profile name that comes first in sorted order.

edio commented on 2016-03-16 09:48

xduugu, thanks for pointing that out. Fixed.

xduugu commented on 2016-03-15 22:01

The package version doesn't include the commit id anymore. For *-git packages, the recommended pkgver function is

printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"

(see /usr/share/pacman/PKGBUILD-vcs.proto)

which results in a current version of "1.0.r0.b69e4ed". Could you please fix this?