kjohri

Interprocess Communication using Unix Domain Sockets

  • by

1.0 Unix Domain Sockets

A socket is a communication endpoint at a host computer. The socket API provides calls for communication between processes. The socket system call is,

int socket (int domain, int type, int protocol);

The first parameter to the socket system call is the domain.… Read more

File I/O in Linux

  • by

1.0 Input and Output (I/O)

All programs need to interact with the external world which makes I/O important. Programs store data in files which provide large persistent storage. In this post we will look at the system calls and functions for file I/O and the issues that govern the program and I/O device interaction.… Read more

Files in Linux

  • by

1.0 Files

There are two basic concepts in Linux - processes and files. The processes do things and files keep all the important data. An efficient filesystem is important for an operating system. When Unix was conceived around 1969-70, several design decisions were taken to simplify the filesystem.… Read more

Connecting 7" touchscreen display to Raspberry Pi 4B

  • by

1.0 Introduction

Raspberry Pi 4B has a Display Serial Interface (DSI) port for connecting a Raspberry Pi touchscreen display using a ribbon cable. In this post we will look at the process of connecting the Raspberry Pi 7" touchscreen display with the Raspberry Pi 4B single board computer.… Read more

Uname command with examples

  • by

1. uname command

The uname command prints information about the system. uname is a portmanteau word made up from "unix" and "name". uname can be called from the command line in Linux as,

uname [OPTION]...

The most common way to use uname is with the -a option, which stands for "all" the information.… Read more

Getting started with Raspberry Pi

  • by

1.0 Raspberry Pi

Raspberry Pi 4 Model B

Raspberry Pi is a popular single board computer developed by the Raspberry Pi Foundation in the U.K. Raspberry Pi 4 Model B (Pi4B) was released in June 2019. The main components of Pi4B are:

  • The system-on-chip, (Soc).
Read more

Everything is too small on desktop at 1080p

  • by

After installing Ubuntu Linux on a laptop with screen resolution 1920x1080 pixels or more, you may find that the icons and text appear to be small. You can alleviate the problem by taking the following steps.

1. Install gnome-tweak-tool

$ sudo add-apt-repository universe
$ sudo apt-get install gnome-tweak-tool

2.

Read more

Connecting Wacom One CTL-672/KO-CX tablet to Ubuntu Linux

  • by

Wacom CTL-672 connected to computer running Ubuntu Linux

Wacom One CTL-672/KO-CX is an 8.5 inch x 5.3 inch graphic tablet which can be connected to a computer via a USB port. The tablet comes with a pressure sensitive cordless pen. Once connected to a computer via a USB port, pen and tablet work like a mouse on a mouse pad, giving a very fine pointer on the screen.… Read more