On Linux Mint 19 (all "dot" versions), there is an option to add "Start-up applications".
There, I've added the following script:
#!/usr/bin/env sh export DISPLAY=:0.0 /usr/bin/thunderbird & sleep 2 export DISPLAY=:0.0 /usr/bin/google-chrome-stable & sleep 2 export DISPLAY=:0.1 env WINEPREFIX="/home/<user>/.wine" wine C:\\windows\\command\\start.exe /Unix /home/<user>/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Notepad++.lnk &
The goal of the script is simple:
- Start Thunderbird on the 1st display
- Start Google Chrome on the 1st display
- Start Notepad++ on the 2nd display
Everything works fine, except that Notepad++ doesn't start.
What I've tried so far:
- Change the order - Simply stopped everything from working
- Reduce the
sleeptime - Doesn't change the behaviour
- Check the logs - Can't find anything (using
gnome-system-logand the included log viewer) about the file being executed or startup programs
- Run the command directly in the shell - Works flawlessly
#!/usr/bin/env bash- Doesn't change the behaviour
Is there anything else I can try?