Package Details: randrctl-git 1.0.r0.b69e4ed-1

Git Clone URL: https://aur.archlinux.org/randrctl-git.git (read-only)
Package Base: randrctl-git
Description: Lightweight profile based screen manager for X
Upstream URL: http://github.com/edio/randrctl
Licenses: GPLv3
Conflicts: randrctl
Provides: randrctl
Submitter: edio
Maintainer: edio
Last Packager: edio
Votes: 6
Popularity: 0.147587
First Submitted: 2014-09-07 13:26
Last Updated: 2016-06-18 15:57

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

edio commented on 2016-03-20 12:58

xduugu,

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 profile.py.

> 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?