URL to open Compose mail in new window

Asked by Hansen

I have made a custom URL in "Compose" in the preferences, so that instead of opening gmail with a new compose mail in the corner, I get an new clean tap with only the new compose mail.

https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1

The question are, what piece of code do i need to ad, to make it open in a new separate window instead of a new tap? -and possible in a predefined size?

Question information

Language:
English Edit question
Status:
Solved
For:
Unity Mail Edit question
Assignee:
No assignee Edit question
Solved by:
Hansen
Solved:
Last query:
Last reply:
Revision history for this message
Hansen (moteprime) said :
#1

I found the "--new-window" option, but it somehow messes with the url, so chromium just opens a new gmail window.

This is what i put in the Compose field:
Exec:chromium-browser --new-window https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1

Revision history for this message
Dmitry Shachnev (mitya57) said :
#2

Hi Hansen,

> Exec:chromium-browser --new-window https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1

I think putting the URL into quotes should help:

    Exec:chromium-browser --new-window 'https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1'

Revision history for this message
Hansen (moteprime) said :
#3

That really made me so happy!
THANK YOU!!