LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-07-2004, 02:00 PM   #1
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Rep: Reputation: 30
F5 in mozilla????


Is there a way to setup so I can hit F5 to refresh the page like you can do in some of the other browsers?
 
Old 04-07-2004, 02:06 PM   #2
Mahony
Member
 
Registered: Jan 2004
Location: Glasgow
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173

Rep: Reputation: 30
Ermmm, I think you can do this in Mozilla
 
Old 04-07-2004, 02:07 PM   #3
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
I don't think you can actually edit these settings(if not by default), anyway, you can rely on ctrl-R(most browser use it).

Last edited by lokee; 04-07-2004 at 02:13 PM.
 
Old 04-07-2004, 03:14 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can add the functionality yourself - that is the beauty of opensource (especially the mozilla framework) Just add:
Code:
    <key id="key_reload" keycode="VK_F5" oncommand="BrowserReload();"/>
to "comm.jar/content/navigator/platformNavigationBindings.xul". If you use Mozilla 1.6 you can download this comm.jar and replace your current one:
http://home.ripway.com/2004-3/80106/mozilla/comm.jar

Make a backup first Then restart Mozilla.
 
Old 04-08-2004, 12:42 PM   #5
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
where is that file on the system that I have to replace?
 
Old 04-08-2004, 12:47 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It will be in the "chrome" directory under your installation directory. I would only use the file I posted above if you have mozilla 1.6 though. Anything else and I suggest you apply the patch yourself.
 
Old 04-08-2004, 12:56 PM   #7
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
you mean the mozilla directory. I cannot find the chrome directory
 
Old 04-08-2004, 01:01 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try as root:
find / -name comm.jar
 
Old 04-08-2004, 01:23 PM   #9
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
Thanks that worked. I can now use F5 in mozilla. Thanks alot
 
Old 04-08-2004, 02:31 PM   #10
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
what about using the back space to go back in pages?

nice to know mozilla in *nix can work like most browsers. i just end up installing opera ASAP on a fresh install as mozillia had to many functions missing.
 
Old 04-08-2004, 02:32 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I'm sure it is possible. Try adding a new key binding.
 
Old 04-08-2004, 02:57 PM   #12
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
So you would have to edit the comm.jar file with new keybinds?
 
Old 04-08-2004, 03:01 PM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yeah - I just tested it and it seems fine - just add:
<key id="goBackKb" keycode="VK_BACK" command="Browser:Back"/>

To the same file I mentioned before.
 
Old 04-08-2004, 11:16 PM   #14
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Original Poster
Rep: Reputation: 30
What do I use to edit that file?
 
Old 04-09-2004, 09:11 AM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
platformNavigationBindings.xul is just a text file that you can edit with any text editor once it is extracted from the archive.
 
  


Reply



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
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
/usr/lib/mozilla-1.7.11/run-mozilla.sh: line 159: 3492 Segmentation fault behmjoe Linux From Scratch 2 11-28-2005 10:48 AM
Installing Blam: no mozilla found - I'm positive I have Mozilla installed. Strange. cillm527 Linux - Software 2 07-25-2005 04:49 PM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 01:33 AM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration