Kubuntu のデフォルトのキーボードレイアウトをアイコンにするには?

ショコラ
ショコラ

Kubuntu のデフォルトのキーボードレイアウトをアイコンにするには?

/usr/share/plasma/plasmoids/org.kde.plasma.keyboardlayout/contents/config/main.xml
を書き換える。

もっさん先輩
もっさん先輩

/usr/share/plasma/plasmoids/org.kde.plasma.keyboardlayout/contents/config/main.xml を修正します。

<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
  <kcfgfile name=""/>

  <group name="General">
    <entry name="displayStyle" type="Enum">
      <label>Whether to show text, a flag, or both on the compact representation.</label>
      <choices>
        <choice name="Label"/>
        <choice name="Flag"/>
        <choice name="LabelOverFlag"/>
      </choices>
      <default>0</default>
    </entry>
  </group>

</kcfg>

default が 0 の Label になっています。これを Flag の 1 に変更します。

<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
  <kcfgfile name=""/>

  <group name="General">
    <entry name="displayStyle" type="Enum">
      <label>Whether to show text, a flag, or both on the compact representation.</label>
      <choices>
        <choice name="Label"/>
        <choice name="Flag"/>
        <choice name="LabelOverFlag"/>
      </choices>
      <default>1</default>
    </entry>
  </group>

</kcfg>

以上

Scroll to Top