Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th September 2007, 07:09 AM
rossini23 Offline
Registered User
 
Join Date: Jun 2007
Location: China
Posts: 15
Set firefox start page with script?

For some reason, I want to set firefox start page with script.
Can anyone provide one?
Is gconftool-2 possible for this task?
__________________
U: AMD 3600+
M: Abit KN9S
G: GALAXY 7600GE
Reply With Quote
  #2  
Old 24th September 2007, 08:35 AM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,860
Hello not sure what you want, but this may help a bit

Quote:
#! /bin/bash

typeset -r FIREFOX="`which firefox`"

$FIREFOX http://www.google.com
Reply With Quote
  #3  
Old 24th September 2007, 09:29 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Exit any instance of the browser and change your preferences file, located in $HOME/.mozilla/firefox/xxxxx.default/prefs.js, where xxxxx is a randomly generated string specific to your installation. The entry you're looking for is "browser.startup.homepage". Restart the browser.

Code:
sed -i 's/user_pref("browser.startup.homepage",.*/user_pref("browser.startup.homepage","www.site.com");/' $HOME/.mozilla/firefox/*.default/prefs.js

Last edited by giulix; 24th September 2007 at 09:51 AM.
Reply With Quote
Reply

Tags
firefox, page, script, set, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page not open in firefox. RajuTiwari Using Fedora 1 9th December 2006 09:56 AM
[Release] Fedora Firefox Start Page Jesus-Franco News 32 30th September 2005 07:13 PM
cgi script error - page not found? arak Servers & Networking 3 1st August 2004 05:37 PM


Current GMT-time: 17:05 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat