It was easy to add Ctrl-Cmd-F as a shortcut key for Full Screen.
First of all please download and use this version of Zekr which works
better on latest versions of OS X:
Then download zekr.jar from here:
Put it in Zekr.app/Contents/Resources/Java
You can right click on Zekr.app and click "Show Package Contents" to get there.
Then get this shortcut.xml file:
(Don't forget to click on Download and Direct Download, saving the
loaded webpage won't work).
Put shortcut.xml in ~/.zekr/config
You can get to the ~/.zekr/config by pressing Command-Shift-G on
Finder and entering the "~/.zekr/config", without the "" .
After doing all these, open the Zekr application and the
Ctrl-Command-F shortcut should work for Full Screen.
Here is the explanation of what I did, for those interested:
- Zekr reads keyboard shortcuts from shortcut.xml that gets copied to
the user's .zekr folder after the first launch of Zekr.
- Changing the Full Screen shortcut to Ctrl-Command-F would not work
because Zekr treats Command and Control keys as the same.
- I had to remove some parts of Zekr's source code that would make
Zekr treat Command and Control as the same.
- Zekr includes a button/toolbar for exiting the Full Screen. This
button is useful on other operating systems but serves no purpose on
OS X 10.7 or later which include a native Full Screen feature. I
decided to remove that button too.
- The above two tasks required me to build a new zekr.jar, which is
why I'm asking Safa to download my new zekr.jar.
- For this to work correctly on new installations, my build of
zekr.jar should be used and the shortcut.xml in
"Zekr.app/Contents/Resources/Java/res/config" should be replaced with
the file I uploaded.
- So why not just make a ready to use package and upload it? I may do
it in the future, but Safa already had a shortcut.xml in his user's
folder so changing the shortcut.xml in
"Zekr.app/Contents/Resources/Java/res/config" would not suffice.
On 1/30/14, Ali Rastegar <raste...@gmail.com> wrote:
> Thanks for your comments on behalf of Mohsen! :-)
> I guess Mohsen is busy right now so we can't expect him to add this
> shortcut, I will look into it but it may be beyond my knowledge to add
> a new menu item with the correct keyboard shortcut.
> On 1/29/14, Safa Daneshvar <safa.danesh...@gmail.com> wrote:
>> Beautiful app.
>> I like it.
>> I like to use the "Ctrl + Commad + F" keys (the original keys for
>> fullscreen mode in Mac) to full screen it.
>> Keyboard works well in the app.
>> Like "Ctrl + , " for preferences.
>> : )
>> thank you so much
>> You received this message because you are subscribed to the Google Groups
>> "zekr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to zekr+unsubscr...@googlegroups.com.
>> To post to this group, send email to email@example.com.
>> To view this discussion on the web visit
>> For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/groups/opt_out.