LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2017, 12:32 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Adding custom entries to openbox rc.xml file


Using Hydrogen1(Bunsenlabs), derived from Debian Jessie
Openbox 3.5.2

I have some custom entries that I want to add to the rc.xml file for Openbox:
Quote:
<!-- Custom Entries for windows-->
<keybind key="A-F12">
<action name="ToggleMaximizeFull"/>
</keybind>
<keybind key="A-F11">
<action name="Iconify"/>
</keybind>
<keybind key="A-F10">
<action name="ToggleMaximizeVert"/>
</keybind>
<keybind key="A-F9">
<action name="ToggleMaximizeHorz"/>
</keybind>
<keybind key="A-F8">
<action name="ToggleShade"/>
</keybind>
<keybind key="A-m">
<action name="MoveToCenter"/>
</keybind>
<keybind key="A-r">
<action name="Resize"/>
</keybind>

<!-- Custom Entries for applications -->
<keybind key="W-C-m">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Mail</name>
</startupnotify>
<command>claws-mail</command>
</action>
</keybind>
Do I need to add these in the various sections of the file or can I add them at the end of the file in my own section? I'm not sure of the syntax to use for that.
 
Old 02-03-2017, 12:36 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Just has to go in the <keyboard> </keyboard> section.

I do it like this:

Code:
<keyboard>
blah blah stuff already there
blah blah
your custom stuff
</keyboard>
Make sure you remove any duplicates. For example, you called out Alt-F12, make sure there isn't a default Alt-F12 to interfere. Other than that you should be golden.

http://openbox.org/wiki/Help:Configuration

Last edited by szboardstretcher; 02-03-2017 at 12:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use custom configuration file togheter with autostart script in openbox? vincent3302 Linux - Software 3 06-15-2016 11:09 PM
[SOLVED] openbox- autostart.sh, rc.xml, menu.xml fail to load new-here Slackware 2 08-07-2012 07:15 PM
Cannot cp menu.xml, rc.xml, and autostart.sh (Openbox) oalicein Linux - Newbie 2 02-10-2011 05:52 PM
Can't create custom menu.xml for openbox LogicNZ Linux - Newbie 6 07-19-2008 10:37 AM
how to delete duplicates entries in xml file using sed/awk/sort ? catzilla Linux - Software 1 10-28-2005 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration