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.

Is there a way to create a desktop shortcut to a group of bookmarked tabs in Firefox?

To explain further: creating a desktop shortcut to a bookmark is easy - at the simplest you can just drag the url to the desktop. And, bookmarking a group of tabs in Firefox is easy - just "Bookmark All Tabs", which you can then open all at once.

But - I can't seem to find a way to make a desktop bookmark to open a group of bookmarks in tabs at once. Is my google-fu really bad, or is that actually not possible?

(For the record, I'm on windows, but for the sake of completeness, answers on any and all platforms are welcome.)

share|improve this question

2 Answers 2

up vote 11 down vote accepted

Create a new shortcut to point to Firefox (or just copy an existing one). Right-click on the shortcut and select "Properties". In the "Target" field, scroll to the end of the line after the path to the firefox executable and add urls, each enclosed in quotes like this:

"C:\Program Files\Mozilla Firefox\firefox.exe" "http://example.com" "http://superuser.com"

That should open each URL in a new tab. Also check out the Mozilla Knowledgebase for more Firefox command line goodness.

Update: Guess I should close my browser to test before declaring victory... updated with working answer on FF 3.5 on Win 7 x64

share|improve this answer
    
On FF3.5, on Win7, that's not working. It's opening up a new window for each site. I played with the -new-tab feature for several minutes, and it always opened new windows instead of tabs -- UNLESS Firefox was already running. If FF was already running, it opened new tabs within the most recently opened window. –  John Rudy Aug 21 '09 at 21:28
    
Edit works beautifully; WAY better than my answer. –  John Rudy Aug 21 '09 at 21:37
    
Slick! Works perfect with 3.5 on my WinXP MCE box. –  Electrons_Ahoy Aug 21 '09 at 22:10

This assumes that you are (a) on Windows and (b) that Firefox is your default web browser.

Open up Notepad and type the following:

@echo off
start "superuser" "www.superuser.com"
start "google" "www.google.com"

Add more "start" lines as appropriate. Save this with the extension ".cmd", EG, "sites.cmd".

Create a shortcut to that and launch from there. That seems to reliably open one window with one tab for each site.

Ugly, but it works in 3.5 on Win7.

UPDATE

If you're on Windows, go with heavyd's answer instead. You may have to adjust the path to Firefox (EG, mine is located in "Program Files (x86)"), but otherwise that's the cleanest way.

For now I'll leave this answer up, but I may delete it in the future if it proves to be too much noise.

share|improve this answer
    
Actually, that's a pretty cool hack. I'd leave it up, personally - if for no other reason than I didn't know about the "start" command. –  Electrons_Ahoy Aug 21 '09 at 22:11

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.