Wine installation: Difference between revisions

From Notes to self
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
<pre># Shut down Xvfb
<pre># Shut down Xvfb
killall Xvfb</pre>
killall Xvfb</pre>
*To install wine-gecko, put the file <code>wine_gecko-x.xx-x86.msi</code> to <code>/usr/share/wine/gecko/</code>.  See http://wiki.winehq.org/Gecko for download url.
*<pre>
*To install wine-mono, put the file <code>wine-mono-x.x.x.msi</code> to <code>/usr/share/wine/mono</code>.  See http://wiki.winehq.org/Mono for download url.
# (1) prevent Wine from changing the filetype associations and
 
#    adding menu entries and desktop links
# (2) disable mono
# (3) disable gecko
WINEDLLOVERRIDES="winemenubuilder.exe,mscoree,mshtml=d"
</pre>
[[Category: Linux]]
[[Category: Linux]]

Revision as of 21:55, 5 December 2016

  • /etc/sysctl.conf:
# The Slackware default value is 98304; decreased here to avoid wine's warning
# The value 65536 is suggested by the config help for
# SECURITY_DEFAULT_MMAP_MIN_ADDR
vm.mmap_min_addr=65536
  • On headless server run Xvfb.

/etc/rc.d/rc.local:

# Start Xvfb
if [ -x /usr/X11R6/bin/Xvfb ]; then
  echo "Starting Xvfb"
  /usr/X11R6/bin/Xvfb :99 -screen 0 640x480x8 -nolisten tcp -noreset -auth /etc/Xvfb99.cfg -fbdir /tmp > /dev/null 2>&1 &
fi

/etc/rc.d/rc.local_shutdown:

# Shut down Xvfb
killall Xvfb
  1. (1) prevent Wine from changing the filetype associations and
  2. adding menu entries and desktop links
  3. (2) disable mono
  4. (3) disable gecko

WINEDLLOVERRIDES="winemenubuilder.exe,mscoree,mshtml=d"