私のdebian-menu.xmlはありません。

私のdebian-menu.xmlはありません。

私は比較的新しいDebianインストールを持っています。初めてインストールしたときにGUIはありませんでしたが、実行したためにapt-get install xinit実行apt-get install openboxしたときにstartxOpenboxセッションが発生しました。

私のオープンボックスメニューは非常に限られており、.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メニューを提供し、インストールする必要があります。

おすすめ記事