Essa é uma revisão anterior do documento!
Como globalizar o seu Wine para funcionar multi-usuário no Ubuntu 14
sudo apt-get install wine winecfg
#sudo adduser --disabled-password wineshare sudo adduser --disabled-login --shell /forbid/login --home /opt/wineshare wineshare
# define which users can administrate (become root) User_Alias ADMIN = %admin # define which users can run the wine/windows programs User_Alias WINDOWS_USERS = ALL # define which commands the WINDOWS_USERS may run Cmnd_Alias WINDOWS = /usr/bin/wine,/usr/bin/winecfg # Defaults Defaults:WINDOWS_USERS env_reset Defaults:WINDOWS_USERS env_keep += DISPLAY Defaults:WINDOWS_USERS env_keep += XAUTHORITY # Members of the admin user_alias, defined above, may gain root privileges ADMIN ALL=(ALL) ALL # The WINDOWS_USERS may run WINDOWS programs as user windows without a password WINDOWS_USERS ALL = (wineshare) NOPASSWD: WINDOWS
sudo mv ~seuusuario/.wine /opt/wineshare/.wine -iv sudo chown wineshare:users /opt/wineshare/.wine/ -Rfv
sudo ln -s /opt/wineshare/.wine/drive_c /opt/wineshare/drive_c
xhost +local:wineshare sudo -u wineshare -H wine notepad
#!/bin/bash cd "/opt/wineshare/.wine/drive_c/Program Files (x86)/BioEstat 5.0" xhost +local:wineshare sudo -u wineshare -H wine "C:\Program Files (x86)\BioEstat 5.0\BioEstat.exe"
[Desktop Entry] Name=BioEstat Exec= sh "/opt/wineshare/.wine/drive_c/BioEstat.sh" Icon=wine Type=Application Categories=Wine;
Fonte (adaptado): http://ubuntuforums.org/showthread.php?t=917422