![]() Registered Member ![]()
|
This one should show progress in a terminal: Exec=konsole --noclose -e ocrmypdf "%u" ocr_eng.pdf
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
![]() Registered Member ![]()
|
If that doesn't work, I'm afraid I'm running out of suggestions. However, I do know there's gimagereader-qt5.A front-end to ocr. Never worked with it, but hey...
https://imgur.com/a/I7Xlix2
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
![]() Registered Member ![]()
|
Now this works
![]() ![]()
I had to find where the command is, add %F %F (input and output files?!) But I do not know why it is not working with my “.sh” script or with the Alias I created for my script “ocr” I had to find where the command is, add %F %F (input and output files?!) But I do not know why it is not working with my “.sh” script or with the Alias I created for my script “ocr” Thank you very much dzor for your help. |
![]() Registered Member ![]()
|
A, cool. I made a ton of those servicemenus and, as far as I can tell, straight forward commands in the desktop file work best. At least, if the commands are straightforward. I only have, maybe one or two, that actually use an extensive script. Now, keep in mind that you can add pretty much anything in those service menus. Keybindings, scripts, zenity....you name it.https://imgur.com/a/oPrcErz
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
![]() Registered Member ![]()
|
I really thank you dzon for all your guidance
I am so eager to learn more and more I will try your suggestions and let you know! |
![]() Registered Member ![]()
|
WOW!!!
This
is amazing I did
And it worked! BUT it did not close after finishing the process. UPDATE: Removed the --noclose
It worked as expected and closed after finished the job Still, I do not understand why I could not execute my ".sh" script? Thank you! |
![]() Registered Member ![]()
|
You'd probably need to add bash in front of the path of the exec. But like I said, if you can add the command straight in the exec, the better. So now, if you should create some other pdf stuff, might as well make some pdf entry with a submenu. The ocr action would go in there along with other actions you might want to apply to pdf files. There are some premade pdf service menus available so if this ocr command shouldn't be in one of those, simply add the action and make sure the action is listed in the actions section. See my first post.
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]