Generate Native Linux App for Gmail with nativefier

I wanted to generate an ‘app’ for Gmail, so that I don’t have to keep an opened tab in browser for Gmail, to get distracted every time I receive an email.

With a dedicated app, I will only open it at certain times during the day, and handle emails in those times only.

~ nativefier https://mail.google.com/mail --user-agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0' --name "My Gmail" --internal-urls ".*accounts .google.com.*"
~ nativefier https://mail.google.com/mail --user-agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0' --name "My Gmail" --internal-urls ".*accounts .google.com.*"

I have used nativefier(https://github.com/nativefier/nativefier) for this,

There is an know issue related to Gmail authentication see this answer,

https://github.com/nativefier/nativefier/issues/831#issuecomment-563997663

Leave a comment