LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-29-2006, 11:12 PM   #1
BigVig
Member
 
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 108

Rep: Reputation: 15
Iceweasel/Firefox 2.0 config question


Okay, in Firefox 1.5.0.7, if I hit the <backspace> key, then I went to the previous page in my history list for that browsing session.

In the new Firefox 2.0/Iceweasel, it now functions like the <page-up> key.

Slightly foolish question - how can I return the "go to previous page" function to the <backspace> key in Gnome?

Thanks for your help

 
Old 11-29-2006, 11:43 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
http://kb.mozillazine.org/Browser.backspace_action
 
Old 11-30-2006, 01:17 PM   #3
BigVig
Member
 
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 108

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh
Thanks for the pointer.

After reading several pages at MozillaZine.org, I believe I need to create a user.js file in a profile folder with the following two lines:
Code:
// Set backspace key to go to previous page
user_pref("browser.backspace_action", 0);
 
Old 11-30-2006, 05:22 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
I believe I need to create a user.js
That file should already exist. You can either edit it, or simply change the line in about:config that references browser.backspace_action

Just enter "about:config" in the url window.
 
Old 11-30-2006, 06:27 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
user.js is NOT created by default, you can of course edit the same preferences in about:config.

The nice thing about user.js settings is that they are persistent across updates and you can transfer them to a new install.
 
Old 11-30-2006, 07:17 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
user.js is NOT created by default,
Hmmm! OK, the file like that that I edit is named prefs.js (/home/myuser/.mozilla/default/randomly-named-folder/prefs.js)

It must be created by default. At least I never created it specifically, and it's on all my systems.
 
Old 11-30-2006, 08:45 PM   #7
BigVig
Member
 
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 108

Original Poster
Rep: Reputation: 15
Thank you, everyone.

I took the easy way suggested by rickh and typed 'about:config' in the location bar.

From there, it was very easy to make the change by just typing 'browser' in the filter and then changing the integer value to 0.

Thank you again.
 
Old 11-30-2006, 09:50 PM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
User.js file - MozillaZine Knowledge Base
Quote:
The user.js file, located in the profile folder, is used to customize preference settings in Mozilla-based programs. When you launch the application, the valid preferences you've added to user.js are then automatically copied into the prefs.js file (also located in the same profile folder), which stores all the preferences for the current user. For that reason, before you create or edit the user.js file it is advisable to make a backup copy of the prefs.js file. Although the prefs.js file can be modified using (about:config) or through the options and preference settings within the Firefox/Thunderbird/Mozilla Suite program's user-interface, the preferences you add via the user.js file will never be modified unless you yourself edit the user.js file contents.
The last part is the nice thing about using user.js instead of about:config
 
Old 12-01-2006, 09:23 AM   #9
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Thank you, everyone.

I took the easy way suggested by rickh and typed 'about:config' in the location bar.

From there, it was very easy to make the change by just typing 'browser' in the filter and then changing the integer value to 0.

Thank you again.

Thanks, that was really helpful
 
  


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
Iceweasel 2.0 is available in Sid craigevil Debian 18 12-03-2006 10:14 PM
Password-Phishing hole in Iceweasel, Firefox, Mozilla craigevil Linux - Security 2 11-23-2006 08:44 AM
Some Nice Artwork for the Debian Fork of Firefox, IceWeasel rickh Debian 7 10-17-2006 01:08 PM
Firefox issues solved with Gnuzilla and IceWeasel craigevil Debian 2 10-03-2006 01:42 AM
Firefox about:config and changing e-mail... webwolf70 Linux - Software 5 10-27-2004 07:20 PM


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

Main Menu
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