Category Archives: Linux

add auto-complete to emacs

Installing auto-complete to emacs. It’s not loaded. Solution: add the following text to ~/.emacs ;; auto-complete (add-to-list ‘load-path “~/.emacs.d/”) (require ‘auto-complete-config) (add-to-list ‘ac-dictionary-directories “~/.emacs.d//ac-dict”) (ac-config-default)-c

Posted in Linux | Leave a comment

Install adobe pdf read on Linux

It would be better to install adobe pdf reader on linux, though envince is more preferred to me. But for some certain functions, it has to be used, playing animation for example. Method to install adobe pdf reader on linux … Continue reading

Posted in Linux | Leave a comment

#!/usr/bin/env

The shebang line (from “sharp bang”, i.e. #!) is processed by the kernel. The kernel doesn’t want to know about environment variables such as PATH. So the name on the shebang line must be an absolute path to an executable. … Continue reading

Posted in Linux | Tagged | Leave a comment

linux cinnamon theme change

To install a theme: Download it and decompress it in ~/.themes. To install an applet: Download it and decompress it in ~/.local/share/cinnamon/applets.

Posted in Linux | Leave a comment

Huge icon on the panel when theme is changed

From a post in Linux Mint forums: “I don’t know anything about your monitor problems …. but for the problem of the large icons on the panel: Try going to Menu > Preferences > Cinnamon Settings > Panel Check the … Continue reading

Posted in Linux | Leave a comment

gcc fortran error

When using gcc fortran 4.6 to compile a fortran code with sequential reading, the following error occurs: Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE Use fort77 command to compile it, … Continue reading

Posted in Linux | Leave a comment

Update jabref from version 2.7 to 2.9

The default version of jabref of Linux Mint and Ubuntu now is 2.7, which can be easily installed from software manager. If want to update to 2.9, a bad method is to download the jabref-2.9.jar and replace the *.jar in … Continue reading

Posted in Linux | Leave a comment

Boot repair

Boot-Repair can be installed & used from any Ubuntu session (normal session, or live-CD, or live-USB). Install Boot-Repair on ubuntu Open the terminal and run the following commands sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install boot-repair After completing … Continue reading

Posted in Linux | 1 Comment

Change Linux mint 32bit to 64bit version

1. Download iso file; 2. use imagewriter which is a default software of mint to write iso to usb stick; 3. boot from usb and enter the mint system to install 4. start installation. Choose partition where the old linux … Continue reading

Posted in Linux | Leave a comment

Find & Replace across multiple files in linux

Find & Replace across multiple files in linux I was trying to find a solution todo a find & replace across multiple files which was purely command line based. There are plenty of scripts out there which will accomplish this … Continue reading

Posted in Linux | Leave a comment