Archive

Archive for the ‘DIY’ Category

Find/Replace text in multiple files with sed

October 13, 2011 1 comment

sed -i ‘s/old-word/new-word/g’ *.txt

Just replace old-word, new-word, and *.txt with your particulars.

Advertisements
Categories: DIY

Adding a non-detected modeline in ubuntu as default

December 16, 2010 Leave a comment

I adapted the procedure I found here to make my old Samsung Syncmaster 192N work at its native resolution. It is running through an old projector on the ceiling, which I’m sure is what is breaking the autodetection.

cvt 1280 1024 75

That returned: # 1280×1024 74.90 Hz (CVT 1.31M4) hsync: 80.30 kHz; pclk: 138.75 MHz
Modeline “1280x1024_75.00”  138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync

Added these lines to /etc/gdm/Init/Default:

xrandr –newmode “1280x1024_75.00”  138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync

xrandr –addmode VGA-0 1280x1024_75.00

xrandr –output VGA-0 –mode 1280x1024_75.00

Now it starts out at the correct resolution at startup, regardless of the state of the projector.

Categories: DIY, linux, ubuntu

Automatic Restart for Windows XP

August 23, 2010 Leave a comment

C:\WINDOWS\System32\shutdown.exe /r /d P:1:1

Categories: DIY

Active Directory integration in Linux and OSX

August 26, 2009 Leave a comment

Likewise has a really impressive free product that lets Linux and OSX users integrate into an Active Directory environment very easily. In fact with linux I think it’s easier than with Windows!

In ubuntu you can install the likewise-open-gui package. For OSX you can download the installer package from the likewise.com website and follow the 10 minute setup guide.

Categories: DIY, linux, networking, OSX, Software, ubuntu

spokenword.org – excellent RSS tool

March 1, 2009 Leave a comment

SpokenWord.org is a website which takes shared web content into a new paradigm. It allows you to make a custom rss feed that is a conglomeration of feeds, which can be based on your own feeds, published feeds, or others’ spokenword custom feeds. I see it making podcasting truly useful for me.

The whole thing is really a database that links content from many places, runs it through filters, and spits out just what you want. It is amazing.

Categories: DIY

Thunderbird/Lightning and Evolution calendars on Scalix

February 20, 2009 Leave a comment

Scalix 11.4 has fully functional CALDAV, which enables Thunderbird/Lightning and Evolution users to enjoy server based calendar functionality previously limited to Scalix Web Client and Outlook users. It works extremely well, and is really not too difficult to set up.

TB/TB-2008-01-CALDAV – Scalix Wiki

Categories: DIY

Ubuntu wifi drivers for Dell Vostro A860

February 17, 2009 Leave a comment

A regular system update within Ubuntu 8.04 broke the wifi drivers a Dell Vostro A860. Here’s all it took to get it going again:

Code:
mkdir ~/tmp
cd ~/tmp

Download madwifi hal driver:

Code:
wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6-current.tar.gz

… and extract it:

Go into source directory:

Code:
cd madwifi-hal-0.10.5.6-r3861-20080903/

… and run:

Code:
make
sudo make install
sudo reboot

From the bottom of this post.

Categories: DIY, linux, ubuntu