Openbox の設定をリセットするにはどうすればいいですか?

Openbox の設定をリセットするにはどうすればいいですか?

Openbox が動作しなくなりました。XFCE4 を使用していますが、ウィンドウ装飾の設定ダイアログは空白で、ワークスペースは 1 つしかありません。/etc/skel に標準設定が見つからず、ホームに openbox という名前のディレクトリはなく、/.local/share/openbox/sessions しかありませんでした。$ openbox --replace --debug役に立ちませんでした。設定をリセットするにはどうすればよいでしょうか?

アップデート

/etc/xdg/openbox/rc.xmlにコピーしました~/.config/openboxが、何も変わりません。設定ダイアログは空で、ファイルに

<desktops>
  <!-- this stuff is only used at startup, pagers allow you to change them
       during a session

these are default values to use when other ones are not already set
       by other applications, or saved in your session

       use obconf if you want to change these without having to log out
       and back in -->
  <number>4</number>
  <firstdesk>1</firstdesk>
  <names>
    <!-- set names up here if you want to, like this:
    <name>desktop 1</name>
    <name>desktop 2</name>
    -->
    <name>desktop 1</name>
    <name>desktop 2</name>
    <name>desktop 3</name>
    <name>desktop 4</name>
  </names>
  <popupTime>875</popupTime>
  <!-- The number of milliseconds to show the popup for when switching
       desktops.  Set this to 0 to disable the popup. -->
</desktops>

デスクトップは 1 つしかありません。そのため、openbox は構成ファイルをまったく読み取らないようです。

アップデート2 そしてhttp://www.w3schools.com/xml/xml_validator.asprc.xml は有効な XML であると主張します。

アップデート3 単純に実行するとobconfデスクトップが復活します。なぜ機能するのか分かりません。

答え1

私の記憶が正しければ、openboxのユーザー設定ファイルは

~/.config/openbox/

そのため、そのディレクトリを削除すると、デフォルトの構成が復元されます。

で openbox のシステム構成を手動で変更していない場合は、これが機能するはずです/etc

関連情報