How do i run external program for translate on fedora 39 #1542
Replies: 4 comments 6 replies
-
What's the output of the program on console? |
Beta Was this translation helpful? Give feedback.
-
execute the command on the terminal |
Beta Was this translation helpful? Give feedback.
-
specify the absolute path of |
Beta Was this translation helpful? Give feedback.
-
IT SHOULDNT BE HARD !!! thanks to @shenlebantongying and @xiaoyifang for all help; @shenlebantongying mailed me at 07.06.2024 about my goldendict working issue on fedora 39 like that; Then I worked on the issue. When I searched with the same problem, I found some posts on GitHub, such as this and this. But, even though I applied the code from the programs tab in GoldenDict according to the above posts, the result was the same—it didn't work. Then I ran GoldenDict with that code in the terminal: and tried translating a word—wow, it worked! For more generic and faster usage, I created a bash script with flatpak run --... and created a desktop entry by linking that desktop file. So, I achieved the goal, but it took about 3 weeks. Finally, I can say, "IT SHOULDN'T BE HARD!!!" I think the problem might be related to Fedora's terminal and Flatpak. Maybe I'm not very knowledgeable about this subject or something else I don't know. I hope for it has become like a document for those who come after me so that they will not experience the same problems. |
Beta Was this translation helpful? Give feedback.
-
When i added below code to Program tab in Dictionaries, i got an error like that ;
program: trans -e google -s fr -t en -show-original y -show-original-phonetics n -show-translation y -no-ansi -show-translation-phonetics n -show-prompt-message n -show-languages y -show-original-dictionary n -show-dictionary n -show-alternatives n %GDWORD%
error code: Query error: The program has returned exit code 255.
i am using fedora 39. when i used Ubuntu repo, i did not got any error, but i changed my repo to fedora, i am getting eror nowadays, thanks for help, regards.
PS: i installed translate-shell program in link; https://github.com/soimort/translate-shell
Beta Was this translation helpful? Give feedback.
All reactions