logIt Log Around The Clock


Ubuntu gnome desktop daily usage, maintenance, & troubleshooting

Tagsistant On Production (2)

I’ve been waiting for someone to release a special-GUI-file manager to support Tagsistant. I decided not to wait and try out existing straightforward implementation (see previous post). I create a directory named tags inside my home and add an item on desktop session startup in System > Preferences > Startup Apllications containing this command tagsistant [...]

Hijri Calendar

Not succeding to find Hijri Calendar in Synaptic, I go for http://www.ojuba.org/wiki/hijra/. First, let Google translate does the job. Secondly, install this python applet. Inside hijra-0.1.18 run $ sudo python setup.py install It’d fail as it couldn’t find HijriApplet. Rename HijriApplet.py to HijriApplet to make it work. Now, it is in path (/usr/bin/) and can [...]

Tagsistant (1)

Installation of tagsistant requires SQLite and FUSE, in Ubuntu they are satisfied as libsqlite3-dev and libfuse-dev (which will also requires libselinux1-dev and libsepol1-dev). A series of configure, make, and make-install will fail during the make-install. /usr/local/share/pixmaps must be created first before running $ sudo make install After that I test tagsistant to organize /data/tags/ $ [...]

Mount with fstab and UUID

Check UUID: $ blkid   /dev/loop0: TYPE="squashfs" /dev/sda1: UUID="46E439E9E439DBBD" LABEL="SYSTEM" TYPE="ntfs" /dev/sda5: LABEL="DATA" UUID="0686-FAFA" TYPE="vfat" /dev/sda6: UUID="4ddd1e8c-e2e2-4397-838b-ea953e0a7795" SEC_TYPE="ext2" TYPE="ext3" /dev/sda7: TYPE="swap" UUID="9be4f92e-4f22-41f4-9aee-1c93f9cdf6ac" /dev/sda8: UUID="6a969f33-240b-440c-9a43-e68f8b28fd19" SEC_TYPE="ext2" TYPE="ext3" /dev/sda9: UUID="d7aac664-c177-46aa-be67-40aad4d3f129" TYPE="ext3" SEC_TYPE="ext2" /dev/sda10: UUID="36cdb4cb-351b-4f47-9c24-64a9e80c826b" TYPE="ext4" or $ sudo vol_id -u /dev/sda7 9be4f92e-4f22-41f4-9aee-1c93f9cdf6ac Put it in /etc/fstab to mount the device at boot. # /etc/fstab: static file system [...]

Queue Job To Be Executed At Certain Times

A series of command can be queued by using at command. There are slight variations between UNIXs for at command, the following example is for Ubuntu. Due to to the purpose of running it for OpenView managed nodes (this is some sort of trial-test), I put the job queue as if it was done through [...]

Install HP P1006 Laser Jet

Basically installation is described here, but I download directly: wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz wget http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz First, I remove foo2zjs that was installed by default. After (1) make and (2) copy the unpacked HP driver to foo2zjs directory. Do the (3) make install and make install-hotplug. Run cups and the printer will be listed in the usual list [...]

Script to Override Current DNS with OpenDNS


I added the following script (named use-opendns) which basically copies current DNS used to a backup file and then override it with another file already containing OpenDNS resolver. #! /bin/bash cp -f /etc/resolv.conf /etc/resolv.assigned.conf cp -f /etc/opendns.resolv.conf /etc/resolv.conf I put this in local bin and add a launcher to the panel as Application in Terminal [...]

Add Script to Local Bin for Default Path


By adding script to /usr/local/bin, it will become reachable. What reachable means is that it’ll be part of the default PATH echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games It supposed to be in executable permission (chmod +rx).

Startup script for TAP interfaces

To add startup script we can use: System > Preferences > Sessions local boot script (as services start/stop in /etc/init.d/) I added the following shell script: setup-tap: #! /bin/bash tap_up() { tunctl -t tap0 -u $USER tunctl -t tap1 -u $USER ifconfig tap0 ifconfig tap1 #iptables -t nat -A POSTROUTING -o eth1 -j [...]

After →