Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to make Gmail open a small compose window on the actual site containing the mailto-link, instead of opening a new tab. I don't even know if this is possible. My setup makes searching for answers more difficult than I expected.

I am running Ubuntu 12.10 with Chromium. To make Gmail as my default mail-client, I had to install Gnome Gmail. This works just fine except the mentioned problem. I can't find any conf-file for Gnome Gmail, but I'm surprised if it does not exist.


Updated after user176315's help:

Changing

webbrowser.open_new_tab(gmailurl)

to

webbrowser.open_new(gmailurl)

in /usr/bin/gnome-gmail only resulted in gmail opening the mailto-link in the same window. Python's documentation on webrowser.open_new() says:

Open url in a new window of the default browser, if possible, otherwise, open url in the only browser window.

I also tried

webbrowser.open(gmailurl, new=1)

but this did the same as open_new(gmailurl)

It kinda feels like Chromium is not supported by Pyhton in some way.

share|improve this question

1 Answer 1

GNOME Gmail configuration information is stored in gconf, soon to be dconf. Tab/new window behavior is not a configuration parameter. There is no other configuration file.

You could modify the /usr/bin/gnome-gmail script to open the compose screen as a new window.

Change

webbrowser.open_new_tab( gmailurl )

to

webbrowser.open_new( gmailurl )

At the bottom of the script.

share|improve this answer
    
Didn't work, for me: keeps opening gmail page, not the composer... –  MarcoS Mar 2 at 12:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.