vmware / vmware/photon

@JPustkuchen, if "localectl list-keymaps" has an error on your VM, then you need to install kbd package.

Open
#1,258 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

Hello dude !

I'm just watching for an answer. I think i cant install packages on my photon os with tdnf. First i had to switch AZERTY keyboard but i can't even install what you asked...

I have error 1207 :Couldn't resolve host name
Error : Failed to synchronize cache for repo vmware photon.... from [web adress]
Then error 1011 no marching packages

i can join a screen capture if needed.

Thanks a lot dude !

@JPustkuchen, if "localectl list-keymaps" has an error on your VM, then you need to install kbd package.

Here is revised version to try:

  1. tdnf install glibc-lang (it looks glibc-lang package is sufficient in released version, and you don't need to enable photon-dev.repo)
  2. tdnf install kbd
  3. add two lines in /etc/locale-gen.conf
    de_DE ISO-8859-1
    de_DE.UTF-8 UTF-8
  4. locale-gen.sh
  5. localectl set-locale LANG="de_DE.UTF-8" LC_CTYPE="de_DE.UTF-8"
  6. localectl set-keymap de-latin1
  7. reboot

As you can see in the screenshot below, it looks the characters are mapped to german keyboard. The de.txt has three lines in which I typed characters from left to right in the keyboard.

de_de_systemd228

Hopefully it works for you, and please let us know if you have any question. Thank you so much for feedback, and I will ask @shoenisch to add these steps in FAQ.

Originally posted by @sarchoi in https://github.com/vmware/photon/issues/612#issuecomment-287897819

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the FAQ material related to keyboard and locale setup, using the commands and /etc/locale-gen.conf entries listed in the issue as the scope. Check whether the revised tdnf, kbd, locale-gen.sh, and localectl steps are already documented; done means the supported procedure is clearly recorded for Photon OS users.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.