GNOME 3 "Natural scrolling" mouse option does not work

Posted on

In GNOME 3 “Settings” -> “Devices” -> “Mouse & Touchpad”, after setting “Natural scrolling” to On, the scrolling is still as the same before (non-natural). How to fix this? This is likely related to the X11 driver. Remove the xorg-x11-drv-synaptics driver if it is installed. And install the xorg-x11-drv-libinput driver if it is not installed.
Read more

How to Add a File Based Swap for Linux

Posted on

We may want to add some swap space for a Linux box while only find that all disk space is partitioned and mounted. Some partition has large available free space. For such cases, we may not want to change the partition allocation. The solution may be to add a file based swap for Linux as
Read more

How to find a network adapter’s speed in Linux?

Posted on

I have a Linux box and it is connected to a network through a network adapter, say gate. How to find what is the current speed (10Mbps, 100Mbps or 1000Mbps) of the adapter? You can find the network adapter speed by the ethtool command: ethtool: query or control network driver and hardware settings For example,
Read more

How to allow non-root users on Linux to mount and unmount disks?

Posted on

On a Linux box, we may allow non-root users mount and umount certain disks, such as /dev/sde1. How to allow non-root users on Linux to mount and unmount disks? Please check the tutorial at Controlling Filesystem Mounting on Linux by Playing with /etc/fstab: Allow non-root users to mount and unmount filesystems.

How to install gitbook?

Posted on

How to install gitbook on my own Linux box? First, install node.js following https://www.systutorials.com/qa/1268/how-to-install-node-js-on-fedora or How to install node.js on Ubuntu/Linux Mint depending on your distro. Second, install gitbook by npm to /opt/: # cd /opt/ # npm install gitbook Then, the gitbook can be invoked by /opt/node_modules/gitbook/bin/gitbook.js You may need to install the latest
Read more

Shrinking an Ext4 File System on LVM in Linux

Posted on

In Extending a Mounted Ext4 File System on LVM in Linux, we introduced how to extend a mounted ext4 filesystem on LVM Logical volume by adding a new physical volume. It is also common to shrink an ext4 file system as to spare some disk space. In this post, I will discuss how to shrink
Read more

An Online JPG to EPS Converter

Posted on

Converting the JPG images to EPS is frequently need especially when write documents in LaTeX. I introduced how to Convert JPG Images to EPS on Linux. However, not everyone have a Linux box available at any time. We set up an Online JPG to EPS Converter to help people convert JPG to EPS. Convert JPG
Read more

How to Format (Erase) DVD+RW / DVD-RW Disks in Linux

Posted on

This post introduces how to erase / blank / format a DVM+RW media on Linux in the command line. First, you need to find out the device of the DVD/CD+RW drive on your Linux box. For example, on my box with Linux 3.3.4 kernel, my DVD/CD+RW drive is /dev/sr0. You can also see what the
Read more

Open Source and Portable SSH, SCP, SFTP and VNC Clients for Windows to Remote Control Linux

Posted on

ssh, scp, sftp and vnc are frequently used tools (both servers and clients) on Linux. We may want to remote control a Linux box from Windows such as when we make demostration in a meeting while our work are done on the Linux box. There are lots open source SSH, SCP, SFTP and VNC clients for
Read more

Installing Specific Old Versions of Packages in Yum

Posted on

We may need to install some old packages such as the kernel in our Linux box. Let’s use installing a older version of Linux kernel in Fedora as the example to introduce how to install old packages from the repository using yum. By now, suppose we have install kernel-2.6.32.16-143 in the Linux box and we
Read more

Jailbreaking Apple iPod Touch with Spirit in Linux

Posted on

How to jailbreak Apple iPod touch in Linux will be introduced in this article. We use Spirit to jailbreak iPod touch. Spirit[1] is an untethered jailbreak for iPad, iPhone, and iPod touch on certain firmware versions. Please read [1] for requirement when using Spirit. Currently, the version of iTunes used should be iTune 9 earlier
Read more

How to Start KDE from Command Line using startx

Posted on

I don’t use xdm, gdm or kdm… I prefer my Linux booting to init 3. I like logging in to the command-prompt and starting X manually with startx. In my Fedora Linux box, I always get to gnome even both gnome and KDE are installed. Actually the startx script is already written for most of
Read more

Changing MAC Address in Linux aka. MAC Spoofing

Posted on

MAC stands for Media Access Control which is a six byte number, usually expressed as a twelve digit hexadecimal number. IPs in LAN are translated to MAC address by the ARP (Address Resolution Protocol) protocol. For some reasons such as keeping the true MAC address from being logged, accessing to the network which bounds IPs
Read more

Linux Port Forwarding Using iptables

Posted on

Linux port forwarding is simple to do with iptables which may probably already being used as the firewall or part of the setting up a Linux gateway. In the Linux kernel, port forwarding is achieved by packet filter rules in iptables. Port forwarding Port forwarding also called “port mapping” commonly refers to the network address
Read more

Setting Up Linux Network Gateway Using iptables and route

Posted on

Sharing the networking is important and setting up a gateway is a good solution to it. Building up the gateway on a Linux box is easy, cost efficient and reliable. With a Linux box, you can share the internet connection or the only cable connected to the network. The Linux box network configuration The Linux
Read more