Openbox 구성을 재설정하는 방법은 무엇입니까?

Openbox 구성을 재설정하는 방법은 무엇입니까?

내 Openbox가 더 이상 작동하지 않습니다. XFCE4를 사용하고 있는데 창 장식 구성 대화 상자가 비어 있고 작업 공간이 하나만 있습니다. /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>

데스크탑이 하나밖에 없습니다. 따라서 openbox는 구성 파일을 전혀 읽지 않는 것 같습니다.

업데이트 2 그리고http://www.w3schools.com/xml/xml_validator.asprc.xml이 유효한 XML이라고 주장합니다.

업데이트 3 정상적으로 실행하면 obconf데스크탑이 다시 나타납니다. 이유를 모르겠습니다. 작동합니다.

답변1

내 기억이 맞다면 openbox의 사용자 구성 파일은 다음 위치에 있습니다.

~/.config/openbox/

따라서 해당 디렉터리를 제거하면 기본 구성이 복원됩니다.

NET에서 openbox의 시스템 구성을 수동으로 변경하지 않은 경우 작동합니다 /etc.

관련 정보