Bug 265161 - [NEW PORT] x11/xkblayout-state: small command-line program to get/set the current XKB keyboard layout
Summary: [NEW PORT] x11/xkblayout-state: small command-line program to get/set the cur...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL: https://github.com/nonpop/xkblayout-s...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 01:58 UTC by Pavel Timofeev
Modified: 2023-12-08 07:09 UTC (History)
2 users (show)

See Also:


Attachments
port patch (2.14 KB, patch)
2022-07-12 01:58 UTC, Pavel Timofeev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Timofeev 2022-07-12 01:58:13 UTC
Created attachment 235201 [details]
port patch

While I was playing with x11-wm/dwm and self-made status bar for it I could find a simple way to get current XKB keyboard layout. This program helped me.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-08 07:08:33 UTC
A commit in branch main references this bug:

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

commit f28a6e5d6f8d602a69c263cd87ac79f72bca9c15
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-08 07:05:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-08 07:05:56 +0000

    x11/xkblayout-state: new port had been added (+)

    Small command-line program to get/set current XKB keyboard
    layout (thin wrapper around a slightly modified version of
    Jay Bromley's XKeyboard class).

    PR:             265161
    Submitted by:   Pavel Timofeev

 x11/Makefile                        |  1 +
 x11/xkblayout-state/Makefile (new)  | 24 ++++++++++++++++++++++++
 x11/xkblayout-state/distinfo (new)  |  3 +++
 x11/xkblayout-state/pkg-descr (new) |  5 +++++
 4 files changed, 33 insertions(+)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-12-08 07:09:42 UTC
Committed with minor modifications, thank you.