Ubuntu Customization Script

Uncategorized No Comments

I’m in the process of upgrading all my computers to the latest Ubuntu 9.10 (Karmic Koala) and I really wanted a way to quickly customize my interface. I wrote this quick script that I plan on running immediately after installing.

This script downloads and sets the Shiki-Brave theme, Droid Fonts, puts the Computer and Home folders on the desktop, Installs the Restricted software such as Java and Flash, and updates the system.


#!/bin/bash

sudo apt-get update && sudo apt-get install shiki-brave-theme ttf-droid -y
gconftool-2 --type=string -s /desktop/gnome/interface/gtk_theme Shiki-Brave
gconftool-2 --type=string -s /desktop/gnome/interface/icon_theme gnome-brave
gconftool-2 --type=string -s /desktop/gnome/interface/document_font_name Droid\ Sans\ 10
gconftool-2 --type=string -s /desktop/gnome/interface/font_name Droid\ Sans\ 10
gconftool-2 --type=string -s /desktop/gnome/interface/monospace_font_name Droid\ Sans\ Mono\ 10
gconftool-2 --type=string -s /apps/metacity/general/titlebar_font Droid\ Sans\ Bold\ 10
gconftool-2 --type=string -s /apps/nautilus/preferences/desktop_font Droid\ Sans\ 10
gconftool-2 --type=string -s /apps/metacity/general/theme Shiki-Colors-Metacity
gconftool-2 --type=bool -s /apps/nautilus/desktop/computer_icon_visible 1
gconftool-2 --type=bool -s /apps/nautilus/desktop/home_icon_visible 1
gconftool-2 --type=bool -s /apps/nautilus/preferences/enable_delete 1
sudo apt-get install ubuntu-restricted-extras -y
sudo apt-get upgrade -y

Here is a screenshot:
Ubuntu 9.10 Screenshot

Zero Write Hard Drive

Uncategorized No Comments

I have always used third party tools to zero write hard disks when I’m done using them or when some body requests it done. However, I have started using a external hard drive enclosure and I wanted to do it within my Ubuntu.


dd if=/dev/zero of=/dev/sdb

Since I only have a single hard drive the external drive became /dev/sdb. You can double check to make sure your wiping the right drive by using…


sfdisk -l

Reset Gnome Panels to Default

Uncategorized No Comments

Recently I’ve some problems with the panels in Gnome getting all messed up. It can be difficult to get everything back exactly where you want it. Easy solution is just do delete your config and let gnome rebuild it back to the defaults.

At the terminal type:


rm -r ~/.gconf/apps/panel

Backup IMAP Account

Uncategorized 1 Comment

All of my email accounts are IMAP accounts so I have my email anywhere I go. I always worry about making a mistake and losing all my emails. I found this great program that lets you backup your IMAP emails and folders.

http://www.broobles.com/imapsize

To schedule a backup:

imapsize -backup -account=test_account

Ubuntu Restricted Formats

Uncategorized No Comments

sudo apt-get install ubuntu-restricted-extras

openSUSE Repositories

Uncategorized No Comments

In the repository folders at http://download.opensuse.org/repositories under your version there is a .repo file for each repository. I haven’t found the GUI front end to import these yet but from the command line you can copy the file to /etc/zypp/repos.d/ to add them to your repositories.

OpenSUSE

Uncategorized No Comments

I’ve decided I’m going to start looking into using OpenSUSE 11.1 as my main distro. I have started moving over to SUSE Linux Enterprise Server 10 at work and I figure the more I familiarize myself with it then better off I will be in the long run. Yast seems like a very useful tool and I’m still playing with it. I will miss APT more than anything. I’m going to try and document the steps I needed to take after install here.

Installation of codecs:
http://opensuse-community.org/Restricted_Formats

Vista Quarks

Windows No Comments

I think I have decided that I very much dislike Windows Vista. However, a few things that I always seem to forget where they are that can help me when I’m in a hurry are…

Run program with administrative privileges:


Start > Type the program in the Search Box. (for example: cmd)
Hold Shift + Control then hit Enter.
UAC will then request permission to run as Administrator.

Turn off/on User Account Control:


Start > Type "msconfig" in the Search Box.
UAC will ask for permission.
Click on the Tools tab.
Select "Disable UAC" or "Enable UAC".
Click on "Launch"

Windows Fonts

Windows No Comments

I have been doing some work lately for a couple of screen printing/vinyl businesses. One of the hardest things is matching fonts to certain designs. I use Corel Paint Shop Pro X for any graphics I create. It has most of the tools needed and is capable of doing some basic Vector graphics with Fonts. One of the programs I found that I have used to help me match fonts is FastFontPreview by Lanmisoft. I have included a screen shot so you can see what I am talking about. It gives you a preview of all your fonts and you can customize the text.

fastfontpreview1

A few websites I found to download fonts are http://www.fontspace.com and http://www.creamundo.com.

eDirectory Authenication – Command Line

Netware No Comments

First, I take no credit for this one… This is from:


http://thebackroomtech.com/2009/02/23/howto-authenticate-to-edirectory-via-the-novell-client-command-line-style/

However, I wanted to have the info here just in case thebackroomtech.com disappears…

This would process the login script also:


%SystemRoot%\system32\LOGINW32.EXE  .user.ou.o /PWD password /CONT

This would simply map the network drive:


net use x: \\server\vol /user:.user.ou.o password

« Previous Entries Next Entries »