Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

This chapter is from the book

Useful Software Packages to Explore

The software discussed in this section of the chapter is not installed by default but is known to be useful and well respected. These are given here as recommendations to help those who have specific needs narrow their search for programs that meet their requirements.

Creating Graphics with GIMP and Inkscape

GIMP

Package name: gimp

Windows equivalent: Adobe Photoshop or GIMP

The GNU Image Manipulation Program, affectionately known as GIMP to its friends, is a powerful graphics package. GIMP provides a comprehensive range of functionality for creating different types of graphics. It includes tools for selecting, drawing, paths, masks, filters, effects, and more. It also includes a range of templates for different types of media such as Web banners, different paper sizes, video frames, CD covers, floppy disk labels, and even toilet paper. Yes, toilet paper.

Unlike Adobe Photoshop, GIMP does not place all of its windows inside a single large window; instead, GIMP has a number of separate child windows. This can be a little confusing at first for new users—especially those used to Photoshop. To get you started, let’s run through a simple session in GIMP.

An Example

Start GIMP by searching for it in the Dash.

When GIMP loads, you will see a collection of different windows, as shown in Figure 5-12.

Figure 5-12

Figure 5-12. GIMP does not put everything in one window like Adobe Photoshop.

Close the Tip of the Day window, and you are left with two other windows. The one on the left in the screenshot is the main tool palette. This window provides you with a range of different tools that can be used to create your images. The window on the right provides details of layers, brushes, and other information. GIMP provides a huge range of different windows that are used for different things, and these are just two of them.

To create a new image, click File > New. The window shown in Figure 5-13 will appear.

Figure 5-13

Figure 5-13. Lots of templates are available, including one for toilet paper!

The easiest way to get started is to select one of the many templates. Click the Template combo box and select 640 × 480. If you click the Advanced Options expander, you can also select whether to use RGB or grayscale with the Colorspace box. You can also choose a background fill color or having a transparent background.

Click OK, and you will see your new image window (Figure 5-14).

Figure 5-14

Figure 5-14. Use the right mouse button on the image to access lots of GIMP options and features.

To work on your image, use the tool palette to select which tool you want to use on the new image window. Each time you click on a tool in the palette, you see options for the tool appear at the bottom half of the palette window.

When you click the button that looks like an A in the toolbox, it selects the text tool. At the bottom of the toolbox, you will see the different options. Click the Font button that looks like an uppercase and a lowercase case A (like Aa) and select the Sans Bold font. Now click the up arrow on the Size box, and select the size as 60 px. Move your mouse over to the empty image window, and you will see the mouse pointer change to a text carat. Click in the image, and a box pops up in which you can enter the text to add to the image. Type in Ubuntu. With the text entry still open, click the up arrow on the Size box so the text fills most of the window. As you can see, you can adjust the text while it is in the image. When you are happy with the formatting, click Close on the text entry box. Your image should look a little like Figure 5-15.

Figure 5-15

Figure 5-15. Ubuntu comes with a range of attractive fonts for use in your images.

Now in the toolbox, click the button that has a cross with an arrow on each end. You can use this tool to move the text around. Click the black text, and move the mouse.

Let’s now add an effect filter. GIMP comes with a range of different filters built in. You can access these by right-clicking the image and selecting the Filters submenu.

For our image, right-click the image and select Filters > Blur > Gaussian Blur. In the Horizontal and Vertical boxes, select 5 as the value. Click OK, and the blur is applied to your text. Anything in GIMP can be undone by clicking Edit > Undo or typing Ctrl-Z. Your image should now look like Figure 5-16. Now we are going to create another layer and put some text over our blurred text to create an interesting effect. If the Layers window isn’t open yet, open it with Windows > Dockable Dialogues > Layers. The Layers window will now appear.

Figure 5-16

Figure 5-16. Several filters and effects are bundled with GIMP in Ubuntu.

Layers are like clear plastic sheets that can be stacked on top of each other. They allow you to create some imagery on one layer and then create another layer on top with some other imagery. When combined, layers can create complex-looking images that are easily editable because you can edit layers individually. Currently, our blurred text is one layer. We can add a new layer by clicking the paper icon in the Layers dialog box. Another window appears to configure the layer. The defaults are fine (a transparent layer the size of your image), so click OK.

Now double-click the black color chip in the toolbox window and select a light color. You can do this by moving the mouse in the color range and then clicking OK when you find a color you like. Now click the text button from the palette and again add the Ubuntu text. When the text is added, it will be the same size as before. Now use the move tool and position it over the blurred text. Now you have the word “Ubuntu” with a healthy glow, as shown in Figure 5-17!

Figure 5-17

Figure 5-17. Combining steps as we have done can result in interesting effects such as this.

The final step is to crop the image to remove the unused space. Click Tools > Transform Tools > Crop, and use the mouse to draw around the Ubuntu word. You can click in the regions near the corners of the selection to adjust the selection more precisely. Click inside the selection, and the image will be cropped. To save your work, click File > Save, and enter a file-name. You can use the Select File Type expander to select from one of the many different file formats.

Further Resources

A great start is GIMP’s own help, which is not installed by default, but if you are on the Internet, the help viewer will download it automatically. You can also install it by searching for gimp help in the Software Center. The GIMP’s own Web site at www.gimp.org has all the help plus tutorials and more.

Inkscape

Package name: inkscape

Windows/OS X equivalents: Adobe Illustrator, Inkscape, Macromedia Freehand

Inkscape is also a drawing and graphic creation tool, much like GIMP, but one that has a slightly different focus. Unlike GIMP, which works with raster graphics, Inkscape is a vector drawing tool. This means rather than a grid of pixels, each assigned a color, drawings are mathematically described using angles and arbitrary units.

To get started with Inkscape, launch it by searching for it in the Dash, and very shortly you will see the default window with the basic canvas of either Letter or A4 depending on where in the world you live. At the top of the screen, below the menus, are three sets of toolbars. The topmost contains common tools like save and zoom, the second a series of snapping options, and the third is changeable depending on the tool selected.

All the tools are listed on the left-hand side of the menu, starting with the selection tool and running down to the eyedropper or paint color selector tool. Let’s get started by drawing a simple shape and coloring it in (Figure 5-18).

Figure 5-18

Figure 5-18. Inkscape’s toolbar

First, select the rectangle tool on the left, just below the zoom icon. Draw a rectangle anywhere on the screen. Now let’s change the color of the fill and outside line or stroke.

With your rectangle still selected, go to the Object menu and choose Fill and Stroke. Over on the right, you will see the window appear, with three different tabs: Fill, Stroke Paint, and Stroke Style. Let’s fill that rectangle with a gradient from orange to white. Immediately below the Fill tab, change from Flat color to Linear Gradient (Figure 5-19).

Figure 5-19

Figure 5-19. Your rectangle, now with gradient-filled goodness

Look back at your rectangle and see the gradient and a new line running horizontally across the rectangle. Moving either the square or the circle allows you to define where the gradient starts and stops. To change the colors, click the Edit... button. Once the Edit dialog is up, each end of the gradient is called a stop and can be edited separately (Figure 5-20).

Figure 5-20

Figure 5-20. Gradient editing dialog

Now that we have a rectangle, let’s add some text to our image. Select the Text tool, which is right near the bottom on the left, and click anywhere. A cursor appears, and you can start typing. Type “Ubuntu,” and then we are going to change the color and size of the text. Let’s make the text 56 points, which can be selected in the upper right, beside the Font name.

The Fill & Stroke dialog should still be open on the right, but if it isn’t, reopen it. Change the text color to Red, then choose the selection tool again. Now drag a box around both the text and the rectangle, and you should see both selected (Figure 5-21).

Figure 5-21

Figure 5-21. Text and rectangle selected

Now open the Alignment dialog, which is right near the bottom of the Object menu. Like the Fill and Stroke dialog, it appears on the right-hand side. To center the text in the box, see the middle two icons with a line and some blue lines on the side of them. Click both the Horizontal and Vertical alignment options, and both the text and image will be centered on the page (Figure 5-22).

Figure 5-22

Figure 5-22. Your final drawing

Now that you have created an image, what can you do with it? By default, Inkscape saves in the SVG or Scalable Vector Graphics format, an open standard for vector graphics. If you want to take your work elsewhere for showing on another computer or printing, Inkscape can also save into PDF format, although if you choose to do so, make certain you also save a copy as an SVG so you can edit the image later if you wish. Both SVG and PDF are options in the Save dialog. One key advantage for PDF is that it embeds fonts and graphics, meaning your image looks the same on nearly any computer you show it on. You can also export your image as a PNG for embedding in a text document or uploading to the Web, although many modern Web browsers such as Firefox and Chrome can display SVG directly, although most don’t support the full SVG standard. To export, go to File > Export, which allows you to choose to export just the objects selected, the whole document, or some portion.

Hopefully, you have seen just how powerful Inkscape can be. There are many more things you can do with Inkscape, so play around with the various options, dialogs, and shapes.

Further Resources

A good start is always Inkscape’s own help, which is in SVG format, so you can see how the original authors created the tutorials. Inkscape’s Web site at http://inkscape.org has some great tutorials and articles. If you want a book, Tav Bah’s Inkscape: Guide to Vector Drawing Program, Third Edition, is a good place to start.

Desktop Publishing with Scribus

Package name: scribus

Windows equivalents: Adobe InDesign, Scribus

For more powerful document creation than LibreOffice can allow, Scribus is just the ticket. A desktop publishing application, Scribus is built for designing and laying out documents of various sizes and sorts. As such, it makes a few different assumptions that might catch you up if you are used to using LibreOffice to create your documents.

When you first launch Scribus, it asks you what kind of document you want to create or if you want to open an existing document. Let’s create a one-page document and take Scribus for a spin (Figure 5-23).

Figure 5-23

Figure 5-23. Scribus’s opening dialog with lots of options

The first thing to remember about Scribus is that as a desktop publishing program, it is not designed for the direct editing of images and text. You edit and create your images in applications like GIMP or Inkscape and your text in word processors like LibreOffice and then import them.

For starters, let’s create a pair of text frames. For our example, we are using a document titled Welcome_to_Ubuntu.odt. To create a text frame, you need to use the Insert Text Frame tool, which can be found near the middle of the toolbar. After you draw the text frame, you need to add text to it. Right-click on the frame and choose Get Text. A dialog very similar to the Open dialog appears. Choose the Welcome_to_Ubuntu.odt file, and then select OK. You will be asked a few options; for now, accept the defaults. You should see the text appear on the screen (Figure 5-24).

Figure 5-24

Figure 5-24. The imported text in a frame

But as you can see, the text overflows the frame. In order for the rest of the text to show up, you need to create another text frame and then link the two, allowing the overflow to appear in the second frame. Go up to the toolbar again, select the Insert Text Frame, and draw another frame roughly on the bottom of the page. Then select the first frame and choose the Link Text Frames icon on the toolbar, which looks like two columns with an arrow between them. After you have selected that, click on the second text box and you should see an arrow appear and, more importantly, your text will now flow from one frame to the next (Figure 5-25).

Figure 5-25

Figure 5-25. Text now flows from frame to frame.

Next let’s insert an image at the bottom of the screen. As with text, you need to create an image frame, then add the image to that frame. Draw the image frame below the two text frames, and then right-click and choose Get Image. Just as with the text import, choose your file, this time an image file, in the Open dialog, and it will appear in the frame. Let’s choose the Ubuntu logo, under the Logo folder in Example Content. It will appear in your image frame (Figure 5-26).

Figure 5-26

Figure 5-26. Your document with an image added

Now that you have added some text and an image, let’s export to PDF so you can share your creation with the world. On the toolbar near the left-hand edge, you will see the PDF logo, just to the left of the traffic light icon. Select that, and don’t worry about the error about the DPI of the image. Select Ignore Errors, and you will see a large dialog with many options for embedding fonts and the like. Don’t worry too much about them right now, as the document you have created isn’t that complicated. Choose a good name for your document, and then save it to your Documents folder. Now let’s take a look at your creation in the Document Viewer. Open the File Manager and load your new document (Figure 5-27).

Figure 5-27

Figure 5-27. Your document as a PDF

Now let’s go back to Scribus and save the image in Scribus’s own SLA format so that you can edit it later if you wish. Enter the name you chose for the PDF name and save it in the Documents folder as well. You have now created your first document in Scribus. There is a lot more to explore, so go and try things out. Just remember to save every now and again.

Further Resources

As always, Scribus’s own help is a great place to start. The Scribus Web site at www.scribus.net has a help wiki, further documentation, and more. There is also an official book, which isn’t out as of this writing but should be very shortly. Information about it can also be found on the Scribus Web site.

Creating Music with Jokosher

Package name: jokosher

Windows/OS X equivalents: Garage Band

Musicians abound in the Ubuntu community and the wider world, but until Jokosher came along, there wasn’t an easy-to-use and simple program for creating that music. Founded by Ubuntu’s own Jono Bacon and named after a kosher joke about the food that is Jono’s name, Jokosher makes creating music or other audio recordings a breeze.

To get started in Jokosher, you first need to create a project to hold the various audio tracks that make up the end file. For our basic project, we are going to take two of the free culture showcase projects that ship with Ubuntu and combine them together. Click on the Create a New Project button in the welcome screen (Figure 5-28) and then on the next window, enter in Ubuntu combination into the Project Name field.

Figure 5-28

Figure 5-28. Jokosher’s welcome window

Once that is open, you will see a largely blank screen and you need to fill that with sound files. Choose Add Audio File on the upper toolbar and type in /usr/share/example-content in the location bar. Select one of two files in the Ubuntu Free Culture Showcase folder. After that is loaded, select Add Audio File again and select the other audio files. You should see something like in Figure 5-29.

Figure 5-29

Figure 5-29. The audio files are loaded.

Now that we have both files loaded, let’s create some sweet solos so that you can only hear one of the two files. To create a cut in the audio file, simply double-click wherever you want your cut. So anywhere in the How Fast.ogg file, double-click and then drag the second piece to the left.

This will create a very abrupt break in the music, so to make it more pleasing, let’s create a pair of fades on either side. While holding the shift key down, click near the end of the first part and drag to the end. Release the mouse and you should see a pair of 100% boxes. Click and drag the right-most one down to the bottom where it will read 0%. After you are done, you should have something like Figure 5-30.

Figure 5-30

Figure 5-30. Adding some fades and cuts

Now let’s export that file so you can share your awesome creation with your friends. Go to File > Mixdown Project and in the Mixdown Project, create a new profile by clicking the plus icon in the upper right. Name is exported and then click ok. Now you need to add an action, in this case export, so click on the lower right-most plus icon. Select Export File and then select Add Action. Now we need to configure the file name, type of audio file, and where you are going to save it to. Select Export File on the list and click the little configure icon in the lower right, it looks like a wrench and screwdriver. Name your file Ubuntu Combination and then Save it as a FLAC file. In the location bar, click the folder icon and choose your music folder. After you’re done, it should look like Figure 5-31. Now click the Mixdown button and your file is created. Go to your Music folder and hit play for the fun to begin.

Figure 5-31

Figure 5-31. Naming your file and exporting to the right place is easy.

We have just scratched the surface with Jokosher. We didn’t get into adding live instruments and recording them directly, which is where Jokosher

really shines. But we did get a taste of the power of Jokosher even with a few simple audio files that come with Ubuntu. Go out and have fun.

Further Resources

As always, Jokosher’s own help is a great place to start. The Jokosher Web site at www.jokosher.org has a help wiki, further documentation, and more.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020