Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P phoc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • World
  • Phosh
  • phoc
  • Merge requests
  • !319

馃悰 instead of hardcoding defaults use xkb fallback

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andreas Streichardt requested to merge andreas.streichardt/phoc:use-xkb-defaults into master Dec 20, 2021
  • Overview 5
  • Commits 1
  • Pipelines 3
  • Changes 1

https://xkbcommon.org/doc/current/structxkb__rule__names.html

"You should prefer passing NULL instead of choosing your own defaults. "

I am using phoc completely standalone (no gnome, no phosh) and right now I don't see any way how I can pass keymaps. By relying on the xkbcommon fallback logic I can now set my keymap using an environment variable. i.e.: XKB_DEFAULT_LAYOUT=se ./build/run -E alacritty works now.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: use-xkb-defaults