Using Gimp to create a simple media player skin
Making the Buttons
The last step in this Gimp mini-project is to create the control buttons on the button panel. Press Shift+Ctrl+A to lose the current selection. Now create a new transparent layer called <button-base> at the top of the layer stack. Click on the Tools menu and choose Selection Tools | Ellipse Select. Use the Ellipse Select tool to create a circle of 72x72 pixels. Fill the circle with the B&W gradient, as shown in Figure 8C.
Create another transparent layer called <button-3d> and do Select |Shrink (3); then fill the button with a B&W gradient, as shown in Figure 9A. Set the layer mode to Pin-light with 75 as layer opacity.

The buttons are almost finished, but each still needs an icon describing the button's purpose. I'll create these simple icons by using the pixel brush to draw them on a transparent layer. Working with pixel-level graphics requires the use of a grid for a visual aid.
Create a new transparent layer called <prev-icon> above the <button-3d> layer, as shown in Figure 9B. To get the grid ready, choose View |Show Grid then View |Snap to Grid. Now go to Image |Configure grid to bring up the grid setting dialog box. Configure the grid spacing at 4x4 pixels and press OK. At 100 percent zoom, your image should appear, as in Figure 10A.

Zoom to 300 percent by choosing View |Zoom | 300%. Press the middle mouse button and drag to pan the image and bring the first button in the zoomed up view. Press N for the Pencil tool. Select Circle brush (4x4) from the Brushes tab, as shown in Figure 10B, and change the current color to 7e7e7e.
Now place the cursor over the first button, click, and drag (keep the Ctrl key pressed) for a straight line, using the bar as a reference (see Figure 10C). The height of the icon is 32 pixels and the diagonal axis for a reverse play icon is about 22 pixels. Fill the middle part with the pencil. Also, draw the line at the left as 32 pixels in height. Now put the <prev-icon> layer mode to Overlay to make it look like the icon is embedded in the button, as shown in Figure 10C.
Duplication in Gimp is easy: Just run Layers | Crop to Content in each of the three buttons layers (<button-base>, <button-3d>, and <prev-icon>). Then choose Layer | New Layer Group and move these layers inside. Press Shift+Ctrl+D to duplicate this button group and move it to the right by about 80 pixels. Repeat it four times, as shown in Figure 11B.

Delete the old icon layer and create a new icon layer in each button group; then draw new icons for the other buttons, as shown in Figure 12A.

The media player skin looks almost complete, but the LCD panel appears empty. If this were a real multimedia player skin, the LCD panel would receive a value from the program and display the title of the song that is currently playing. For this simple example, I'll finish by inserting some song text in an LCD-style font. Use Overlay for the LCD item details at about 75 to 50 percent opacity of the layers (Figure 12B).
Conclusion
This workshop introduced you to some of the tools graphic artists use to create visual elements for desktop software. Of course, creating the image is only the beginning. In a real-world desktop tool, the graphic elements then must be incorporated into the application or installed as a skin or theme through the user interface. Several media players provide the option of changing the skin to give the player a different look – and even offer tools for inventive users to create their own custom skins. For instance, the VLC media player provides a skin editor tool [3] that allows the user to import graphic files and save them in the .vlt
file format used for the skins in the VLC skin gallery.
Gimp is a powerful tool. Experiment and be creative. I hope exploring the techniques described in this workshop will give you some ideas that you can use in your own Gimp graphic creations.
Infos
- Gimp: https://www.gimp.org/
- Gimp download: https://www.gimp.org/downloads/
- Creating a skin in VLC: https://www.videolan.org/vlc/skinedhlp/basics.html
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.
-
openSUSE Leap 15.5 Beta Now Available
The final version of the Leap 15 series of openSUSE is available for beta testing and offers only new software versions.
-
Linux Kernel 6.2 Released with New Hardware Support
Find out what's new in the most recent release from Linus Torvalds and the Linux kernel team.