選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

menu.xml 1.7 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openbox_menu xmlns="http://openbox.org/3.4/menu">
  3. <menu id="xdg-menu" label="Openbox 3" execute="xdg_menu --format openbox3-pipe" />
  4. <menu id="system-menu" label="System">
  5. <item label="Openbox Configuration Manager">
  6. <action name="Execute">
  7. <command>obconf</command>
  8. <startupnotify><enabled>yes</enabled></startupnotify>
  9. </action>
  10. </item>
  11. <item label="Manage Cups Printers">
  12. <action name="Execute">
  13. <command>xdg-open http://localhost:631/</command>
  14. <startupnotify>
  15. <enabled>no</enabled>
  16. <icon>cups</icon>
  17. </startupnotify>
  18. </action>
  19. </item>
  20. <separator />
  21. <item label="Reconfigure Openbox">
  22. <action name="Reconfigure" />
  23. </item>
  24. </menu>
  25. <menu id="exit-menu" label="Exit">
  26. <item label="Log Out">
  27. <action name="Exit">
  28. <prompt>yes</prompt>
  29. </action>
  30. </item>
  31. <item label="Shutdown">
  32. <action name="Execute">
  33. <command>systemctl poweroff</command>
  34. </action>
  35. </item>
  36. <item label="Restart">
  37. <action name="Execute">
  38. <command>systemctl reboot</command>
  39. </action>
  40. </item>
  41. <item label="Suspend">
  42. <action name="Execute">
  43. <command>systemctl suspend</command>
  44. </action>
  45. </item>
  46. <item label="Hibernate">
  47. <action name="Execute">
  48. <command>systemctl hibernate</command>
  49. </action>
  50. </item>
  51. </menu>
  52. <menu id="root-menu" label="Openbox 3">
  53. <separator label="Applications" />
  54. <menu id="xdg-menu" />
  55. <separator label="System" />
  56. <menu id="system-menu"/>
  57. <menu id="exit-menu"/>
  58. <separator />
  59. <item label="Log Out">
  60. <action name="Exit">
  61. <prompt>yes</prompt>
  62. </action>
  63. </item>
  64. </menu>
  65. </openbox_menu>