https://wiki.archlinux.org/api.php?action=feedcontributions&user=Csslayer&feedformat=atomArchWiki - User contributions [en]2024-03-28T23:45:51ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Firefox&diff=228807Firefox2012-10-15T01:27:29Z<p>Csslayer: /* The menu cannot pop-up after updating to Firefox 13 */</p>
<hr />
<div>[[cs:Firefox]]<br />
[[es:Firefox]]<br />
[[fr:Firefox]]<br />
[[it:Firefox]]<br />
[[ko:Firefox]]<br />
[[ru:Firefox]]<br />
[[tr:Firefox]]<br />
[[zh-CN:Firefox]]<br />
[[Category:Web Browser]]<br />
{{Article summary start}}<br />
{{Article summary text|Installing and troubleshooting the Firefox browser and plugins}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Browser Plugins}}<br />
{{Article summary wiki|Firefox Tweaks}}<br />
{{Article summary wiki|Chromium}}<br />
{{Article summary wiki|Opera}}<br />
{{Article summary end}}<br />
[http://www.firefox.com Firefox] is a popular open-source graphical web browser from [http://www.mozilla.com Mozilla].<br />
<br />
== Installing ==<br />
Firefox can be [[Pacman|installed]] with the {{Pkg|firefox}} package, available in the [[official repositories]].<br />
<br />
There are a number of language packs available for Firefox, other than the standard English. Language packs are usually named as {{ic|firefox-i18n-languagecode}} (where {{ic|languagecode}} can be any language code, such as '''de''', '''ja''', '''fr''', etc.). For a list of available language packs see [https://www.archlinux.org/packages/?sort=&q=firefox-i18n&maintainer=&last_update=&flagged=&limit=100 this].<br />
<br />
If Firefox does not anti-alias and/or hint your fonts, try to install {{AUR|ttf-win7-fonts}} (preferred) or {{AUR|ttf-ms-fonts}} and take a look at [[Font Configuration]].<br />
<br />
== Add-ons ==<br />
Firefox is well known for its large library of add-ons which can be used to add new features or modify the behavior of existing features of Firefox. You can find new add-ons or manage installed add-ons with Firefox's "Add-ons Manager."<br />
<br />
For a list of popular add-ons, see [https://addons.mozilla.org/en-US/firefox/extensions/?sort=popular Mozilla's add-on list sorted by popularity].<br />
<br />
== Plugins ==<br />
{{Box||See the main article: [[Browser Plugins]]|#E5E5FF|#FCFCFC}}<br />
<br />
To find out what plugins are installed/enabled, enter:<br />
about:plugins<br />
in the Firefox address bar or go to the ''Add-ons'' entry in the Firefox Menu and select the ''Plugins'' tab.<br />
<br />
=== GNOME Keyring integration ===<br />
Install {{AUR|firefox-gnome-keyring}} from the [[AUR]] to integrate Firefox 3.6.x with [[GNOME Keyring]].<br />
<br />
=== KDE integration ===<br />
* To use KDE's KPart technology with Firefox, by embedding different KDE file viewers into the browser, you can install {{Pkg|kpartsplugin}}.<br />
<br />
* To get further integration with KDE's Oxygen theme, you can install [http://kde-look.org/content/show.php/?content=117962 Oxygen KDE], a very comprehensive theme that also has color scheme detection, support for Firefox's Persona themes, support for both the Oxygen and Faenza icons and various other customizations.<br />
<br />
=== Dictionaries for spell checking ===<br />
To enable spell checking for a specific language right click on any text field and check the ''Check Spelling'' box. To select a language for spell checking to you have right click again and select your language from the ''Languages'' sub-menu.<br />
<br />
To get more languages just click ''Add Dictionaries...'' and select the dictionary you want to install from the list.<br />
<br />
Alternatively, you can install the {{Pkg|hunspell}} package, available in the [[official repositories]]. You also need to install dictionaries for your language, such as {{Pkg|hunspell-fr}} (for the French language) or {{Pkg|hunspell-he}} (for Hebrew).<br />
<br />
=== Adding Firefox search engines ===<br />
<br />
Search engines can be added to Firefox through normal add-ons, see [https://addons.mozilla.org/en-US/firefox/search-tools/ this page] for a list of available search engines.<br />
<br />
A very extensive list of search engines can be found [http://mycroft.mozdev.org/ here].<br />
<br />
Also, you can use the [https://firefox.maltekraus.de/extensions/add-to-search-bar add-to-searchbar] extension to add a search to your search bar from any web site, by simply right clicking on the site's search field and selecting ''Add to Search Bar...''<br />
<br />
If you want a manual solution, take a look at {{ic|~/.mozilla/firefox/xxx.default/searchplugins/}} (where xxx is your profile ID).<br />
<br />
==== arch-firefox-search ====<br />
Install the {{Pkg|arch-firefox-search}} package, available in the [[official repositories]], to add Arch-specific searches (AUR, wiki, forum, etc, as specified by user) to the Firefox search toolbar.<br />
<br />
== Firefox derivatives ==<br />
<br />
* {{App|[[Wikipedia:Mozilla Corporation software rebranded by the Debian project#IceWeasel|Iceweasel]]|A fork of Firefox that is being developed by Debian. The main difference is that it does not include any trademarked Mozilla artwork.|http://wiki.debian.org/Iceweasel|{{AUR|iceweasel}}}}<br />
{{Note|For some more information about Iceweasel's existance see [http://web.glandium.org/blog/?p&#61;97 this blog post].}}<br />
* {{App|[[Wikipedia:Gnu IceCat|GNU IceCat]]|A web browser distributed by the GNU Project. It is made entirely of free software and is compatible with the GNU/Linux operating system and almost all of Firefox's addons. |http://www.gnu.org/software/gnuzilla/|{{AUR|icecat}}}}<br />
* {{App|[[Wikipedia:Swiftfox|Swiftfox]]|A web browser based on Firefox but optimized for some newer Intel and AMD processors.|http://www.getswiftfox.com/|{{AUR|swiftfox-athlon64}} {{AUR|swiftfox-prescott}} {{AUR|swiftfox-i686}}}}<br />
* {{App|Firefox KDE|A version of Firefox that incorporates an OpenSUSE patch for better KDE integration than is possible through simple Firefox plugins.|http://gitorious.org/firefox-kde-opensuse|{{AUR|firefox-kde-opensuse}}}}<br />
<br />
== Troubleshooting ==<br />
<br />
=== Setting your e-mail client ===<br />
Firefox is usually set to open {{ic|mailto}} links with a web application such as Gmail or Yahoo Mail. To set your e-mail client in Firefox to use with {{ic|mailto}} links, go to ''Preferences > Applications'' and modify the ''action'' column corresponding to the {{ic|mailto}} content type. You have set this to the exact location of your e-mail client (e.g. {{ic|/usr/bin/kmail}} for Kmail).<br />
<br />
=== Firefox 4 New Menu Bar/Firefox Button ===<br />
To toggle between the new Firefox button and the classic menu bar:<br />
* if the button is active, check ''Preferences > Menu Bar'', or right click in the toolbar area and check ''Menu Bar''.<br />
* if the menu bar is active, uncheck ''View > Toolbars > Menu Bar'', or right click in the toolbar area and uncheck ''Menu Bar''.<br />
<br />
In GNU/Linux, you will just get a plain grey button instead of the new orange one from Windows. However you can change this to either a Firefox icon or the icon followed by the "Firefox" text.<br />
<br />
Adding the following to your {{ic|~/.mozilla/firefox/userprofile/chrome/userChrome.css}} file will place the icon before the text:<br />
{{bc|<br />
#appmenu-toolbar-button {<br />
list-style-image: url("chrome://branding/content/icon16.png");<br />
}<br />
}}<br />
<br />
Adding the following to the same file will ''remove'' the "Firefox" text:<br />
{{bc|<br />
#appmenu-toolbar-button > .toolbarbutton-text,<br />
#appmenu-toolbar-button > .toolbarbutton-menu-dropmarker {<br />
display: none !important;<br />
}<br />
}}<br />
<br />
{{Note|You need to create both the {{ic|chrome}} directory and {{ic|userChrome.css}}, if they do not already exist.}}<br />
<br />
=== Open containing folder problems (KDE) ===<br />
If Firefox launches something other than your preferred file manager when using the "Open Containing Folder" option in the Downloads manager, make sure you select your file manager of choice (e.g. [[Dolphin]]) in KDE's System Settings under ''Workspace Appearance and Behavior > Default Applications > File Manager''.<br />
<br />
If Firefox is still not opening your file manager of choice, modify your user's {{ic|~/.local/share/applications/defaults.list}} to include these two lines:<br />
x-directory/normal=kde4-dolphin.desktop;kde4-kfmclient_dir.desktop;<br />
inode/directory=kde4-dolphin.desktop;kde4-kfmclient_dir.desktop;kde4-gwenview.desktop;kde4-filelight.desktop;kde4-cervisia.desktop;<br />
<br />
=== Firefox keeps creating ~/Desktop even when this is not desired ===<br />
Firefox uses {{ic|~/Desktop}} as the default place for download and upload files. To set it to another folder, create {{ic|~/.config/user-dirs.dirs}} and add:<br />
XDG_DESKTOP_DIR="/home/<user>/"<br />
XDG_DOWNLOAD_DIR="/home/<user>/<dir>"<br />
XDG_TEMPLATES_DIR="/home/<user>/<dir>"<br />
XDG_PUBLICSHARE_DIR="/home/<user>/<dir>"<br />
XDG_DOCUMENTS_DIR="/home/<user>/<dir>"<br />
XDG_MUSIC_DIR="/home/<user>/<dir>"<br />
XDG_PICTURES_DIR="/home/<user>/<dir>"<br />
XDG_VIDEOS_DIR="/home/<user>/<dir>"<br />
Change {{ic|<user>}} and {{ic|<dir>}} to the actual directory.<br />
<br />
=== Make plugins respect blocked pop-ups ===<br />
Some plugins can misbehave and bypass the default settings, such as the Flash plugin. You can prevent this by doing the following:<br />
<br />
# Type {{ic|about:config}} into the address bar.<br />
# Right-click on the page and select {{ic|New}} and then {{ic|Integer}}.<br />
# Name it {{ic|privacy.popups.disable_from_plugins}}.<br />
# Set the value to 2.<br />
<br />
The possible values are:<br />
* '''0''': Allow all popups from plugins.<br />
* '''1''': Allow popups, but limit them to dom.popup_maximum.<br />
* '''2''': Block popups from plugins.<br />
* '''3''': Block popups from plugins, even on whitelisted sites.<br />
<br />
=== Middle-click errors ===<br />
A common error message you can get while using the middle mouse button in Firefox is:<br />
The URL is not valid and cannot be loaded.<br />
<br />
Another symptom is that middle-clicking results in unexpected behavior, like accessing a random web page.<br />
<br />
The reason stems from the use of the middle mouse buttons in UNIX-like operating systems. The middle mouse button is used to paste whatever text has been highlighted/added to the clipboard. Then there is the possibly conflicting feature in Firefox, which defaults to loading the URL of the corresponding text when the button is depressed. This can be easily disabled by going to {{ic|about:config}} and setting the {{ic|middlemouse.contentLoadURL}} option to '''false'''.<br />
<br />
Alternatively, having the traditional scroll cursor on middle-click (default behavior on Windows browsers) can be achieved by searching for {{ic|general.autoScroll}} and setting it to '''true'''.<br />
<br />
=== Backspace does not work as the 'Back' button ===<br />
As per [http://ubuntu.wordpress.com/2006/12/21/fix-firefox-backspace-to-take-you-to-the-previous-page/ this article], the feature has been removed in order to fix a bug. To re-introduce the original behavior go to {{ic|about:config}} and set the {{ic|browser.backspace_action}} option to '''0''' (zero).<br />
<br />
=== Firefox does not remember login information ===<br />
It may be due to a corrupted {{ic|cookies.sqlite}} file in [http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile Firefox's profile] folder. In order to fix this, just rename or remove {{ic|cookie.sqlite}} while Firefox is not running.<br />
<br />
Open a terminal of choice and type the following:<br />
$ cd ~/.mozilla/firefox/xxxxxxxx.default/<br />
$ rm -f cookies.sqlite<br />
{{Note|xxxxxxxx represents a random string of 8 characters.}}<br />
<br />
Restart Firefox and see if it solved the problem.<br />
<br />
=== Unreadable input fields with dark GTK+ themes ===<br />
When using a dark [[GTK+]] theme, one might encounter Internet pages with unreadable input and text fields (e.g. Amazon can have white text on white background). This can happen because the site only sets either background or text color, and Firefox takes the other one from the theme.<br />
<br />
A work around is to explicitly setting standard colors for all web pages in {{ic|~/.mozilla/firefox/xxxxxxxx.default/chrome/userContent.css}}.<br />
<br />
The following sets input fields to standard black text / white background; both can be overridden by the displayed site, so that colors are seen as intended:<br />
{{bc|<br />
input {<br />
-moz-appearance: none !important;<br />
background-color: white;<br />
color: black;<br />
}<br />
<br />
textarea {<br />
-moz-appearance: none !important;<br />
background-color: white;<br />
color: black;<br />
}<br />
}}<br />
<br />
This will force the colors ("Allow pages to choose their own colors..." checkbox in the ''Preferences > Content > Color'' dialog):<br />
{{bc|<br />
input {<br />
-moz-appearance: none !important;<br />
background-color: pink !important;<br />
color: green !important;<br />
}<br />
<br />
textarea {<br />
-moz-appearance: none !important;<br />
background-color: pink !important;<br />
color: green !important;<br />
}<br />
}}<br />
Change color values to suit, or use an add-on like [https://addons.mozilla.org/en-US/firefox/addon/2108 Stylish].<br />
<br />
=== File association problems ===<br />
For non-[[GNOME]] users, Firefox may not associate file types properly or at all (in the "Open With" part of the download dialog). Installing {{Pkg|libgnome}} from the [[official repositories]] amends the problem.<br />
<br />
If you are using [[KDE]] you can also do the following:<br />
ln -s ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeinfo.cache<br />
From now on Firefox should use the applications which are explicitly set in KDE.<br />
<br />
=== "I'm Feeling Lucky" Mode ===<br />
Some search engines have a feeling lucky feature. For example Google has "I'm Feeling Lucky" and DuckDuckGo has "I'm Feeling Ducky".<br />
<br />
To activate them:<br />
# Type {{ic|about:config}} in the address bar.<br />
# Search for the string {{ic|keyword.url}}.<br />
# Modify its value (if any) to the URL of the search engine. <br />
<br />
For Google, set it to:<br />
{{bc|<nowiki>http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=</nowiki>}}<br />
For DuckDuckGo, set it to:<br />
{{bc|<nowiki>https://duckduckgo.com/?q=\</nowiki>}}<br />
<br />
=== "Do you want Firefox to save your tabs for the next time it starts?" dialog does not appear ===<br />
From the [http://support.mozilla.com/en-US/questions/767751 Mozilla Support] site:<br />
<br />
# Type {{ic|about:config}} in the address bar.<br />
# Set {{ic|browser.warnOnQuit}} to '''true'''.<br />
# Set {{ic|browser.showQuitWarning}} to '''true'''.<br />
<br />
=== Firefox has high CPU usage and feels slow on scrolling with NVIDIA GPUs ===<br />
<br />
In some cases, forcing the proprietary NVIDIA driver to store pixmaps in video memory instead of system memory can yield massive improvements in the perceived performance of pixmap-intensive applications like Firefox. Run<br />
<br />
$ nvidia-settings -a InitialPixmapPlacement=2<br />
<br />
from the terminal; if the desired results are achieved add this line to a script and use your desktop environment's autorun facilities to execute it on every startup. Alternatively, add the parameter to your {{ic|~/.nvidia-settings-rc}} and run<br />
<br />
$ nvidia-settings --load-config-only<br />
<br />
on startup. This setting is documented in [http://cgit.freedesktop.org/~aplattner/nvidia-settings/tree/src/libXNVCtrl/NVCtrl.h?id=b27db3d10d58b821e87fbe3f46166e02dc589855#n2797 nvidia-settings source code]. For other performance-improving settings see [[NVIDIA]].<br />
<br />
=== Firefox uses ugly fonts for its interface ===<br />
<br />
If the fonts in the menu bar look ugly to you, chances are you're missing better looking fonts for Firefox to use. As a quick remedy, just install Type 1 fonts from the {{Pkg|xorg-fonts-type1}} package, available in the official repositories.<br />
<br />
=== Firefox uses ugly fonts on certain webpages ===<br />
<br />
When Firefox uses bitmap fonts, it can happen that on certain webpages the fonts are very ugly (compared to Google Chrome for example):<br />
<br />
http://i.imgur.com/SMVdi.png vs http://i.imgur.com/jNmxU.png<br />
<br />
To fix that, just disable bitmap fonts for X:<br />
$ sudo ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/<br />
<br />
=== The menu cannot pop-up after updating to Firefox 13 ===<br />
[https://bugzilla.mozilla.org/show_bug.cgi?id=787943 Related bug], this may affect any user that set<br />
<br />
GTK_IM_MODULE=xim<br />
<br />
Especially for those who're using [[Fcitx]] since 4.0.x (At that time fcitx only support xim). You need not to and should not use xim if your input method support im module, for fcitx case, you can set<br />
<br />
GTK_IM_MODULE=fcitx<br />
<br />
after installing {{Pkg|fcitx-gtk2}}, {{Pkg|fcitx-gtk3}}. Further setup details you can check [[Fcitx]].<br />
<br />
== See also ==<br />
* [http://www.mozilla.org/firefox/ Official Website]<br />
* [http://www.mozilla.org/ Mozilla Foundation]<br />
* [https://wiki.mozilla.org/Firefox Firefox Wiki]<br />
* [https://addons.mozilla.org/ Firefox Add-ons]<br />
* [http://www.getpersonas.com/ Firefox Persona Themes]</div>Csslayerhttps://wiki.archlinux.org/index.php?title=Firefox&diff=228806Firefox2012-10-15T01:26:50Z<p>Csslayer: </p>
<hr />
<div>[[cs:Firefox]]<br />
[[es:Firefox]]<br />
[[fr:Firefox]]<br />
[[it:Firefox]]<br />
[[ko:Firefox]]<br />
[[ru:Firefox]]<br />
[[tr:Firefox]]<br />
[[zh-CN:Firefox]]<br />
[[Category:Web Browser]]<br />
{{Article summary start}}<br />
{{Article summary text|Installing and troubleshooting the Firefox browser and plugins}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Browser Plugins}}<br />
{{Article summary wiki|Firefox Tweaks}}<br />
{{Article summary wiki|Chromium}}<br />
{{Article summary wiki|Opera}}<br />
{{Article summary end}}<br />
[http://www.firefox.com Firefox] is a popular open-source graphical web browser from [http://www.mozilla.com Mozilla].<br />
<br />
== Installing ==<br />
Firefox can be [[Pacman|installed]] with the {{Pkg|firefox}} package, available in the [[official repositories]].<br />
<br />
There are a number of language packs available for Firefox, other than the standard English. Language packs are usually named as {{ic|firefox-i18n-languagecode}} (where {{ic|languagecode}} can be any language code, such as '''de''', '''ja''', '''fr''', etc.). For a list of available language packs see [https://www.archlinux.org/packages/?sort=&q=firefox-i18n&maintainer=&last_update=&flagged=&limit=100 this].<br />
<br />
If Firefox does not anti-alias and/or hint your fonts, try to install {{AUR|ttf-win7-fonts}} (preferred) or {{AUR|ttf-ms-fonts}} and take a look at [[Font Configuration]].<br />
<br />
== Add-ons ==<br />
Firefox is well known for its large library of add-ons which can be used to add new features or modify the behavior of existing features of Firefox. You can find new add-ons or manage installed add-ons with Firefox's "Add-ons Manager."<br />
<br />
For a list of popular add-ons, see [https://addons.mozilla.org/en-US/firefox/extensions/?sort=popular Mozilla's add-on list sorted by popularity].<br />
<br />
== Plugins ==<br />
{{Box||See the main article: [[Browser Plugins]]|#E5E5FF|#FCFCFC}}<br />
<br />
To find out what plugins are installed/enabled, enter:<br />
about:plugins<br />
in the Firefox address bar or go to the ''Add-ons'' entry in the Firefox Menu and select the ''Plugins'' tab.<br />
<br />
=== GNOME Keyring integration ===<br />
Install {{AUR|firefox-gnome-keyring}} from the [[AUR]] to integrate Firefox 3.6.x with [[GNOME Keyring]].<br />
<br />
=== KDE integration ===<br />
* To use KDE's KPart technology with Firefox, by embedding different KDE file viewers into the browser, you can install {{Pkg|kpartsplugin}}.<br />
<br />
* To get further integration with KDE's Oxygen theme, you can install [http://kde-look.org/content/show.php/?content=117962 Oxygen KDE], a very comprehensive theme that also has color scheme detection, support for Firefox's Persona themes, support for both the Oxygen and Faenza icons and various other customizations.<br />
<br />
=== Dictionaries for spell checking ===<br />
To enable spell checking for a specific language right click on any text field and check the ''Check Spelling'' box. To select a language for spell checking to you have right click again and select your language from the ''Languages'' sub-menu.<br />
<br />
To get more languages just click ''Add Dictionaries...'' and select the dictionary you want to install from the list.<br />
<br />
Alternatively, you can install the {{Pkg|hunspell}} package, available in the [[official repositories]]. You also need to install dictionaries for your language, such as {{Pkg|hunspell-fr}} (for the French language) or {{Pkg|hunspell-he}} (for Hebrew).<br />
<br />
=== Adding Firefox search engines ===<br />
<br />
Search engines can be added to Firefox through normal add-ons, see [https://addons.mozilla.org/en-US/firefox/search-tools/ this page] for a list of available search engines.<br />
<br />
A very extensive list of search engines can be found [http://mycroft.mozdev.org/ here].<br />
<br />
Also, you can use the [https://firefox.maltekraus.de/extensions/add-to-search-bar add-to-searchbar] extension to add a search to your search bar from any web site, by simply right clicking on the site's search field and selecting ''Add to Search Bar...''<br />
<br />
If you want a manual solution, take a look at {{ic|~/.mozilla/firefox/xxx.default/searchplugins/}} (where xxx is your profile ID).<br />
<br />
==== arch-firefox-search ====<br />
Install the {{Pkg|arch-firefox-search}} package, available in the [[official repositories]], to add Arch-specific searches (AUR, wiki, forum, etc, as specified by user) to the Firefox search toolbar.<br />
<br />
== Firefox derivatives ==<br />
<br />
* {{App|[[Wikipedia:Mozilla Corporation software rebranded by the Debian project#IceWeasel|Iceweasel]]|A fork of Firefox that is being developed by Debian. The main difference is that it does not include any trademarked Mozilla artwork.|http://wiki.debian.org/Iceweasel|{{AUR|iceweasel}}}}<br />
{{Note|For some more information about Iceweasel's existance see [http://web.glandium.org/blog/?p&#61;97 this blog post].}}<br />
* {{App|[[Wikipedia:Gnu IceCat|GNU IceCat]]|A web browser distributed by the GNU Project. It is made entirely of free software and is compatible with the GNU/Linux operating system and almost all of Firefox's addons. |http://www.gnu.org/software/gnuzilla/|{{AUR|icecat}}}}<br />
* {{App|[[Wikipedia:Swiftfox|Swiftfox]]|A web browser based on Firefox but optimized for some newer Intel and AMD processors.|http://www.getswiftfox.com/|{{AUR|swiftfox-athlon64}} {{AUR|swiftfox-prescott}} {{AUR|swiftfox-i686}}}}<br />
* {{App|Firefox KDE|A version of Firefox that incorporates an OpenSUSE patch for better KDE integration than is possible through simple Firefox plugins.|http://gitorious.org/firefox-kde-opensuse|{{AUR|firefox-kde-opensuse}}}}<br />
<br />
== Troubleshooting ==<br />
<br />
=== Setting your e-mail client ===<br />
Firefox is usually set to open {{ic|mailto}} links with a web application such as Gmail or Yahoo Mail. To set your e-mail client in Firefox to use with {{ic|mailto}} links, go to ''Preferences > Applications'' and modify the ''action'' column corresponding to the {{ic|mailto}} content type. You have set this to the exact location of your e-mail client (e.g. {{ic|/usr/bin/kmail}} for Kmail).<br />
<br />
=== Firefox 4 New Menu Bar/Firefox Button ===<br />
To toggle between the new Firefox button and the classic menu bar:<br />
* if the button is active, check ''Preferences > Menu Bar'', or right click in the toolbar area and check ''Menu Bar''.<br />
* if the menu bar is active, uncheck ''View > Toolbars > Menu Bar'', or right click in the toolbar area and uncheck ''Menu Bar''.<br />
<br />
In GNU/Linux, you will just get a plain grey button instead of the new orange one from Windows. However you can change this to either a Firefox icon or the icon followed by the "Firefox" text.<br />
<br />
Adding the following to your {{ic|~/.mozilla/firefox/userprofile/chrome/userChrome.css}} file will place the icon before the text:<br />
{{bc|<br />
#appmenu-toolbar-button {<br />
list-style-image: url("chrome://branding/content/icon16.png");<br />
}<br />
}}<br />
<br />
Adding the following to the same file will ''remove'' the "Firefox" text:<br />
{{bc|<br />
#appmenu-toolbar-button > .toolbarbutton-text,<br />
#appmenu-toolbar-button > .toolbarbutton-menu-dropmarker {<br />
display: none !important;<br />
}<br />
}}<br />
<br />
{{Note|You need to create both the {{ic|chrome}} directory and {{ic|userChrome.css}}, if they do not already exist.}}<br />
<br />
=== Open containing folder problems (KDE) ===<br />
If Firefox launches something other than your preferred file manager when using the "Open Containing Folder" option in the Downloads manager, make sure you select your file manager of choice (e.g. [[Dolphin]]) in KDE's System Settings under ''Workspace Appearance and Behavior > Default Applications > File Manager''.<br />
<br />
If Firefox is still not opening your file manager of choice, modify your user's {{ic|~/.local/share/applications/defaults.list}} to include these two lines:<br />
x-directory/normal=kde4-dolphin.desktop;kde4-kfmclient_dir.desktop;<br />
inode/directory=kde4-dolphin.desktop;kde4-kfmclient_dir.desktop;kde4-gwenview.desktop;kde4-filelight.desktop;kde4-cervisia.desktop;<br />
<br />
=== Firefox keeps creating ~/Desktop even when this is not desired ===<br />
Firefox uses {{ic|~/Desktop}} as the default place for download and upload files. To set it to another folder, create {{ic|~/.config/user-dirs.dirs}} and add:<br />
XDG_DESKTOP_DIR="/home/<user>/"<br />
XDG_DOWNLOAD_DIR="/home/<user>/<dir>"<br />
XDG_TEMPLATES_DIR="/home/<user>/<dir>"<br />
XDG_PUBLICSHARE_DIR="/home/<user>/<dir>"<br />
XDG_DOCUMENTS_DIR="/home/<user>/<dir>"<br />
XDG_MUSIC_DIR="/home/<user>/<dir>"<br />
XDG_PICTURES_DIR="/home/<user>/<dir>"<br />
XDG_VIDEOS_DIR="/home/<user>/<dir>"<br />
Change {{ic|<user>}} and {{ic|<dir>}} to the actual directory.<br />
<br />
=== Make plugins respect blocked pop-ups ===<br />
Some plugins can misbehave and bypass the default settings, such as the Flash plugin. You can prevent this by doing the following:<br />
<br />
# Type {{ic|about:config}} into the address bar.<br />
# Right-click on the page and select {{ic|New}} and then {{ic|Integer}}.<br />
# Name it {{ic|privacy.popups.disable_from_plugins}}.<br />
# Set the value to 2.<br />
<br />
The possible values are:<br />
* '''0''': Allow all popups from plugins.<br />
* '''1''': Allow popups, but limit them to dom.popup_maximum.<br />
* '''2''': Block popups from plugins.<br />
* '''3''': Block popups from plugins, even on whitelisted sites.<br />
<br />
=== Middle-click errors ===<br />
A common error message you can get while using the middle mouse button in Firefox is:<br />
The URL is not valid and cannot be loaded.<br />
<br />
Another symptom is that middle-clicking results in unexpected behavior, like accessing a random web page.<br />
<br />
The reason stems from the use of the middle mouse buttons in UNIX-like operating systems. The middle mouse button is used to paste whatever text has been highlighted/added to the clipboard. Then there is the possibly conflicting feature in Firefox, which defaults to loading the URL of the corresponding text when the button is depressed. This can be easily disabled by going to {{ic|about:config}} and setting the {{ic|middlemouse.contentLoadURL}} option to '''false'''.<br />
<br />
Alternatively, having the traditional scroll cursor on middle-click (default behavior on Windows browsers) can be achieved by searching for {{ic|general.autoScroll}} and setting it to '''true'''.<br />
<br />
=== Backspace does not work as the 'Back' button ===<br />
As per [http://ubuntu.wordpress.com/2006/12/21/fix-firefox-backspace-to-take-you-to-the-previous-page/ this article], the feature has been removed in order to fix a bug. To re-introduce the original behavior go to {{ic|about:config}} and set the {{ic|browser.backspace_action}} option to '''0''' (zero).<br />
<br />
=== Firefox does not remember login information ===<br />
It may be due to a corrupted {{ic|cookies.sqlite}} file in [http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile Firefox's profile] folder. In order to fix this, just rename or remove {{ic|cookie.sqlite}} while Firefox is not running.<br />
<br />
Open a terminal of choice and type the following:<br />
$ cd ~/.mozilla/firefox/xxxxxxxx.default/<br />
$ rm -f cookies.sqlite<br />
{{Note|xxxxxxxx represents a random string of 8 characters.}}<br />
<br />
Restart Firefox and see if it solved the problem.<br />
<br />
=== Unreadable input fields with dark GTK+ themes ===<br />
When using a dark [[GTK+]] theme, one might encounter Internet pages with unreadable input and text fields (e.g. Amazon can have white text on white background). This can happen because the site only sets either background or text color, and Firefox takes the other one from the theme.<br />
<br />
A work around is to explicitly setting standard colors for all web pages in {{ic|~/.mozilla/firefox/xxxxxxxx.default/chrome/userContent.css}}.<br />
<br />
The following sets input fields to standard black text / white background; both can be overridden by the displayed site, so that colors are seen as intended:<br />
{{bc|<br />
input {<br />
-moz-appearance: none !important;<br />
background-color: white;<br />
color: black;<br />
}<br />
<br />
textarea {<br />
-moz-appearance: none !important;<br />
background-color: white;<br />
color: black;<br />
}<br />
}}<br />
<br />
This will force the colors ("Allow pages to choose their own colors..." checkbox in the ''Preferences > Content > Color'' dialog):<br />
{{bc|<br />
input {<br />
-moz-appearance: none !important;<br />
background-color: pink !important;<br />
color: green !important;<br />
}<br />
<br />
textarea {<br />
-moz-appearance: none !important;<br />
background-color: pink !important;<br />
color: green !important;<br />
}<br />
}}<br />
Change color values to suit, or use an add-on like [https://addons.mozilla.org/en-US/firefox/addon/2108 Stylish].<br />
<br />
=== File association problems ===<br />
For non-[[GNOME]] users, Firefox may not associate file types properly or at all (in the "Open With" part of the download dialog). Installing {{Pkg|libgnome}} from the [[official repositories]] amends the problem.<br />
<br />
If you are using [[KDE]] you can also do the following:<br />
ln -s ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeinfo.cache<br />
From now on Firefox should use the applications which are explicitly set in KDE.<br />
<br />
=== "I'm Feeling Lucky" Mode ===<br />
Some search engines have a feeling lucky feature. For example Google has "I'm Feeling Lucky" and DuckDuckGo has "I'm Feeling Ducky".<br />
<br />
To activate them:<br />
# Type {{ic|about:config}} in the address bar.<br />
# Search for the string {{ic|keyword.url}}.<br />
# Modify its value (if any) to the URL of the search engine. <br />
<br />
For Google, set it to:<br />
{{bc|<nowiki>http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=</nowiki>}}<br />
For DuckDuckGo, set it to:<br />
{{bc|<nowiki>https://duckduckgo.com/?q=\</nowiki>}}<br />
<br />
=== "Do you want Firefox to save your tabs for the next time it starts?" dialog does not appear ===<br />
From the [http://support.mozilla.com/en-US/questions/767751 Mozilla Support] site:<br />
<br />
# Type {{ic|about:config}} in the address bar.<br />
# Set {{ic|browser.warnOnQuit}} to '''true'''.<br />
# Set {{ic|browser.showQuitWarning}} to '''true'''.<br />
<br />
=== Firefox has high CPU usage and feels slow on scrolling with NVIDIA GPUs ===<br />
<br />
In some cases, forcing the proprietary NVIDIA driver to store pixmaps in video memory instead of system memory can yield massive improvements in the perceived performance of pixmap-intensive applications like Firefox. Run<br />
<br />
$ nvidia-settings -a InitialPixmapPlacement=2<br />
<br />
from the terminal; if the desired results are achieved add this line to a script and use your desktop environment's autorun facilities to execute it on every startup. Alternatively, add the parameter to your {{ic|~/.nvidia-settings-rc}} and run<br />
<br />
$ nvidia-settings --load-config-only<br />
<br />
on startup. This setting is documented in [http://cgit.freedesktop.org/~aplattner/nvidia-settings/tree/src/libXNVCtrl/NVCtrl.h?id=b27db3d10d58b821e87fbe3f46166e02dc589855#n2797 nvidia-settings source code]. For other performance-improving settings see [[NVIDIA]].<br />
<br />
=== Firefox uses ugly fonts for its interface ===<br />
<br />
If the fonts in the menu bar look ugly to you, chances are you're missing better looking fonts for Firefox to use. As a quick remedy, just install Type 1 fonts from the {{Pkg|xorg-fonts-type1}} package, available in the official repositories.<br />
<br />
=== Firefox uses ugly fonts on certain webpages ===<br />
<br />
When Firefox uses bitmap fonts, it can happen that on certain webpages the fonts are very ugly (compared to Google Chrome for example):<br />
<br />
http://i.imgur.com/SMVdi.png vs http://i.imgur.com/jNmxU.png<br />
<br />
To fix that, just disable bitmap fonts for X:<br />
$ sudo ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/<br />
<br />
=== The menu cannot pop-up after updating to Firefox 13 ===<br />
[https://bugzilla.mozilla.org/show_bug.cgi?id=787943 Related bug], this may affect any user that set<br />
<br />
GTK_IM_MODULE=xim<br />
<br />
Especially for those who're using [[Fcitx]] since 4.0.x (At that time fcitx only support xim). You need not and should not use xim if your input method support im module, for fcitx case, you can set<br />
<br />
GTK_IM_MODULE=fcitx<br />
<br />
after installing {{Pkg|fcitx-gtk2}}, {{Pkg|fcitx-gtk3}}. Further setup details you can check [[Fcitx]].<br />
<br />
== See also ==<br />
* [http://www.mozilla.org/firefox/ Official Website]<br />
* [http://www.mozilla.org/ Mozilla Foundation]<br />
* [https://wiki.mozilla.org/Firefox Firefox Wiki]<br />
* [https://addons.mozilla.org/ Firefox Add-ons]<br />
* [http://www.getpersonas.com/ Firefox Persona Themes]</div>Csslayerhttps://wiki.archlinux.org/index.php?title=Fcitx&diff=179908Fcitx2012-01-23T20:06:27Z<p>Csslayer: </p>
<hr />
<div>[[Category: Internationalization (English)]]<br />
{{i18n|Fcitx}}<br />
[http://code.google.com/p/fcitx/ FCITX] ('''F'''ree '''C'''hinese '''I'''nput '''T'''oy of '''X''') is a collection of Simplified Chinese input methods for Linux.<br />
<br />
==Installation==<br />
{{Package Official|fcitx}} can be installed with [[Pacman]] from the [extra] repository.<br />
<br />
==Using FCITX to input Chinese==<br />
Before you can make use of FCITX for input, you have to setup some environment variables. It is quite simple.<br />
*Open the {{filename|.xprofile}} or (.profile?) file in your home directory and add following lines:<br />
#setup XIM environment<br />
export GTK_IM_MODULE=xim<br />
export QT_IM_MODULE=xim<br />
export XMODIFIERS="@im=fcitx"<br />
<br />
Since 4.1.0, Fcitx provides it's own input method module, {{Package Official|fcitx-gtk2}}, {{Package Official|fcitx-gtk3}}, and {{Package Official|fcitx-qt}}. It's recommend to use input method module instead of xim directly, in order to resolve strange bugs brings XIM.<br />
<br />
You can set corresponding environment variables<br />
export GTK_IM_MODULE=fcitx<br />
export QT_IM_MODULE=fcitx<br />
<br />
In order to use Fcitx input methdo module, you also need [[DBus]] startup correctly.<br />
<br />
*Re-login to make such environment effective. <br />
<br />
After you re-login, open your favorite terminal, type:<br />
<br />
fcitx &<br />
<br />
To see if fcitx is working correctly, open an application such as leafpad and press CTRL+Space to invoke FCITX and input some words.<br />
<br />
If everything goes well, you may want to start FCITX automatically whenever you start X.<br />
<br />
Open the {{filename|.xinitrc}} file (see [[xinitrc]]) in your home directory, add line before starting your WM:<br />
<br />
killall fcitx<br />
fcitx &<br />
<br />
That is it.<br />
<br />
If you use any type of XDM (gdm for example), you should set up such environment in {{filename|~/.profile}} instead of above two files.<br />
<br />
Enjoy!<br />
<br />
==Autostart with desktop==<br />
===XDG compatible environment===<br />
You can copy /usr/share/applications/fcitx.desktop to ~/.config/autostart/, under [[KDE]], [[GNOME]], [[XFCE]], , [[LXDE]], or any other XDG compatible environment.<br />
<br />
===startx===<br />
You can put fcitx inside your {{filename|.xinitrc}}, and set corresponding environment variable mentioned above in ~/.xinitrc.<br />
<br />
If you want use input method module, make sure dbus is started before you start everything, if you are not sure, add<br />
eval `dbus-launch --sh-syntax --exit-with-session`<br />
<br />
to the head of {{filename|.xinitrc}}.<br />
<br />
==Troubleshooting==<br />
===CTRL+Space does not work===<br />
If you cannot invoke FCITX by pressing the CTRL+Space keyboard combination, but FCITX runs in background without problem, please check your [[locale]], and make sure your locale is un-commented in /etc/locale.gen.<br />
<br />
=See also=<br />
* [http://fcitx.github.com/handbook/ User Handbook (Chinese)]</div>Csslayer