Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In windows I was using free diction and I want to make it to run from kickoff menu(I am with KDE). The problem is that in Konsole
Code:
wine ~/opt/thediction/diction.exe
run the program but with that command in command line in Menu Editor it has some error with diction database and can't run. I try to use "", but with no success.
What I have to do in order to run the program from kickoff menu by simply clicking it?
The full directory is
"/home/kode/opt/thediction.com_10Alpha3/Diction.exe"
but don't work.
And errors are
1. "A fatal error was reported by the Dictionary Server. Cannot continue"
2. "167, Cannot open dictionary file eng_bul.dic or bul_eng.dic"
167, Cannot open dictionary file eng_bul.dic or bul_eng.dic
It is looking for those files, but not finding them. They exist, so it must be looking in the wrong place.
I don't use KDE4, but in KDE3 I think you'd need to set the "workpath" to be /home/kode/ or maybe even /home/kode/opt/thediction.com_10Alpha3/ (because this is a windows program and the exe file is probably looking in it's own directory for the files).
Otherwise make a little script:
Code:
#!/bin/bash
cd /home/kode/opt/thediction.com_10Alpha3/
wine ~/opt/thediction/diction.exe
Make it executable:
Code:
chmod +x /path/to/script
And call that script from your menueditor with /path/to/script
Last edited by tredegar; 01-10-2010 at 11:31 AM.
Reason: code tags added
To help others with a similar problem, who might be sent here by search-engine,
please post the workpath that worked for you (was it /home/kode/opt/thediction.com_10Alpha3/ or just /home/kode/ ?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.