How to make Thunderbird check for new messages in all IMAP folders? Under “Edit/Tools > Options > Advanced”, click the “Config Editor” button. In the config editor, set the mail.check_all_imap_folders_for_new configuration to “true“.
Author: Eric Ma
Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.How to view .mbox files on Linux?
Posted onHow to view .mbox files on Linux? Thunderbird can read mbox files well. You can drop your mbox files to the Local Folders directory of Thunderbird and restart Thunderbird. It will index the emails and show them. To find the Local Folders directory of Thunderbird: Open “Account Settings” and click on “Local Folders” to see
Read more
How to capture camera photo/video using MPlayer on Linux?
Posted onHow to capture camera photo/video using MPlayer on Linux? You can watch the video from the camera by MPlayer: # mplayer tv:// Note that you need the root privilege to play the tv://. You can use mplayer to capture photos by: # mplayer -vo png -frames 3 tv:// If will store files 0000000{1..3}.png in the
Read more
How to find and change a user’s UID on Linux?
Posted onHow to find and change a user’s UID on Linux? Find the UID of a user: id -u $USER_NAME Change a user’s UID: # usermod -u $NEW_UID $USER_NAME
How to unlock a locked SSH terminal accidentally by ctrl-s on Linux?
Posted onI find I sometimes lock the SSH terminal accidentally by ctrl-s on Linux. How to unlock/unfreeze it? Ctrl-s: lock the SSH terminal. Ctrl-q: unlock the SSH terminal.
Finding All Available Versions of a Package in Ubuntu
Posted onHow to find all available versions of a package in Ubuntu? To list available versions of a package: apt-cache showpkg <package-name> For example, to check all versions of thunderbird: $ sudo apt-cache showpkg thunderbird Package: thunderbird Versions: 1:31.1.1+build1-0ubuntu0.14.04.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages) Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages MD5: 68ed1001b79d708ad48956a0c129114d Description Language: en File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en MD5: 68ed1001b79d708ad48956a0c129114d 1:31.0+build1-0ubuntu0.14.04.1 (/var/lib/dpkg/status)
Read more
How to find the history of updated packages by apt-get or aptitude?
Posted onHow to find the history of updated packages by apt-get or aptitude? The history is in log files of dpkg and apt: /var/log/dpkg.log /var/log/apt/history.log /var/log/aptitude To check the recently installed packages: cat /var/log/dpkg.log | grep ” install ” To list history of recently installed packages by apt-get: cat /var/log/apt/history.log | grep ” install ” To
Read more
How to backup iPhone on Linux?
Posted onHow to backup iPhone on Linux? Not using iTunes or Windows. You can backup iPhone using libimobiledevice. By the time I replied here, it supports up to iOS 7. Please check this post for a tutorial. Actually, the methods introduced can be used on Linux systems with the libimobiledevice installed. Backup iPhone: idevicebackup2 backup ~/iPhoneBackups/
Read more
How to back up emails from the email server?
Posted onofflineimap actually does “synchronization”—if an email is deleted from the server, the email will be deleted from the local Maildir (http://offlineimap.org). This is good for mail sync. However, for backing up emails,one would like to keep the email even if it is deleted from the server. How to achieve this? You may use `getmail` which
Read more
How to monitor temperatures of laptop on Linux
Posted onHow to monitor temperatures of laptop on Linux? This works on Linux Mint: sudo aptitude install lm-sensors hddtemp For lm-sensors, first detect the sensors by: sudo sensors-detect To detect the temperature in the system: sudo sensors To detect the HDD (e.g. sda) temperature: sudo hddtemp /dev/sda An example of the output: [zma@mini:~]$ sudo sensors acpitz-virtual-0
Read more
Manage Linux console screen by commands?
Posted onHow to manage Linux console screen by commands? When the screen will be blanked? Put the screen into powerdown mode or power off the screen? 2 tools are useful for managing the console screen on Linux: setterm – set terminal attributes.vbetool – run real-mode video BIOS code to alter hardware state. When the screen will
Read more
Wireless driver in Linux Mint for HP Mini 110 Netbook
Posted onHow to install the wireless driver in Linux Mint for HP Mini 110 Netbook? The bcmwl-kernel-source for Broadcom Linux STA driver works. You may need to connect the network first by the LAN cable or another wireless adapter. Open Control center -> System, Driver Management. After a while, it will ask you to select the
Read more
How to boot Linux Mint to the console by default?
Posted onHow to boot Linux Mint to the console by default? (that is, the run level 3). 2 methods introduced here to boot Linux Mint to console/command line. Method 1 (may only work for earlier releases; check method 2 below): set kernel option. Edit /etc/default/grub and add text to GRUB_CMDLINE_LINUX_DEFAULT: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text” Then, re-generate grub
Read more
Git diff with long lines
Posted onI find git diff output is not easy to read when the text file contains long lines that is long enough to exceeds the screen size. We may not forbid the using the long lines for all files. How to handle lone lines in git diff better? Two possible methods to make git diff with
Read more
Cannot connect QEMU guest os with vncviewer
Posted onThe question is as follows. harry@debian:~/workshop1/qemu_test/version1/test$ qemu-system-x86_64 -hda qcow2.img -cdrom domU-x86_64-FS.img -boot d -m 1024 VNC server running on `::1:5900′ harry@debian:~/workshop1/qemu_test/version1/test$ vncviewer 127.0.0.1:1 vncviewer: ConnectToTcpAddr: connect: Connection refused Unable to connect to VNC server Solution (add -vnc parameter for qemu-system-x86_64): harry@debian:~/workshop1/qemu_test/version1/test$ qemu-system-x86_64 -hda qcow2.img -cdrom domU-x86_64-FS.img -boot d -m 1024 -vnc 127.0.0.1:2 harry@debian:~/workshop1/qemu_test/version1/test$ vncviewer 127.0.0.1:2
Read more
How to install Adobe Reader on Linux Mint 17?
Posted onHow to install Adobe Reader on Linux Mint 17? First, add Canonical PPA repository sudo add-apt-repository “deb http://archive.canonical.com/ precise partner” Then, update apt cache and install Adobe Reader sudo aptitude update sudo aptitude install acroread You can select “Yes” to set Adobe Reader as the default PDF viewer or “No” to not set it. E.Z.M.,
Read more
How to rotate a .mov video from iPhone by 90 degree on Linux?
Posted onThe video files copied from iPhone is rotated by 90 degree when they are played on Linux. How to rotate a .mov video from iPhone by 90 degree on Linux? Specifically: 1) Play the video by rotating 90 degree. 2) Edit the video by rotating 90 degree and save it. You may check Rotating Video
Read more
How to find whether a package is installed on Linux Mint?
Posted onHow to find whether a package is installed on Linux Mint? For example, I would like to check whether ghostscript is installed. Using dpkg: dpkg -l List all available packages (installed and not installed): apt-cache pkgnames
Finding Which Package Provides a File in Ubuntu Linux and Linux Mint
Posted onHow to find which package provides a file in Debian based releases, such as Linux Mint, Ubuntu? You can use `dpkg`: $ dpkg -S /path/to/the/file -S or –search is the option to make dpkg do a “search”: -S, –search filename-search-pattern… Search for a filename from installed packages. To search which package provides a command file
Read more
How to turn a BIOS-based Linux Mint 17 installation to UEFI booting?
Posted onI installed Linux Mint 17 in the traditional BIOS mode. However, Windows 8.1 on my computer can only boot in the UEFI mode. I do not want to reinstall the Windows or erase it. How to turn a BIOS-based Linux Mint 17 installation to UEFI booting? You may refer https://help.ubuntu.com/community/UEFIBooting for some information.