You are not logged in.

#1 2012-05-15 17:28:35

tri1976
Member
Registered: 2009-09-07
Posts: 152

[SOLVED]openbox menu execute command

I'm new to openbox and I've read its document over and over but for some reasons I can't get the following item in menu to work

  <item label="edit rc">
    <action name="Execute"/>
    <command>xdg-open ~/.config/openbox/rc.xml</command>
  </item>

When I click on this item it doesn't do anything, nothing is printed to stdout neither.  I ran the command in terminal and the file is opened in my text editor.  I changed "xdg-open" to geany (my text editor) and still nothing.  Other items in the menu work.  Can someone give me some pointers?  Thanks.

Last edited by tri1976 (2012-05-15 17:36:46)

Offline

#2 2012-05-15 17:31:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: [SOLVED]openbox menu execute command

First, the action is closed before you put anything in it.

  <item label="edit rc">
    <action name="Execute">
      <command>xdg-open ~/.config/openbox/rc.xml</command>
    </action>
  </item>

Last edited by Trilby (2012-05-15 17:33:49)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-05-15 17:36:27

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: [SOLVED]openbox menu execute command

Trilby wrote:

First, the action is closed before you put anything in it.

  <item label="edit rc">
    <action name="Execute">
      <command>xdg-open ~/.config/openbox/rc.xml</command>
    </action>
  </item>

Thank you.  Sorry rookie mistake

Offline

Board footer

Powered by FluxBB