
私は比較的新しい Debian をインストールしています。最初にインストールしたときは GUI がありませんでした。しかし、apt-get install xinit
とを実行したapt-get install openbox
ので、 を実行するとstartx
openbox セッションが取得されます。
.xsession-errors
私のオープンボックスメニューはかなり制限されており、
Openbox-Message: Unable to find a valid menu file "debian-menu.xml"
Openbox-Message: Unable t o find a valid menu file "/var/lib/openbox/debian-menu.xml"
確認すると/var/libopenbox/debian-menu.xml
何もありませんでした。openbox が Debian メニュー項目を表示できるように修正することは可能ですか?
編集:
~/.config/openbox/rc.xml
以下は私のファイルからの抜粋です:
<menu>
<!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems -->
<file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file>
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again -->
<middle>no</middle>
<!-- center submenus vertically about the parent entry -->
<submenuShowDelay>100</submenuShowDelay>
<!-- time to delay before showing a submenu after hovering over the parent
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on -->
<submenuHideDelay>400</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another
entry in parent menu -->
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<applicationIcons>yes</applicationIcons>
<!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu>
答え1
パッケージmenu
は Debian メニューを提供するため、インストールする必要があります。
答え2
あなたの説明によると、パッケージが先にインストールされていないopenbox
と、パッケージは正しく動作しないようです。簡単な修正方法は、 をオンにすることです。Openbox は、 を必要としない可能性のある小規模システム向けの軽量ウィンドウマネージャであるため、Openbox の設定を修正する方がよいでしょう。Openbox の純粋なインストールでこの問題を再現できるかどうかを確認してください (設定ファイルを保存し、パッケージを消去します)。再現できる場合は、menu
Depend:
menu
menu
Debian バグトラッカーこの問題が報告されているかどうかを確認し、報告されていない場合は報告してください。
答え3
メニュー パッケージは Debian メニューを提供するため、インストールする必要があります。
- 風通しの良いUniverseリポジトリを有効にする
- sudo apt-getアップデート
- sudo apt-get インストールメニュー