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
Tag: linux box
How to Add a File Based Swap for Linux
Posted onWe 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 make “tree” output consistent on Linux
Posted onI tried tree on different Linux boxes to verify the files by diff. However, I found the format can be a little bit different on different nodes. For examples, the tree result could be . |– test2 | |– test4 | `– test5 `– test3 1 directory, 3 files or . ├── test2 │ ├──
Read more
How to find a network adapter’s speed in Linux?
Posted onI 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 onOn 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 kick off a user on a Linux box?
Posted onI want to kick off a user such as “bob” on a Linux box which I managed remotely. How to do this? bob may log on the Linux box by various ways: Log on the screen on the Linux box (locally) with a X server. Log on remotely by a ssh shell. Log on by
Read more
How to install gitbook?
Posted onHow 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
How to change my Linux password
Posted onHow to change my password on a Linux box? The original password is generated by the administrator for me. User the passwd command. The easiest way: Log in the Linux box with your account Run passwd and it will ask your old and new passwords.
Shrinking an Ext4 File System on LVM in Linux
Posted onIn 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 onConverting 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
Changing MTU to Make WiFi Faster on Linux
Posted onI experienced very slow WiFi network on Linux, while my iPhone seems surf the Internet quit fast. I pinged a site and the RTT is more than 1000ms! There must be something wrong with my Linux configuration. I tried to change the MTU from “Automatic” to “1400” on my Linux box. Surprisingly, it fix the
Read more
How to Format (Erase) DVD+RW / DVD-RW Disks in Linux
Posted onThis 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 onssh, 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 onWe 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 onHow 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 onI 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 onMAC 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 onLinux 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 onSharing 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