Bug 259115 - Update x11/gmrun for multihead via patch available at AUR
Summary: Update x11/gmrun for multihead via patch available at AUR
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-12 21:14 UTC by fgorter
Modified: 2022-02-25 12:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments
patch to enable gmrun on multihead deployments. (1.10 KB, text/plain)
2021-10-12 21:14 UTC, fgorter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fgorter 2021-10-12 21:14:45 UTC
Created attachment 228636 [details]
patch to enable gmrun on multihead deployments.

For those of us who use x11/gmrun on multi-headed Xorg rigs, running gmrun without this proposed patch places the app on a statically configured location. It'd be nice if it would follow the way other apps do, based on currently selected desktop and/or "follow mouse".

This 'ancient' patch available on Arch Linux's AUR does the trick. 
It compiles cleanly & functions as intended, along with the necessary adjustment to the GMrun config file (.gmrunrc / setting both Top & Left to "-1").

Link to patch file on AUR: https://aur.tuna.tsinghua.edu.cn/cgit/aur.git/plain/center-and-multihead.patch?h=gmrun-multihead

I've also attached the functional patch file, which needs to be copied to /usr/ports/x11/gmrun/files  && the usual # make patch / make install clean  etc
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-02-25 12:19:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=edcb5d3860b77b8df6995a17cbdcee75bca5ae70

commit edcb5d3860b77b8df6995a17cbdcee75bca5ae70
Author:     fgorter <fgorter@gmail.com>
AuthorDate: 2022-02-25 11:52:56 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2022-02-25 11:52:56 +0000

    x11/gmrun: Fix position on multihead

    Add a patch to make gmrun to show on current desktop instead of a static
    place to help people using it on multihead environment.

    PR:             259115
    Obtained from:  https://aur.archlinux.org/cgit/aur.git/tree/center-and-multihead.patch?h=gmrun-multihead
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 x11/gmrun/Makefile                         |  2 +-
 x11/gmrun/files/patch-config_gmrunrc (new) | 12 ++++++++++++
 x11/gmrun/files/patch-src_main.cc (new)    | 22 ++++++++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletion(-)