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

From PC-BSD Wiki
Jump to: navigation, search
m
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{NavHeader|back=Common Tasks|forward=Multimedia}}</noinclude>
+
<noinclude><translate>
This section demonstrates how to install Java, Flash, and fonts to improve your desktop experience.
+
  
== Java ==
+
<!--T:1-->
 +
{{NavHeader|back=Using PC-BSD®|forward=Multimedia}}</noinclude>
  
The OpenJDK PBI provides an open source implementation of the Java Platform. It includes the IcedTea java browser plugin which automatically works within the FireFox, Chrome, and Opera web browsers without any additional configuration. To install this PBI, search for "jdk" within AppCafe®.
+
<!--T:2-->
 +
This section demonstrates how to install and configure Java, Flash, and fonts to improve your desktop experience.
  
== Flash ==
+
== Java == <!--T:3-->
  
PC-BSD installs and configures the Adobe Flash player (version 10) plugin for you. This means that flash should "just work" when browsing the web. You'll find several web browsers in the Web Browsers category of [[Using AppCafe|AppCafe®]], including Firefox, Opera, and Chromium.
+
<!--T:4-->
 +
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, Chrome, and Opera web browsers without any additional configuration. To install this PBI, search for "jdk" within [[AppCafe®]].
  
If flash does not seem to be working, running the following command as your regular user account should fix the problem:
+
== Adobe Flash == <!--T:5-->
  
'''flashpluginctl on'''
+
<!--T:6-->
 +
PC-BSD® installs and configures the Adobe Flash player (version 10) plugin for you.[[File:flash-player-properties.png|left|thumb|'''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.
  
== Fonts ==
+
<!--T:7-->
 +
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: 
  
 +
<!--T:8-->
 +
{{txtbox|box='''flashpluginctl on'''}}
  
 +
<!--T:9-->
 +
The [[Adobe Flash Player preferences]] icon in Control Panel can be used to modify how websites interact with your browser using Adobe Flash.
  
=== Installing Microsoft True Type Fonts ===
+
== Installing Custom Fonts == <!--T:10-->
  
If you would like to install Microsoft True Type fonts, click on the AppCafe® icon on your Desktop. Search for "fonts" in the search bar and you should see a result similar to Figure 8.1a:
+
<!--T:11-->
 +
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.
  
'''Figure 8.1a: Using AppCafe® to Install MS TrueType Fonts'''
+
<!--T:12-->
 +
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.
  
[[Image:Fonts1a.jpeg]]
+
<!--T:13-->
 +
{{note|icon64=many fonts are available from {{citelink|url=http://www.freshports.org|txt=FreshPorts}}. To find a font, search for "font". If you find a font you like, FreshPorts will indicate the '''pkg_add''' command that is used to add that font to your system. Any font installed using '''pkg_add''' 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.
  
Click the download button to install the fonts PBI. It will automatically setup your system to use these fonts.
+
=== Using KDE === <!--T:14-->
  
=== Installing Custom Fonts ===
+
<!--T:15-->
 +
To install custom fonts within KDE, go to ''System Settings'' ➜ ''Font Management''. In Figure 9.1a, "All Fonts" is currently selected under the "Group" column, showing all of the fonts installed on this system.
  
If you already have a collection of fonts that you have downloaded or purchased, you can configure your PC-BSD system to use these fonts. Which utility you use depends upon which desktop(s) you have installed.
+
<!--T:16-->
 +
[[File:Fonts3a.png|thumb|393px|'''Figure 9.1a: Using KDE's Font Installer to Install Custom Fonts''']]
  
'''NOTE:''' many fonts are available from [http://www.freshports.org FreshPorts] by searching for "font". If you find a font you like, FreshPorts will indicate the '''pkg_add''' command that is used to add that font to your system. Any font installed using '''pkg_add''' 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.
+
<!--T:17-->
 +
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.
  
To install custom fonts within KDE, go to System Settings ➜ Font Installer. In Figure 8.1b, "All Fonts" is currently selected under the Group column, showing all of the fonts installed on this system.
+
=== Using GNOME === <!--T:18-->
  
'''Figure 8.1b: Using KDE's Font Installer to Install Custom Fonts'''
+
<!--T:19-->
 +
To install custom fonts within GNOME, go to ''Applications'' ➜ ''Utilities'' ➜ ''File Browser''. 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.1b, the user is installing the BlackFlag font.
  
[[Image:Fonts1.png]]
+
<!--T:20-->
 +
[[File:Fonts2.jpeg|thumb|393px|'''Figure 9.1b: Using GNOME's Nautilus to Install a Custom Font''']]
  
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 Groups column and be available to the applications you use.
+
=== Using XFCE === <!--T:21-->
  
To install custom fonts within GNOME, go to Applications ➜ Utilities ➜ File Manager. 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 8.1c, the user is installing the BlackFlag font.  
+
<!--T:22-->
 +
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.
  
'''Figure 8.1c: Using GNOME's Nautilus to Install a Custom Font'''
+
=== Using Other Desktops === <!--T:23-->
  
[[Image:Fonts2.jpeg]]
+
<!--T:24-->
 +
For any desktop, you can use XFCE's '''thunar''' to install fonts. Depending upon which desktop(s) you have installed, this utility may or may not already be installed. If nothing happens when you type '''thunar''', install it using [[AppCafe®]].
  
To install custom fonts within XFCE, use 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 === <!--T:25-->
  
For any desktop, you can use '''nautilus''' or '''thunar''' to install fonts. Depending upon which desktop(s) you have installed, these utilities may or may not already be installed. If nothing happens when you type their name, you can install either utility [[using AppCafe® | using AppCafe®]].
+
<!--T:26-->
 +
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.
 +
 
 +
<!--T:27-->
 
<noinclude>
 
<noinclude>
[[category:handbook]]
+
{{refheading}}
[[category:Common Tasks]]
+
 
[[category:Java, Flash, and Fonts]]
 
[[category:Java, Flash, and Fonts]]
 +
[[category:Common Tasks]]
 +
[[category:handbook]]
 +
</translate>
 +
<languages/>
 
</noinclude>
 
</noinclude>

Revision as of 06:40, 5 September 2013

(Sorry for the inconvenience)

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, Chrome, 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 10) 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.

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.

NOTE: Many fonts are available from FreshPorts[1]. To find a font, search for "font". If you find a font you like, FreshPorts will indicate the pkg_add command that is used to add that font to your system. Any font installed using pkg_add 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 SettingsFont Management. In Figure 9.1a, "All Fonts" is currently selected under the "Group" column, showing all of the fonts installed on this system.

Figure 9.1a: Using KDE's Font Installer to Install Custom Fonts

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 ApplicationsUtilitiesFile Browser. 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.1b, the user is installing the BlackFlag font.

Figure 9.1b: Using GNOME's Nautilus to Install a Custom Font

Using XFCE

To install custom fonts within XFCE, use ApplicationsSystem ➜ 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.

Using Other Desktops

For any desktop, you can use XFCE's thunar to install fonts. Depending upon which desktop(s) you have installed, this utility may or may not already be installed. If nothing happens when you type thunar, install it using AppCafe®.

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://www.freshports.org
Other languages:German 56% • ‎English 100% • ‎French 67%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox