Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How To: Make Firefox in Linux Look and Act Like Firefox in Windows
New Posts  All Forums:Forum Nav:

How To: Make Firefox in Linux Look and Act Like Firefox in Windows

post #1 of 13
Thread Starter 
Linux Firefox Tweaks
Making Linux Firefox Behave Like Windows Firefox



One thing I do as soon I install a Linux distro is tweak Firefox to act like it does in Windows. This includes fonts, mouse behavior, and program actions. I will base this on Ubuntu so for different distros, tweak as needed. So here goes.


1. Fonts: The fonts that are used in the Linux version of Firefox are not the same as the ones you are used to seeing in the Windows version. This is due to a couple reasons, a big one which is the Windows fonts don't come pre-installed on Linux as they are proprietary. There are lots of methods. I just show two.
Method 1
Either find "msttcorefonts" in the Package Manager or open a terminal and type:
Quote:
sudo apt-get install msttcorefonts
Method 2
First, download the font package here.

Open a console and make a truetype directory in your fonts folder:
Quote:
sudo mkdir /usr/share/fonts/truetype
Unpack the font files to the directory:
Quote:
sudo tar -zxvf msfonts.tar.gz -C /usr/share/fonts/truetype
Download the font configs here.

We now unpack these:
Quote:
sudo tar xvjpf fontconfig.tbz -C /etc/fonts/
And update the Font Cache:
Quote:
sudo fc-cache
Log out and then back in and you should now have the Microsoft fonts installed.

Applying Fonts in Firefox

Now, we enter the Firefox options and go to the Content tab. Here, set the default Font and Size as seen in the screenshot:


Then click the Advanced button and set the fonts as shown in the next screenshot:



Okay, now you have the fonts the same as the Windows version. To me, it feels much cleaner and friendly. On to the next one.

2. Address Bar: In Windows, when you click on the address bar, it immediately selects the entire address so you may begin typing to replace it or copy it. In Linux, a single click in the address bar simply places your cursor in that spot.
To change this, go to the address bar. Type
Quote:
about:config
Say you'll be careful (and be careful, this is like opening the hood on a car). In the Filter bar, type:
Quote:
browser.urlbar.clickselectsall
Double click the only entry that remains to change its value to True. You're done. Now when you click the address bar, it will select the entire address.
3. Middle Mouse Button: When you click the middle mouse button in Windows on a link, it opens that URL in a new tab. In Linux, however, it is sometimes set to open whatever is on your clipboard.
This is an easy fix, however. Just enter:
Quote:
about:config
Say you will be careful (if you didn't uncheck the box last time) and in the Filter bar, type:
Quote:
middlemouse.contentLoadURL
Change this value to False and then type:
Quote:
middlemouse.copennewwindow
Make sure this set to True. That should solve this little annoyance.


So now your Firefox under Linux looks and acts strikingly similar to Firefox in Windows. It has been a little while since I have installed a Linux distro so if I missed something or something doesn't work, let me know so I can fix/add whatever it is. Feel free to leave comments.
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
post #2 of 13
Maybe I'm just not that picky, but I never notice the difference in behavior...
AMD Power
(17 items)
 
Macbook Pro
(13 items)
 
Web Server
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T BE Asus M4A89TD PRO/USB3 ASUS Radeon HD 7870 2GB 8GB (4x2GB) Geil 1066 
Hard DriveHard DriveHard DriveOptical Drive
Seagate 750GM Seagate 160GB Hitachi 1TB Blu-Ray reader / DVD burner 
OSMonitorMonitorMonitor
Windows 8.1 x64 Dell 2208WFP Dell 2209WA Dell 2209WA 
KeyboardPowerCaseMouse
IBM Model F AT Antec Earthwatts 650 NZXT Tempest 410 Elite Black Razer Salmosa 
Mouse Pad
Ripper XXL 
CPUMotherboardGraphicsRAM
Intel i7  Apple Intel HD 3000 / AMD Radeon HD 6750M 16GB (2x4GB) GEIL DDR3-1333 
Hard DriveOptical DriveOSMonitor
500GB Apple Combo Drive OS X 10.9 Mavericks 15" 1680x1050 
PowerCase
Apple power brick Aluminum 
CPUMotherboardGraphicsRAM
Phenom II 940 BE @3.2GHz DFI LanParty 7200GS 8GB DDR2 GSkill 1000 
Hard DriveOSMonitorPower
30 GB SSD (webroot), 80GB (OS) Gentoo amd64 SSH 430 Watt Rosewill 
  hide details  
Reply
AMD Power
(17 items)
 
Macbook Pro
(13 items)
 
Web Server
(13 items)
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T BE Asus M4A89TD PRO/USB3 ASUS Radeon HD 7870 2GB 8GB (4x2GB) Geil 1066 
Hard DriveHard DriveHard DriveOptical Drive
Seagate 750GM Seagate 160GB Hitachi 1TB Blu-Ray reader / DVD burner 
OSMonitorMonitorMonitor
Windows 8.1 x64 Dell 2208WFP Dell 2209WA Dell 2209WA 
KeyboardPowerCaseMouse
IBM Model F AT Antec Earthwatts 650 NZXT Tempest 410 Elite Black Razer Salmosa 
Mouse Pad
Ripper XXL 
CPUMotherboardGraphicsRAM
Intel i7  Apple Intel HD 3000 / AMD Radeon HD 6750M 16GB (2x4GB) GEIL DDR3-1333 
Hard DriveOptical DriveOSMonitor
500GB Apple Combo Drive OS X 10.9 Mavericks 15" 1680x1050 
PowerCase
Apple power brick Aluminum 
CPUMotherboardGraphicsRAM
Phenom II 940 BE @3.2GHz DFI LanParty 7200GS 8GB DDR2 GSkill 1000 
Hard DriveOSMonitorPower
30 GB SSD (webroot), 80GB (OS) Gentoo amd64 SSH 430 Watt Rosewill 
  hide details  
Reply
post #3 of 13
Thread Starter 
Quote:
Originally Posted by timw4mail View Post
Maybe I'm just not that picky, but I never notice the difference in behavior...
Yeah, they are little things but if you use them often and switch back and forth between OS's a lot, it sure helps to have some continuity. I am sure there are more differences, but these are the ones I feel Windows does better.
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
post #4 of 13
the only thing i noticed different in linux ff is the options is under edit instead of tools, its never really bothered me but nice guide though
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
post #5 of 13
I like the tip for selecting the entire URL bar, that always bugged me. Thanks!
Tartarus
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme EVGA GeForce GTX 680 EVGA GeForce GTX 560 
RAMRAMRAMRAM
G. Skill Sniper G. Skill Sniper G. Skill Sniper G. Skill Sniper 
Hard DriveHard DriveOptical DriveCooling
Crucial M4 Western Digital Green LG Blu Ray Burner Cooler Master V8 
OSMonitorKeyboardPower
Windows 7 Ultimate x64 2x Samsung SyncMaster T240HD Logitech G510 Corsair HX850W 
CaseMouseMouse Pad
Thermaltake Level 10 R.A.T. 9 The Big Lebowski's Rug 
  hide details  
Reply
Tartarus
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme EVGA GeForce GTX 680 EVGA GeForce GTX 560 
RAMRAMRAMRAM
G. Skill Sniper G. Skill Sniper G. Skill Sniper G. Skill Sniper 
Hard DriveHard DriveOptical DriveCooling
Crucial M4 Western Digital Green LG Blu Ray Burner Cooler Master V8 
OSMonitorKeyboardPower
Windows 7 Ultimate x64 2x Samsung SyncMaster T240HD Logitech G510 Corsair HX850W 
CaseMouseMouse Pad
Thermaltake Level 10 R.A.T. 9 The Big Lebowski's Rug 
  hide details  
Reply
post #6 of 13
Thread Starter 
Quote:
Originally Posted by Dawlish7 View Post
the only thing i noticed different in linux ff is the options is under edit instead of tools, its never really bothered me but nice guide though
Yeah, that one gets me every time.
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
Gunmetal Tower
(23 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2600K ASUS P8Z68-V GEN3 Asus GTX 580 Patriot G2 DDR3 1866MHz 16GB 
Hard DriveHard DriveOptical DriveCooling
Samsung 830 256GB Western Digital Caviar Black 640GB LG DVD Corsair H80 
OSMonitorMonitorKeyboard
Microsoft Windows 8.1 Professional 64 Bit Dell u2410 Dell 1907FPc  Ducky 9008-G2 Browns and Reds 
PowerCaseMouseMouse Pad
ABS SL1050 1050W Antec P280 Logitech G700 Mionix Propus 380 
AudioAudioAudioAudio
HT | OMEGA Claro Halo Audio Technica ATH-A900X Audio Technica ATH-AD900 M-Audio AV 40 
OtherOtherOther
Logitech USB Desktop Microphone APC Back-UPS XS 1500 Wacom Intuos4 
  hide details  
Reply
post #7 of 13
Personally I prefer the Linux fonts. After looking at both side by side, I'm convinced that the Linux fonts and rendering are just much better. Of course, this depends on which fonts you're using and your Linux distribution.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #8 of 13
Bump. Just used this, and Firefox doesn't hurt my eyes, anymore
post #9 of 13
i did the select all and middle mouse thing immediately, those 2 bugged me so much

didn't find the solution here though..just googled it
post #10 of 13
Reading back through the original post, you've actually hit on two things I hate about Firefox on Windows, and I would like a guide to do exactly the opposite: to make the Windows version of Firefox behave normally.

#1 basically can't be solved easily, since Microsoft's fonts are so horrible.

#2 is ridiculous. I don't WANT the whole address bar selected when I click on it. I'm trying to edit the URL to take out a typo or something! If I wanted to put in a whole new URL I'd just hit Ctrl-L like a normal person.

Now #3 I can't really argue with. I understand why the Linux version does this, but it's way too inconsistent and may as well just not be there.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How To: Make Firefox in Linux Look and Act Like Firefox in Windows