Flag for starting Thunderbird minimised (Flatpak)
Hi. Is there a flag for the flatpak command that will start Thunderbird minimized?
Thanks :)
Todas as respostas (1)
Sure, I can help you with that! Starting Thunderbird minimized with a Flatpak command is a bit tricky, but there's a workaround you can try. Unfortunately, there isn't a direct flag for this in the command. However, you can create a small script that runs Thunderbird and then minimizes it. Here's how:
Open a text editor and paste the following lines: bash Copy code
- !/bin/bash
thunderbird & sleep 5 wmctrl -r Thunderbird -b add,hidden Save the file with a ".sh" extension, for example, "start-thunderbird.sh".
Open your terminal, navigate to the location of the script, and make it executable using the command:
bash Copy code chmod +x start-thunderbird.sh Now, whenever you run this script, Thunderbird will start and then minimize after a few seconds. I hope this helps you achieve what you're looking for. Give it a try and let me know if you have any questions or need further assistance!