Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-10-2010, 08:58 AM
|
#1
|
Member
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230
Rep:
|
Run program in wine from kickoff menu
I delete XP totaly and now I use only Linux
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?
|
|
|
01-10-2010, 09:05 AM
|
#2
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852
|
At a guess, "~" is a bash synonym for your home directory. But I don't believe the kde launcher uses it. Try changing it to the full path.
|
|
|
01-10-2010, 09:53 AM
|
#3
|
Member
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230
Original Poster
Rep:
|
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"
|
|
|
01-10-2010, 10:44 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Could there be an issue with permissions on those files (or the directory holding them)?
|
|
|
01-10-2010, 10:54 AM
|
#5
|
Member
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230
Original Poster
Rep:
|
I try to chmod 777 all files and the directory, but same errors occur.
|
|
|
01-10-2010, 11:29 AM
|
#6
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
Quote:
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
|
|
1 members found this post helpful.
|
01-10-2010, 12:02 PM
|
#7
|
Member
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230
Original Poster
Rep:
|
Thank you very much, tredegar. I set "workpath" and the program run. It is simplier.
I try also the script. It works too.
Great help!
|
|
|
01-10-2010, 12:18 PM
|
#8
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
Pleased it is working now.
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/ ?)
|
|
|
All times are GMT -5. The time now is 12:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|