LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-29-2014, 05:06 PM   #1
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Rep: Reputation: Disabled
Installed Mono, libgdiplus, multilib, and Wine - now what?


Hey guys,

I've installed (I believe correctly) libgdiplus, mono, multilib, and Wine.

Now I don't know what to do. How do I 'start' wine?

I tried wineconsole, wine, and both did nothing....
 
Old 01-29-2014, 05:38 PM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 217

Rep: Reputation: 65
You cannot "start" wine directly. Everything that wine does, is running your windows executables.

You can, however, start up the wine config tool with:

winecfg

or one of the simple preinstalled applications like:

wine notepad.exe
wine clock.exe
 
2 members found this post helpful.
Old 01-29-2014, 07:21 PM   #3
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 736

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Greetz
If you didn't know already, Wine is an acronym for "Wine Is Not Emulation" which means you are not running some version of windows within Linux. It "simply" provides a sort of translation for some labeling conventions and paths, and a library set required by many windows applications and even has a fake windows reboot (for what would windows do without rebooting for any little change?" <grin>

Wine has gotten quite good for many applications and in some cases the reduced overhead, superior memory management, superior security and superior TCP/IP stack et cetera makes for a ...well, superior runtime. In short, some apps run better in wine than they do in real windows. Additionally over the years it has become rather well documented, both from The Official Wine Headquarters and user contributed database and forums. Be sure to visit there for information both specific and general.

I'm curious now, though. If you didn't know how wine works, what windows app(s) can you not live without? Presently I only use it for a couple games and recently for assistance in running Silverlight dependent sites and services like Netflix. It is quite satisfactory for those.
 
2 members found this post helpful.
Old 01-29-2014, 07:49 PM   #4
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
Greetz
If you didn't know already, Wine is an acronym for "Wine Is Not Emulation" which means you are not running some version of windows within Linux. It "simply" provides a sort of translation for some labeling conventions and paths, and a library set required by many windows applications and even has a fake windows reboot (for what would windows do without rebooting for any little change?" <grin>

Wine has gotten quite good for many applications and in some cases the reduced overhead, superior memory management, superior security and superior TCP/IP stack et cetera makes for a ...well, superior runtime. In short, some apps run better in wine than they do in real windows. Additionally over the years it has become rather well documented, both from The Official Wine Headquarters and user contributed database and forums. Be sure to visit there for information both specific and general.

I'm curious now, though. If you didn't know how wine works, what windows app(s) can you not live without? Presently I only use it for a couple games and recently for assistance in running Silverlight dependent sites and services like Netflix. It is quite satisfactory for those.
Thank you for a very informative reply. I was looking to install wine so that I could then install a 32-bit version of Microsoft Excel 2010. It seems that wine works very well with 32-bit 2010 suite.

However, after using LibreOffice Calc out of neccesity (since I didn't know what to do with wine), I think it is a perfect alternative to Excel - sure, you have to learn the ins and outs of Calc, which takes a little time, but it is not hard at all.

However, I also want to run FoxIt PDF Reader, and here I have not found a suitable linux alternative. There is no good alternative to FoxIt's annotation features.

Thank you!
 
Old 01-29-2014, 07:54 PM   #5
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schmatzler View Post
You cannot "start" wine directly. Everything that wine does, is running your windows executables.

You can, however, start up the wine config tool with:

winecfg

or one of the simple preinstalled applications like:

wine notepad.exe
wine clock.exe
Thank you schmatzler. I simply ran 'wine /dir/setup.exe' and installed Office.

Then, to start up Excel, I found the EXCEL.EXE file (in /home/user/.wine directory) and ran 'wine EXCEL.EXE'.

Just thought I'd spell it out for the next user.
 
Old 01-29-2014, 08:17 PM   #6
enorbet
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 14 is Main OpSys on Main PC, 2ndary are OpenSuSe 13 and SolydK
Posts: 736

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You're quite welcome and here's another tidbit. Many applications can be tweaked to run at top performance and in several ways. Not only does wine have a registry and regedit, but it is possible in winecfg to assign different version compatibilities for specific apps.

Say your version of Excel works best in XP but app XYZ runs better in Win7. You can add in the appropriate dialogue box that Excel is to use XP, while launching XYZ prefers Win7. Nice, huh?

Additionally, because you launch apps through wine but IN LINUX, you can add switches so that Linux gives wine what it needs most for that app. Example, I like to play World of Warcraft, so where before I learned a few tricks I just typed "wine ~enorbet/WinWoW/wow.exe" (my wow location, not universal) and actually I created a "Link to Application" on the Desktop for this, now I use a two step command.

First, being a game and this particular game, an MMORPG so it has LOTS of changing multimedia elements, I use PV's lil trick of
Code:
 sysctl vm.mmap_min_addr=4096

Note: the above is run as root
the above fixes a memory allocation problem that made the game somewhat unstable (it would crash a lot under certain kinds of heavy loads. Now it doesn't.)

I suppose I should include the disclaimer that it also temporarily adds some vulnerability, not major by any stretch, at least for me but although I don't use a real DMZ on my home network, I do have a hardware firewall serving all my boxes and software firewall on each individual box and I run "rkhunter" once every 2 weeks and after 9 months of use (some months, rather heavy use) I have never had even a scare, after the initial common warnings about SSH settings, which took all of 5 minutes to set right.

Then I launch the main executable thusly

Code:
 wine ~/enorbet/WinWoW/wow.exe nice -20  
Note: run as user
This one assigns a higher priority. With the added "nice -20" switch, I can alt-tab out of WoW and launch, say Skype or TeamSpeak (both linux native apps but of considerable resource use) or even Firefox with about 20 Zillion saved and restored tabs without WoW even gasping for air, let alone crashing like it used to.

So tips and tricks can be found here at LQ as well as WineHQ. Enjoy!

Last edited by enorbet; 01-29-2014 at 08:42 PM.
 
1 members found this post helpful.
Old 01-29-2014, 09:37 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,849
Blog Entries: 15

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Wine basically acts as a collection of runtimes and libraries for Linux to translate operation calls for Windows apps into a GNU/Linux environment.

Yes, it's not an emulator.

Say for example you have Wine installed, go to a terminal and type in Wordpad. Wordpad will open using the Wine API runtime and library translation layer just as it would in Windows.

Now I will warn you ahead of time, Wine does not give kernel level application authority (Ring 0) for applications, and Wine applications, and applications ran using Wine, do not have any hardware acceleration or kernel level benefits. There are no drivers for Wine either. Wine only operates in the userspace (Ring 3).
 
1 members found this post helpful.
Old 01-31-2014, 02:35 PM   #8
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
Everything on this system is humming along beautifully.

Excel is not even needed with LibreOffice, but it works great nonetheless.

FoxIt working flawlessly as well.

Very happy with Slackware. I can hardly tell this computer is on sometimes when the screen shuts off.
 
  


Reply


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
Fedora 20 Multiseat - mono libgdiplus issues Ipolit Fedora 4 01-28-2014 02:17 PM
[SOLVED] trying to install Wine with multilib Knightron Slackware 5 10-23-2012 05:58 AM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 07:42 AM
libgdiplus make error /want to install for mono gaddargarson Programming 2 04-10-2005 04:38 PM
libgdiplus make error /about mono gaddargarson Fedora 1 04-05-2005 11:29 AM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
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