I am using Ubuntu 20.04 and i have installed a windows application using wineHQ. In windows the desktop icon has two parameters "Start in" and "Target". The "Start in" path points to a network server path and "Target" points to a file on the C drive followed by a network path file. I would like to know how the Ubuntu .desktop file configured to use the the target and start in parameters. See the configurations under;
Windows Desktop Shortcut
Target: C:\ApplicationDirectory\BIN\MyApp.EXE \\ServerName\ApplicationDirectory\FileName
Start in: \\ServerName\ApplicationDirectory
Ubuntu .Desktop file Configuration
[Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=sudo ~/.wine/MyApplication/BIN/MyApp.EXE smb://ServerName/ApplicationDirectory/FileName Name=MyApplication Comment=MyApplication
- Wine is installed in the root directory and to access the MyApplication directory i have to enter my root password sometimes from winecfg the directory is not visible. Is there a way to configure this file to always run as root?
- How do i configure the "Start in" properties in the .Desktop file to start in my network path?