How use Huggle on Ubuntu?

Questions about Wine on Linux
Locked
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

How use Huggle on Ubuntu?

Post by vitor mazuco »

Hi! I tried use Huggle.exe on Ubuntu using Wine, but it not open. And the terminal apper

root@vitor:~# wine huggle.exe
wine: cannot find L"C:\\windows\\system32\\huggle.exe"

But this Huggle is on my Downloads paste.

You can make download here http://code.google.com/p/huggle/downloads/list

And there are a tutorial here https://en.wikipedia.org/wiki/Wikipedia:Huggle/Wine

But it not works.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How use Huggle on Ubuntu?

Post by dimesio »

First, never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root

Second, follow these instructions for starting apps in a terminal: http://wiki.winehq.org/FAQ#run_from_terminal.
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

Re: How use Huggle on Ubuntu?

Post by vitor mazuco »

dimesio I can't open

My file is "/home/vitor/Windows/system32"

vitor@vitor:~$ wine huggle.exe
err:menubuilder:init_xdg error looking up the desktop directory
wine: cannot find L"C:\\windows\\system32\\huggle.exe"
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How use Huggle on Ubuntu?

Post by dimesio »

Follow the instructions for running from a terminal in the link I posted.
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

Re: How use Huggle on Ubuntu?

Post by vitor mazuco »

But not open, please, can you put here the command?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How use Huggle on Ubuntu?

Post by dimesio »

You mean you can't open the wiki page? It's working fine for me.

Here's the section I linked to:
6.4. How should I start Windows programs from the command line?

This will allow you to see messages from Wine that may help troubleshoot problems.

Because Windows programs will often look for files in the location they were started from, when using the command line you should start them in a very specific way: "change directory" to the folder where the program is located and run the .exe file using only its filename. For example:

cd '.wine/drive_c/Games/Tron'
wine tron.exe

In some cases you may wish to specify the full path to the program's .exe file. For example, if you need to install a program from multiple CDs, the previous method won't work (entering the directory in the terminal will prevent you from removing the CD). You can provide Wine with a DOS or Windows style path inside single quotes like so:

wine start 'C:\Games\Tron\tron.exe'

You need to use wine start if you specify a full path, because that allows Wine to set the working directory for the program if it needs it. You can also use double quotes, but you need two backslashes instead of one:

wine start "C:\\Games\\Tron\\tron.exe"

If you need to use a Unix style pathname, use the /Unix option to start, e.g.

wine start /Unix "$HOME/installers/TronSetup.exe"

For current Wine, once a program is installed, you can safely use any shortcuts that the installer has created.
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

Re: How use Huggle on Ubuntu?

Post by vitor mazuco »

Ok, i used

cd '.wine/home/vitor/Windows/system32/huggle.exe'
wine huggle.exe

and didn't work

after I used

wine start 'C:/home/vitor/Windows/system32/huggle.exe'

and didn't work

after I used

wine start "C:/home/vitor/Windows/system32/huggle.exe"

and didn't work

How is the command?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How use Huggle on Ubuntu?

Post by dimesio »

I doubt any of the paths you tried are correct. Assuming you used the default wineprefix, and your home directory is /home/vitor, the path to the wineprefix would be /home/vitor/.wine.

Have you even installed this program yet? Where is "huggle.exe" located? Wherever it is, that's the path you need to use.
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

Re: How use Huggle on Ubuntu?

Post by vitor mazuco »

I want to know hat is the libary I need to install.
vitor mazuco
Level 2
Level 2
Posts: 10
Joined: Sun Sep 01, 2013 12:40 pm

Re: How use Huggle on Ubuntu?

Post by vitor mazuco »

When I run Huggle using Wine appear

vitor@vitor:~$ cd Área\ de\ Trabalho/
vitor@vitor:~/Área de Trabalho$ wine huggle\ 2.1.21.exe
fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
err:menubuilder:init_xdg error looking up the desktop directory
wine: Install Mono for Windows to run .NET 2.0 applications.

How can I install Install Mono for Windows to run .NET 2.0 applications, but this is already installed?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: How use Huggle on Ubuntu?

Post by dimesio »

I believe Ubuntu packages wine-mono. Install that.
Locked