LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   notepad++ installing problem using wine in Ubuntu 9.10 (https://www.linuxquestions.org/questions/linux-newbie-8/notepad-installing-problem-using-wine-in-ubuntu-9-10-a-786699/)

goldeneye075 02-03-2010 10:16 AM

notepad++ installing problem using wine in Ubuntu 9.10
 
I have installed wine in my computer (ubuntu9.10) ,
then restared my computer.
then i downloaded the npp.5.6.6.Installer.exe from the web, and double clicked it :
there was an error message :::::

Archive: /home/golden/Downloads/npp.5.6.6.Installer(2).exe
[/home/golden/Downloads/npp.5.6.6.Installer(2).exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /home/golden/Downloads/npp.5.6.6.Installer(2).exe or
/home/golden/Downloads/npp.5.6.6.Installer(2).exe.zip, and cannot find /home/golden/Downloads/npp.5.6.6.Installer(2).exe.ZIP, period.

Can any one help me on this: Help is highly appreciated.

Thanks.

i92guboj 02-03-2010 10:47 AM

Your ubuntu is trying to open the file using your zip archiver, whatever that is. The output matches this of the command line tool "unzip", but virtually all the GUI archivers call this tool.

You probably have to install wine if it isn't installed or instruct your desktop environment (whatever that is) to use "wine" to open the .exe file.

In any case, out of curiosity, why do you want notepad++? If there's a thing in linux that's text editors...

MTK358 02-03-2010 10:50 AM

Try a few native Linux text editors. gedit is pretty similar to Notepad++ (which I used when I used Windows).

goldeneye075 02-03-2010 11:01 AM

Quote:

Originally Posted by i92guboj (Post 3850970)
Your ubuntu is trying to open the file using your zip archiver, whatever that is. The output matches this of the command line tool "unzip", but virtually all the GUI archivers call this tool.

You probably have to install wine if it isn't installed or instruct your desktop environment (whatever that is) to use "wine" to open the .exe file.

In any case, out of curiosity, why do you want notepad++? If there's a thing in linux that's text editors...



hey thanks for the input,
notepad++ is a cool editor if ur programing in C, C++, java, perl etc..

as I am new to linux, can u explain how can i instruct the desktop environment to use wine?

Thanks..

i92guboj 02-03-2010 11:11 AM

Quote:

Originally Posted by goldeneye075 (Post 3850990)
hey thanks for the input,
notepad++ is a cool editor if ur programing in C, C++, java, perl etc..

as I am new to linux, can u explain how can i instruct the desktop environment to use wine?

Thanks..

That entirely depends on your DE. But usually I'd expect to find an "Open with" option or something similar on the context menu (right click the icon, then look around). Such dialogs often include an option to make a given application the default for that file type.

If not, then there's probably some mimetype configuration dialog in the DE control center, whatever that is.

I know what notepad++ is, but again, if there's something in the Linux world, that's text editors. And more specifically those oriented to programmers, starting with the older ones like vim or emacs, and continuing with newer (and graphical) ones like bluefish, kate, geany, scite, jedit... There are also graphical frontends to vim and emacs and also editors for a given purpose like html or latex editing.

You can also find IDEs if you are into that kind of thing, like eclipse, kdevelop or anjuta to name just a few. The list is much longer, I am just putting some random examples.

I am not trying to convince you. If notepad++ is your call then so be it. I am just telling you that there are lots of native solutions that won't require the hassle of wine, in case you had not considered them. The choice is yours, of course.

goldeneye075 02-03-2010 11:38 AM

Quote:

Originally Posted by i92guboj (Post 3851002)
That entirely depends on your DE. But usually I'd expect to find an "Open with" option or something similar on the context menu (right click the icon, then look around). Such dialogs often include an option to make a given application the default for that file type.

If not, then there's probably some mimetype configuration dialog in the DE control center, whatever that is.

I know what notepad++ is, but again, if there's something in the Linux world, that's text editors. And more specifically those oriented to programmers, starting with the older ones like vim or emacs, and continuing with newer (and graphical) ones like bluefish, kate, geany, scite, jedit... There are also graphical frontends to vim and emacs and also editors for a given purpose like html or latex editing.

You can also find IDEs if you are into that kind of thing, like eclipse, kdevelop or anjuta to name just a few. The list is much longer, I am just putting some random examples.

I am not trying to convince you. If notepad++ is your call then so be it. I am just telling you that there are lots of native solutions that won't require the hassle of wine, in case you had not considered them. The choice is yours, of course.

Thanks for pointing out the alternatives , as i did not know about them, I have used emacs longtime ago, but notepad++ gives u help when ur programing , and it gives u keywords and functions in the programing language that ur writing. (so its easy to program, is there any other editors like that?)
anyway i will try ur alternatives,,
again i am curious about "why i could n't make it run using wine?"

Thanks

MTK358 02-03-2010 11:50 AM

Almost all Linux text editors highlight code syntax just like Notepad++.

i92guboj 02-03-2010 11:53 AM

Quote:

Originally Posted by goldeneye075 (Post 3851021)
Thanks for pointing out the alternatives , as i did not know about them, I have used emacs longtime ago, but notepad++ gives u help when ur programing , and it gives u keywords and functions in the programing language that ur writing. (so its easy to program, is there any other editors like that?)

Any programing oriented editor can do that, in one or another way. kate and bluefish have support for a number of programming languages. Vim and emacs have never been my cup of tea, but they can do that and much more than notepad++ could ever dream of. I am fairly sure scite can do that as well, just as geany and about 99% of them.

Quote:

again i am curious about "why i could n't make it run using wine?"
As said in my other post you were NOT using wine, but an archiver to open the exe file. Just like if you used winrar or winzip to open it in Windows. I've never personally used notepad++ in wine, but I think it should work if you try.

Whether your OS were configured by default like that or it was you who messed the configuration we will never know.

If you can't launch it using your mouse it could still work if you use wine in command line. It's as easy as going to the directory that contains the exe file you want to run and typing:

Code:

wine <myfile.exe>
Where "<myfile.exe>" is the exe file you want to run. This will also allow you to see if the program is being run or there's some error while trying to run it.

bret381 02-03-2010 12:27 PM

Quote:

Originally Posted by goldeneye075 (Post 3850990)
hey thanks for the input,
notepad++ is a cool editor if ur programing in C, C++, java, perl etc..

as I am new to linux, can u explain how can i instruct the desktop environment to use wine?

Thanks..


If you are using gnome DE right click the .exe file and select open with. Select Wine from the menu (it should be in there in ubuntu) and check the box open all files of this type with this application. (going from memory, so it may not say exactly those things) and hit ok


All times are GMT -5. The time now is 01:38 AM.