Category: Linux
-
Crontab – @reboot and other shortcuts
I discovered a handy crontab feature today. If you use @reboot instead of the typical five fields, it will run the command at startup. There are several other useful options: Instead of the first five fields, one of eight special strings may appear: string meaning —— ——- @reboot Run once, at startup. @yearly Run once…
-
Wavy External Monitor VGA-0
The issue: Ever since I installed Ubuntu 10.04 Lucid, I have been unable to use an external monitor with my laptop. I tried several times to find a solution, but the problem was difficult to describe, and that made searching for answers difficult. Yesterday, I found a bug report which matched my symptoms and hardware.…
-
Starting an X11 Program Remotely
Have you ever wanted to start a graphical program (X11) remotely on computer? I found myself wanting to be able to cause a program to open on the physical screen and session on a computer while I was connected to it remotely via SSH. After some searching online, I found the answer on serverfault.com. The…
-
Pulling from a Remote GIT Branch
To set up your local GIT repository to pull from a new remote branch which another developer has created, you first have to update the list of branches by issuing the command $ git pull Then once you have the latest branch information, you can view all the remote branches. $ git branch -r origin/recording…
-
Ubuntu Dual Monitors
Setting up dual monitors in Ubuntu (Karmic) has been easy for quite awhile especially if you are using an Nvidia chipset. Using the nvidia-settings application allowed me to configure everything I needed. The problem was when I tried to save the configuration so it would persist when I rebooted. The utility said that it could…
-
MySQL readline vs. editline
In the the latest version of Ubuntu (Karmic) I’ve discovered that my vi bindings have stopped working in the mysql 5.1 client. The delete key only echos a “~” (tilde) into the mysql shell and ctrl+left arrow and ctrl+right arrow produce control sequences instead of jumping by words. The problem is that in the latest…