mardi 6 janvier 2015

Openbox Syntax Error in ~/.config/openbox/rc.xml


Openbox Syntax Error


I added a new keybinding to my rc.xml and now I get this message every time I log into Openbox. Also, my theme does not load and the right-click menu does not work anymore either.


Now I would have fixed the error myself, but unfortunately my rc.xml does not have a line 749. It ends at 748. And I am a bit puzzled at how to "see stdout".


This is what I added, copied from the Arch Linux Wiki.



<!-- Keybindings for screenshots -->
<keybind key="Print">
<action name="Execute">
<startupnotify>
<command>sh -c "import -window root ~/Pictures/$(date '+%Y%m%d-%H%M%S').png"</command>
</action>
</keybind>


And I changed the quote at the top, which usually says that the document should be copied or else it will be overwritten.


My OS is Fedora 21, I used raw Openbox, right now I am in Gnome.



Aucun commentaire:

Enregistrer un commentaire