Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
frequently_asked_questions [2009/12/01 02:46]
michael
frequently_asked_questions [2010/10/04 10:35]
127.0.0.1 external edit
Line 307: Line 307:
  
 to add somewhere appropriate:  DSSI: no localhost to add somewhere appropriate:  DSSI: no localhost
 +
 +=====Customizing Rosegarden=====
 +
 +====How do I modify keyboard shortcuts?====
 +
 +The is no simple method.  The current work around requires some command line calls, a text editor and a bit of searching.  Rosegarden shortcuts are defined in XML files with extensions .rc which are located in
 +
 +<code>
 +<build-tree-path>/data/rc/
 +</code>
 +
 +where <build-tree-path> is the path to where Rosegarden is installed.
 +
 +The hardest part is deciding which .rc file contains the shortcuts that need modified.  Look through the rc directory to find good candidates files.
 +
 +Here is a sample of the process needed to update the Transport play shortcuts to include the Space bar:
 +
 +  * Type at the command line:
 +<code>
 +$ mkdir -p ~/.local/share/rosegarden/rc
 +$ cp <build-tree-path>/data/rc/rosegardenmainwindow.rc ~/.local/share/rosegarden/rc/
 +</code>
 +Replace <build-tree-path> with the path to the installation directory.
 +
 +  * Open ~/.local/share/rosegarden/rc/rosegardenmainwindow.rc in a text editor.
 +  * Change the line:
 +<code>
 +<Action name="play" text="&amp;Play" icon="transport-play" shortcut="Enter, Media Play, Ctrl+Return" shortcut-context="application" />
 +</code>
 +
 +to
 +
 +<code>
 +<Action name="play" text="&amp;Play" icon="transport-play" shortcut="Enter, Media Play, Ctrl+Return, Space" shortcut-context="application" />
 +</code>
 +
 +and the line
 +
 +<code>
 +<Action name="recordtoggle" text="P&amp;unch in Record" icon="transport-record" shortcut="Space" shortcut-context="application" />
 +</code>
 +
 +to
 +
 +<code>
 +<Action name="recordtoggle" text="P&amp;unch in Record" icon="transport-record" shortcut="" shortcut-context="application" />
 +</code>
 +
 +Note: Both need changed, otherwise the second one overrides the first.
 +
 +  * Save the file.
 +  * Run Rosegarden at try to shortcut.
 +
 +This is a complicated example, but many more are much less complicated. For a list of shortcut key names see: [[http://doc.trolltech.com/4.6/qkeysequence.html]]
 +
 
 
frequently_asked_questions.txt ยท Last modified: 2022/05/06 16:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki