Bug 222206

Summary: [NEW PORT] x11/mons a shell script to manage monitors using xrandr
Product: Ports & Packages Reporter: Robert James Hernandez <rob>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, w.schwarzenfeld, zeising
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D18437
Attachments:
Description Flags
Mons Port Diff none

Description Robert James Hernandez 2017-09-10 22:19:31 UTC
Created attachment 186236 [details]
Mons Port Diff

This is a port of mons 0.6.2: https://github.com/Ventto/mons which is a shell script to quickly manage multiple monitors.

It's been a useful tool for my laptop since I'd rather not have to install a GUI app and all the dependencies just to mirror my laptop display with the projector.

Please let me know if there's anything I missed, this is my first port!

~Rob
Comment 1 Robert James Hernandez 2017-11-15 18:02:28 UTC
Anyone mind taking a look at this?
Comment 2 Niclas Zeising freebsd_committer freebsd_triage 2018-02-11 14:11:11 UTC
I'm not sure why it was added to x11@, but I'll have a look at it.
Comment 3 Robert James Hernandez 2018-02-15 06:47:44 UTC
Hi Niclas,

This port is dependent on xrandr which was why I thought it belonged in x11@. If you would like me to move it to another section of ports just let me know!

~Rob
Comment 4 Niclas Zeising freebsd_committer freebsd_triage 2018-02-15 19:00:33 UTC
Hi!
The category x11 is correct.  I was referring to this PR being assigned to the x11@ team.  The x11@ team is the maintainers of the core xorg ports, but this PR can be handled by anyone.
I hope this explanation makes it a bit clearer.
Apologies if I came off as a bit harsh in my previous comment.
Comment 5 Robert James Hernandez 2018-02-16 16:55:21 UTC
Ahh gotcha, well I appreciate you taking a look at this even though it ended up on the wrong list!

And don't worry, it didnt come off harsh at all. I just wanted to make sure it was clear why I place it in the x11 section of ports.
Comment 6 Tobias Kortkamp freebsd_committer freebsd_triage 2018-12-05 14:56:15 UTC
Assignee timeout. Give back to pool.
Comment 7 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-12-05 17:19:21 UTC
Let's try to upstream some patches not to pollute the tree unnecessarily: https://github.com/Ventto/mons/issues/30
Comment 8 Robert James Hernandez 2018-12-05 17:53:18 UTC
Thanks for picking this up Mateusz! I like the idea of fixing the hardcoding paths in upstream.

Im happy to work with you to get this added to ports as well.
Comment 9 commit-hook freebsd_committer freebsd_triage 2019-09-10 11:45:11 UTC
A commit references this bug:

Author: 0mp
Date: Tue Sep 10 11:44:41 UTC 2019
New revision: 511755
URL: https://svnweb.freebsd.org/changeset/ports/511755

Log:
  New port: x11/mons: POSIX shell script to quickly manage displays using XRandR

  PR:		222206
  Submitted by:	Robert James Hernandez <rob@sarcasticadmin.com>
  Differential Revision:	https://reviews.freebsd.org/D18437

Changes:
  head/x11/Makefile
  head/x11/mons/
  head/x11/mons/Makefile
  head/x11/mons/distinfo
  head/x11/mons/files/
  head/x11/mons/files/patch-Makefile
  head/x11/mons/files/patch-mons
  head/x11/mons/pkg-descr
  head/x11/mons/pkg-plist
Comment 10 Mateusz Piotrowski freebsd_committer freebsd_triage 2019-09-10 12:27:22 UTC
It took a moment, but now it is finally in the tree.

Cheers!