LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-21-2007, 12:19 PM   #1
Short.Cipher
LQ Newbie
 
Registered: Jul 2007
Distribution: Debian 4.0, Ubuntu 7.04, 6.10, Server 6.06, Puppy
Posts: 7

Rep: Reputation: 0
Use web-based email as preferred email app?


NOTE: Using Ubuntu 7.04, but should be a Gnome-specific issue.

I want to move from using Evolution to web-based email at inbox.com. I have a mail notification applet running that checks my inbox.com account. When I get a new email, I can click on the applet to have it load up my preferred email application (as specified in the System->Preferences->Preferred Applications setting). Now, instead of having Evolution pop up, I want it to load inbox.com on Firefox.

So what I've done so far is go into that Preferred Applications setting and added a custom command: firefox www.inbox.com

When I click my notifier applet, it runs Firefox. Unfortunately, it ignores the url I attached. I've tried all variations that I can think of. The kicker? This works perfectly from the terminal, but not when it's loading as the "preferred application".

Any ideas?

Thanks!
 
Old 07-21-2007, 01:53 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You could try putting quotes around the Firefox setting in the preferred applications.

"firefox www.inbox.com"

Or you could try the reverse apostrophe instead of quotes.

`firefox www.inbox.com`

Note that the reverse apostrophe is on the same key as the tilde.

I think it depends on how either the mail checker or the Gnome preferred application calls Firefox. You might be able to do something like this in the preferred settings.

firefox %s

or

firefox %u

I don't know exactly what those parameters do but I see them on KDE icons that call applications.

Or you could just put Firefox in the preferred application without the URL. Maybe the URL will be automatically passed to Firefox by Gnome.

Last edited by stress_junkie; 07-21-2007 at 01:58 PM.
 
Old 07-21-2007, 09:11 PM   #3
Short.Cipher
LQ Newbie
 
Registered: Jul 2007
Distribution: Debian 4.0, Ubuntu 7.04, 6.10, Server 6.06, Puppy
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the response!

I tried both of your suggestions, but nothing works.

It's not too big a deal, since as it is now, clicking to open my mail client opens up Firefox's home page - I just have a bookmark on the toolbar pointing to inbox.com. I'd just like to remove that one step if possible.
 
Old 07-22-2007, 04:23 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,765
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
Two more "alternatives": #1: start up Firefox, go to inbox.com, now go to preferences and set "current page" as your homepage. This will cause the URL to appear everytime you open a browser which is kind of rigid. #2: Look where firefox is installed (the "which" command should show something like say /usr/local/bin/firefox) and move it to /usr/local/bin/firefox.bin. Now make a shell script /usr/local/bin/firefox and fill it with this, which will cause Firefox to be started with the Inbox URL unless there's an URL given:
Code:
#!/bin/sh
URL="$@"; exec /usr/local/bin/firefox.bin "${URL:=http://www.inbox.com}"; exit 0
This modification is more rigid compared to #1 because you're changing the location of a binary (instead of changing personal preferences) so if Firefox gets upgraded and ends up in another spot you'll have to edit the script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I set preferred apps other than web browser and email client in Ubuntu 7.04? atmartin50 Linux - Newbie 2 05-22-2007 03:18 AM
App to Download Web Based Email stranger777 Linux - Newbie 5 08-19-2004 06:47 PM
which web-based email interace kubicon Linux - Networking 2 02-02-2004 12:57 AM
Linux and Web Based Email rioch Linux - General 3 10-01-2003 10:52 PM
web based email thesnaggle Linux - Newbie 4 09-26-2003 01:06 PM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration