LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 01-10-2010, 08:58 AM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 33
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?
 
Old 01-10-2010, 09:05 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
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.
 
Old 01-10-2010, 09:53 AM   #3
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 33
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"
 
Old 01-10-2010, 10:44 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Could there be an issue with permissions on those files (or the directory holding them)?
 
Old 01-10-2010, 10:54 AM   #5
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 33
I try to chmod 777 all files and the directory, but same errors occur.
 
Old 01-10-2010, 11:29 AM   #6
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
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.
Old 01-10-2010, 12:02 PM   #7
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 33
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!
 
Old 01-10-2010, 12:18 PM   #8
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
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/ ?)
 
  


Reply

Tags
kickoff, menu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bug (?) in Kickoff menu (more fun rather than a real issue) jannekrille Slackware 8 09-25-2009 02:03 AM
KDE Kickoff Menu Kyuuketsuki Linux - Software 2 11-28-2007 06:53 AM
Configuring the SUSE kickoff menu utahnix Linux - Software 1 08-17-2007 08:31 PM
Kickoff A New KDE Menu For Debian? raid517 Debian 10 11-30-2006 06:42 AM
Kickoff A New KDE Menu For Debian? raid517 Linux - Software 3 11-29-2006 07:25 AM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration