Post installation
Intro
Note: If you use FuseISO or Embedded FuseISO -- skip this guide!
Before you start q4wine, you need to dicede:
Do you wish to allow q4wine to run mount\umount without root password prompt or you wish to use GUI su\sudo application like kdesu\gksu\xdg-su?
Password less
Add following lines to /etc/sudoers (use visudo command)
#---------- Cut here ------------------------- Cmnd_Alias Q4WINE_COMMS=/sbin/losetup,/bin/mount,/bin/umount User_Alias Q4WINE_USERS=%games,%users Q4WINE_USERS ALL=(ALL) NOPASSWD: Q4WINE_COMMS #---------- End of Cut -----------------------
You must set “gui sudo” option to sudo binary at startup wizard or in q4wine options dialog.
GUI sudo
Add following lines to /etc/sudoers (use visudo command)
#————— Cut here -——————————— Cmnd_Alias Q4WINE_COMMS=/sbin/losetup User_Alias Q4WINE_USERS=%games,%users Q4WINE_USERS ALL=(ALL) NOPASSWD: Q4WINE_COMMS #————— End of Cut -——————————
This will allow to run /sbin/losetup, which is used for building mounted iso’s menu list, with out prompting root password.
Otherwise you can’t get mount menu working.
You must set “gui sudo” option to sudo gui binary at startup wizard or in q4wine options dialog.