Difference between revisions of "Java, Flash, and Fonts/10.1"

From PC-BSD Wiki
Jump to: navigation, search
(Marked this version for translation)
Line 56: Line 56:
  
 
<!--T:13-->
 
<!--T:13-->
{{note|icon32=many fonts are available from {{local|link=AppCafe®}}. To search for these fonts, first check “Raw Packages” in the “Browser View” manu. Any font installed using AppCafe® should not require any additional configuration to "just work".}}   
+
{{note|icon32=many fonts are available from {{local|link=AppCafe®}}. To search for these fonts, first check “Raw Packages” in the “Browser View” menu. Any font installed using AppCafe® should not require any additional configuration to "just work".}}   
  
 
<!--T:28-->
 
<!--T:28-->

Revision as of 16:40, 17 June 2014


Contents


This section demonstrates how to install and configure Java, Flash, and fonts to improve your desktop experience.

Java

The OpenJDK PBI provides an open source implementation of the Java Platform. It includes the IcedTea Java browser plugin which automatically works with the FireFox, Chromium, and Opera web browsers without any additional configuration. To install this PBI, search for "jdk" within AppCafe®.

Adobe Flash

PC-BSD® installs and configures the Adobe Flash player (version 11) plugin for you.
Adobe Flash icon
This means that flash should "just work" when browsing the web. You will find several web browsers in the Web Browsers category of AppCafe®, including Firefox, Opera, and Chromium.

If Adobe Flash does not seem to be working, invoking the following command from an xterm as your regular user account should fix the problem:

flashpluginctl on

The "Adobe Flash Player preferences" icon in Control Panel can be used to modify how websites interact with your browser using Adobe Flash. Many of the same configurations can be done via right-click within an active flash object in a web browser.

To access the utility shown in Figure 9.1a, use Control Panel → Adobe Flash Player preferences or open an xterm and type flash-player-properties.

Figure 9.1a: Flash Player Configuration Utility

The options available in each tab and when to use them are described at the Adobe website:

  • Storage:[1] describes private browsing support and the privacy issues associated with local storage of flash information.
  • Camera and Mic:[2] controls how websites can use your computer’s camera and microphone.
  • Playback:[3] describes how to configure peer-assisted networking to improve bandwidth.
  • Advanced:[4] controls how Flash Player handles browsing data, updates, trusted locations, and protected content.

Installing Custom Fonts

PC-BSD® installs Microsoft TrueType fonts for you which includes the Times New Roman, Courier New, Georgia, Trebuchet MS, Comic Sans MS Arial, Arial Black, Verdana, Andale Mono, and Impact fonts.

If you have a collection of fonts that you have downloaded or purchased, you can configure your PC-BSD® system to also use these fonts. Which utility you use depends upon which window manager you have logged into.
Figure 9.1b: Using KDE's Font Installer to Install Custom Fonts
NOTE: Many fonts are available from AppCafe®. To search for these fonts, first check “Raw Packages” in the “Browser View” menu. Any font installed using AppCafe® should not require any additional configuration to "just work".

The rest of this section demonstrates how to install fonts that you have downloaded manually or purchased from the Internet.

Using KDE

To install custom fonts within KDE, go to System Settings → Font Management. In Figure 9.1b, "All Fonts" is currently selected under the "Group" column, showing all of the fonts installed on this system.

To install your fonts, highlight "Personal Fonts" under the "Group" column, then click the "+Add" button. This will allow you to browse to the font you wish to add. You can add multiple fonts in the same directory by holding down the Ctrl key while making your selection. Click the "Open" button, which will install the font for you. When it is finished, a pop-up message will indicate that you will need to restart any open applications for the font change to take affect. Your newly installed font(s) should now show up in the "Personal Fonts" section in the "Group" column and be available to the applications you use.

Using GNOME

To install custom fonts within GNOME, go to Activities → Files. Navigate to the location of the font that you would like to install and either double-click the font name or select "Font Viewer" from the icon's right-click menu. This will open the font in "Font Viewer", allowing you to view it. If you like the font, click the "Install Font" button to make it available to your applications. In the example shown in Figure 9.1c, the user is installing the BlackFlag font.

Figure 9.1c: Using Files to Install a Custom Font

Using XFCE

To install custom fonts within XFCE, use Applications → System → Thunar File Manager. Once you browse to the location of the font and double- or right-click it, you will see the same Font Viewer used by GNOME.

From the Command Line

If you prefer to install fonts from the command line, become the superuser and copy the downloaded font to the /usr/local/share/fonts/ directory. Then, refresh the fonts cache with the fc-cache -f -v /usr/local/share/fonts/name_of_font command.


References


  1. http://adobe.com/go/flash-player-settings-storage
  2. http://adobe.com/go/flash-player-settings-camera-and-mic
  3. http://adobe.com/go/flash-player-settings-playback
  4. http://adobe.com/go/flash-player-settings-advanced
Other languages:German 39% • ‎English 100%