Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-28-2007, 03:46 PM   #1
Adrian Baker
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
Unhappy Customisable hotkeys in Firefox????

Hi all

I work with my laptop in two environments every day - one with a direct wireless connection, and one with a proxy server. I regularly have to change my Firefox settings from one to the other.

eg Edit>Preferences>Network>Settings>Direct connection to the internet>OK, Enter>close, Enter

I'm sick of doing this.. VERY sick. I've searched high and low but cant find a quick and easy method to do this. As I'm just changing one setting, can I somehow set up a HOTKEY method of doing this - eg press Ctrl, shift and say, F9 changes my connection setting one way, and then another sets it back?

ANY other method considered.


Not really a 'Linux' question I know, but this forum is the best I've ever found for getting answers!
Old 03-28-2007, 04:21 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
So you are using one wireless connection and one wired connection correct?

Old 03-28-2007, 04:30 PM   #3
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,235

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
If you found in which text file the settings are stored (maybe prefs.js i dont recall the names now) you could make a couple of bash scripts that 'cp direct.js prefs.js' and 'cp proxy.js prefs.js' thereby overwriting each with the settings.

Do that before starting firefox and it should work. I don't think there's any way of binding keys to do that in ff, so that's how I would do it.
Old 03-29-2007, 01:42 PM   #4
Adrian Baker
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
Thanks for the replies

Brian1 - no, I have a WEP encoded wireless connection at one location, and a Proxy wireless at the other. All I have to change is the network setting from 'Direct connection to the internet' to 'Manual Proxy configuration'. YThat is all I need to do.

dive - I'll have a look around to see where the settings are, but unfortunately I don't know how to write a bash script. I'll obviously have to learn! I need to anyway.

Any other suggestions welcome
Old 04-02-2007, 03:36 PM   #5
Adrian Baker
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Original Poster
Rep: Reputation: 30
I have a solution....

I have a solution to this now and it is SO neat...

I installed the 'Custom Buttons' add-on to Firefox and then asked on the Custom Buttons forum if anyone could help me. Within a couple of days someone offered to write a custom button for me - and did so! Here is the link if anyone is interested:

Custom Button solution

I now have a small button on my Firefox toolbar that I click once to change my connection to the Proxy server settings, and click once more to move back to direct settings.

This is an awesome solution that will be so useful.

I highly recommend the Custom Button add-on and user forum - give it a go!



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
Hotkeys kcpaige89 Linux - General 2 12-18-2006 08:57 AM
Keyboard Hotkeys manicman Linux - Newbie 3 02-03-2006 09:01 AM
I want to use hotkeys joshknape Mandriva 3 09-09-2005 07:10 PM
Need a simple customisable Linux Boot CD sausagejohnson Linux - General 2 06-30-2005 07:52 PM
Hotkeys Thray Linux - General 4 04-05-2004 06:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 AM.

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