menu.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
  3. <menu id="openbox-menu" label="Openbox">
  4. <item label="obconf">
  5. <action name="Execute">
  6. <command>obconf</command>
  7. <!--startupnotify><enabled>yes</enabled></startupnotify-->
  8. </action>
  9. </item>
  10. <item label="obmenu">
  11. <action name="Execute">
  12. <command>obmenu</command>
  13. </action>
  14. </item>
  15. <item label="obkey">
  16. <action name="Execute">
  17. <command>obkey</command>
  18. </action>
  19. </item>
  20. <separator />
  21. <item label="Reconfigure">
  22. <action name="Reconfigure" />
  23. </item>
  24. <menu id="openbox-files-menu" label="Files">
  25. <item label="rc.xml">
  26. <action name="Execute">
  27. <command>emacs-eval '(find-file "~/.config/openbox/rc.xml")'</command>
  28. </action>
  29. </item>
  30. <item label="menu.xml">
  31. <action name="Execute">
  32. <command>emacs-eval '(find-file "~/.config/openbox/menu.xml")'</command>
  33. </action>
  34. </item>
  35. <item label="autostart">
  36. <action name="Execute">
  37. <command>emacs-eval '(find-file "~/.config/openbox/autostart")'</command>
  38. </action>
  39. </item>
  40. </menu>
  41. <item label="Restart">
  42. <action name="Restart" />
  43. </item>
  44. </menu>
  45. <menu id="logout-menu" label="Logout">
  46. <item label="Shutdown">
  47. <action name="Execute">
  48. <command>sudo shutdown -h now</command>
  49. </action>
  50. </item>
  51. <item label="Reboot">
  52. <action name="Execute">
  53. <command>sudo shutdown -r now</command>
  54. </action>
  55. </item>
  56. <item label="Openbox exit">
  57. <action name="Exit"/>
  58. </item>
  59. </menu>
  60. <menu id="root-menu" label="Openbox 3">
  61. <!-- <separator label="Openbox"/> -->
  62. <item label="Desktop prefs (pcmanfm)">
  63. <action name="Execute">
  64. <command>pcmanfm --desktop-pref</command>
  65. </action>
  66. </item>
  67. <item label="LXAppearance">
  68. <action name="Execute">
  69. <command>lxappearance</command>
  70. </action>
  71. </item>
  72. <menu id="openbox-menu"/>
  73. <!-- <menu id="logout-menu"/> -->
  74. <item label="Logout">
  75. <action name="Execute">
  76. <command>logout-ask</command>
  77. </action>
  78. </item>
  79. <item label="Xterm">
  80. <action name="Execute">
  81. <command>xterm</command>
  82. </action>
  83. </item>
  84. <item label="Emacs">
  85. <action name="Execute">
  86. <command>emacs</command>
  87. </action>
  88. </item>
  89. <item label="Conkeror">
  90. <action name="Execute">
  91. <command>conkeror</command>
  92. </action>
  93. </item>
  94. </menu>
  95. </openbox_menu>