hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
320 stars 54 forks source link

Feature request: Keyboard shortcut to start cropping image #49

Closed alancutter closed 5 years ago

alancutter commented 5 years ago

Currently to access the cropping functionality it's either click+mousemove+mousemove+click or click+i+i+right+up+up+enter or tab+right+right+right+right+right+right+right+right+enter+i+i+right+up+up+enter. A shortcut key combo would make life a bit easier. In GIMP it's Shift-C.

ghost commented 5 years ago

@alancutter, You just can do that manually. Simply open ~/.config/viewnior/accel_map file, find the line containing "<Actions>/MenuActionsStaticImage/ImageCrop", remove ; from the beginning of the line, and right before ) at the end of the line just add between "" the shortcut you want to use, for example <Shift>c. That's all.

Sorry for the bad English!

alancutter commented 5 years ago

Custom keyboard shortcuts, awesome!