我的Openbox不再工作了。我使用的是XFCE4,用于窗口装饰的配置对话框是空的,而且我只有一个工作区。我还没有在/etc/skel中找到任何标准配置,在我的家里还没有发现名为openbox的任何dirs,但是/..local/share/openbox/session。$ 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似乎根本不读取配置文件。
UPDATE 2和http://www.w3schools.com/xml/xml_validator.asp声称rc.xml是有效的。
更新3- obconf。我不明白为什么,这很管用。
发布于 2011-09-26 09:38:51
如果我没有记错,openbox的用户配置文件位于
~/.config/openbox/因此,删除该目录将恢复默认配置。
如果您没有在/etc中手动更改openbox的系统配置,这应该可以工作。
https://askubuntu.com/questions/63039
复制相似问题