This GtkToggleButton Glade GTK C program tutorial shows how to use a toggle button and read its state using C code. The user interface is laid out using the Glade user interface designer. GTK+ 3 and the C programming language is used in the project example. A toggle button differs from a plain button in … Continue reading GtkToggleButton Glade GTK C Program Tutorial
Linux Mint initramfs prompt appears after booting computer. A BusyBox Ubuntu built-in shell (ash) screen with initramfs prompt displays after switching on Linux Mint PC as shown in the image below. The computer does not boot up properly and instead of going straight to the login screen, drops through to a initramfs command line prompt. … Continue reading Linux Mint initramfs Prompt at Boot
How to use a GtkSpinButton in a GTK+ 3 application written in C using Glade user interface designer. This tutorial shows how to build a GTK+3 application that allows a user to enter a number in a GtkSpinButton widget. Clicking a button in the application reads the value from the spin button widget and writes … Continue reading GtkSpinButton Glade GTK C Program
When starting Qt 5 application development in Linux it is necessary to first install Qt 5 development tools. Qt Creator is the IDE used to develop Qt applications. In order for Qt Creator to be able to build Qt applications, library files, header files and a C++ compiler must be installed. This article shows how … Continue reading How to Install Qt 5 Development Tools in Linux
How to configure Apache 2 web server on a local Linux computer for local web development. Configure Apache to host multiple local web sites for web development on Linux Mint or Ubuntu. The previous blog post describes how to set up a LAMP stack on a local Linux computer. This post shows how to set … Continue reading Configure Apache for Local Web Development
How to install a local LAMP stack on a Linux Mint or Ubuntu computer for local PHP and MySQL development or for development on a local WordPress website. Why Install a LAMP Stack? When developing PHP web pages and applications on a local Linux computer it is necessary to install a local web server and … Continue reading How to Install a Local LAMP Stack on Linux
How to fix Linux Mint hash sum mismatch during update of software. The following messages appear after doing an update with sudo apt-get update and also appear in the Linux Mint Update Manager.
W: Failed to fetch http://packages.linuxmint.com/dists/rosa/main/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Fixing the Linux Mint Hash Sum Mismatch Error After trying several solutions to the problem (listed in the next section) here … Continue reading Linux Mint Hash Sum Mismatch During Update
If you try to compile C++ code on a Linux Mint or Ubuntu computer using gcc, the compile will fail. C++ code needs to be compiled using the g++ compiler which must first be installed. This article explains how to install the GCC C++ compiler on Linux Mint and Ubuntu based systems. Trying to compile … Continue reading How to Install the GCC C++ Compiler on Linux Mint