[Digikam-users] Rating shortcuts

manew manew at gmx.de
Wed Jun 27 12:53:15 BST 2012


Hello, I found an rather ugly way how to rate pictures while pressing the 
keys 1 to 5 only.

1. start digikam
2. Use Menu > Settings > "Define Shortcuts" 
   to open Dialog for changing shortcuts
3. press Button "Details >>" at the bottom of the window
4. choose "schema export" in Dropdownfield "Further Actions" 
   (button to the right)
5. choose a target directory
6. copy the file "digikam<SCHEMANAME>shortcuts.rc"
   from folder "<target diretory>/shortcuts/share/apps/digikam/"
   to
   ~/.kde/share/apps/digikam/digikammanewshortcuts.rc 
7. stop digikam
8. open the file "~/.kde/share/apps/digikam/digikammanewshortcuts.rc" 
   in an editor
9. add the following lines near the end of the file in front of the row
   "</ActionProperties>":

    <Action shortcut="0" name="rateshortcut-0"/>
    <Action shortcut="1" name="rateshortcut-1"/>
    <Action shortcut="2" name="rateshortcut-2"/>
    <Action shortcut="3" name="rateshortcut-3"/>
    <Action shortcut="4" name="rateshortcut-4"/>
    <Action shortcut="5" name="rateshortcut-5"/>

10. restart digikam
11. Use Menu > Settings > "Define Shortcuts" to open Dialog 
    for changing shortcuts
12. press Button "Details >>" at the bottom of the window
13  choose the entry "manew" from the first dropdownlist
14. press "OK"

Now the rating should be possible by simply pressing the numbers 0 to 5

Unfortunately the steps 11 to 14 are required after each digikam restart to
enable the customized shortcuts.
Even if the customized entry "manew" is preselected in the dropdownlist, 
it has to be selected again to become active!





More information about the Digikam-users mailing list