Unsolicited Question: VLC and Wayland on Fedora

Q: VLC and Videos video playback on Fedora 25 is choppy or won't play at all. I've installed all the codecs from RPM Fusion but videos still won't render. What gives?

On lower to mid-range hardware, VLC and Videos may struggle to render .avi, .flv., and .mp4 files if you're running Fedora 25 with Wayland, the default display server.

If you don't have any urgent requirements regarding running Wayland, you can switch to Gnome with Xorg from the login screen.

To log in to Gnome with the X display server:

1. On boot, select the user from the list.

2. Click the Settings icon, and then select Gnome on Xorg.

3. Enter the user password, and then click Sign In.

Note: If you selected Gnome on Xorg and logged in using a specific user, Gnome on Xorg is retained on reboot, unless you switch it to Gnome or Gnome Classic from the list of desktop environments manually.

As an alternative, you can also install video player frontends such as SMPlayer, which may have a lower overhead th…

Batch creation of CBZ files using ComicZipper (macOS)

ComicZipper is a free desktop utility for macOS for creating CBZ files from image folders.  The utility, which is available from the App Store, doesn’t require any other compression packages on macOS Sierra. Just drag folders with .jpg or .png into the ComicZipper window to create files. Although you can just use macOS Finder’s built-in compression options, ComicZipper allows you to compress several folders at a time.

Scans compressed using ComicZipper in this article are He-Man mini-comic books from the author’s own collection. The output files were viewed in Perfect Viewer for Android, Comics Manga Reader for Fire OS, Bookman for iOS, and Comics ++ for Windows 10.

You can exclude unnecessary metadata files and folders from Preferences > Exclude List in ComicZipper. To ensure compatibility with Android, Windows 10 Mobile, and iOS .cbz viewers, check that the folder only contains supported image formats such as JPEGs and PNGs. Remove .html or .txt files. In addition, it’s good idea…

Corel Photo-Paint X8 Basics: Surface Pen, Object Manager, and illustration Part 3

Continued from Corel Photo-Paint X8 Basics: Surface Pen, Object Manager, and illustration Part 2

Colors and Color Palette Manager
As you work with the different tools, CorelPhoto-Paint lists the swatches at the bottom of the screen so you can reuse colors as needed.

If the default color palette isn't enough, you can add industry standard color palettes using the Color Palette Manager (Window > Dockers > Color Palette Manager).

Although the Surface Pen isn't perfect at capturing strokes in Photo-Paint X8, you can still complete a pretty good piece of artwork with a bit of patience and practice on a Surface Pro 4. Photo-Paint X8 also has an excellent Mask system for selecting areas based on specific conditions.

CorelDraw and Photo-Paint X8
CorelDraw and Photo-Paint X8 work hand-in-hand, so if you prefer to work with a vector drawing, you can export the selected vector illustration to a .cpt file for opening in Photo-Paint.

 To export a vector illustration to .cpt in CorelD…

Corel Photo-Paint X8 Basics: Surface Pen, Object Manager, and illustration Part 2

Continued from Corel Photo-Paint X8 Basics: Surface Pen, Object Manager, and illustration Part 1
Objects, Object Manager, and Drawing tools 
Corel Photo-Paint uses the same engine as CorelDraw, but unlike CorelDraw, the application doesn't use Layers, but rather Objects. The Object Manager (Window > Dockers > Object Manager) handles Objects in Corel Photo-Paint, and provides options to change how the Objects appear, much like the same way Layers work. You can arrange the Objects over each other, change the Object Mode to adjust the appearance of colors, lock, toggle visibility, delete, and move Objects. Objects also have their own attributes, such as Opacity.

Objects, unlike whole Layers in other applications, only refer to anything you've made, and are independently modified or changed. For example, you rotate the selected Object only, while with Layers, rotating a Layer rotates everything on the Layer.

For this example, a new Object was created on top of the Background

Corel Photo-Paint X8 Basics: Surface Pen, Object Manager, and illustration Part 1

Corel Photo-Paint X8 is included in the CorelDraw X8 Graphics Suite. The application has a complete set of photo editing and painting tools for illustration and graphics. This article gives an overview of using Corel Photo-Paint X8 with the Surface Pen to create a basic illustration using the available painting and drawing tools.

This article uses Corel Photo-Paint Home & Student X8, a Surface Pro 4 with a Core i5, 4 GB of RAM, and the original Surface Pen. The colored illustration is of Sam Keith's The Maxx (the Outback version) from the 90s comic book series from Image Comics. All drawings in this article are by the author.

Note: Sam Keith revised the appearance of the Maxx several times during the series, which is one of the reasons why the Maxx was so visually interesting. I'm certainly not going to embarrass myself and imitate Keith's style, but will base the drawing from The Maxx #3, which featured the original design of Maxx in the Outback. The scan is from the a…

Debian 9 Stretch Basics: Setting up MariaDB Part 2

Continued from Debian 9 Stretch Basics: Setting up MariaDB Part 1
Creating a user with privileges for databases and tables
As always, using the root user in any system isn't recommended regardless if you're just studying MariaDB or running a home database server. After installing MariaDB on Debian 9 Stretch, only a root user is available for accessing the available databases. Create a new user with privileges to all the databases and tables.

Note: The procedure described here doesn't include giving the new user the ability to grant privileges or create other users.

To add a new user with a password and privileges:

1. Log into MariaDB as root.

mysql -u root -p

2. The user accounts in MariaDB are stored in the mysql database and user table. Access the mysql database and select the user table.

USE mysql;
SELECT user FROM user;

Note that only root is the entry under user for this example.

3. Create a user with a password.

In this example, the user 'basil' is created with …

Debian 9 Stretch Basics: Setting up MariaDB Part 1

The stock DVD install of Debian 9 Stretch doesn't install any SQL server software packages. If you are using or studying MariaDB, you can set up a MariaDB server as you would in Fedora or Ubuntu, with very little differences in the configuration steps.

This article uses Debian 9 Stretch and MariaDB 10.1.

To set up MariaDB in Debian 9 Stretch:

1. Update Debian if you haven't already.

apt update
apt upgrade

2. Search and install the mariadb-server package, which installs the client package and the latest version of MariaDB server.

apt search mariadb-server
apt install mariadb-server

3. If you opted to reboot the system after running updates and installing MariaDB, verify if the MariaDB service is started and already running.

service mysql status

Note: In most cases, MariaDB is already running on startup in Debian. For more details on starting MariaDB on Linux, refer to Starting and stopping MariaDB automatically.

4. Run the secure installation script included and take note of the roo…