Posts Tagged ‘linux’

h1

O’Reilly on iPhone!?

21 September 2009

You can now meet your tech reference book needs on the iPhone! O’Reilly media has published over a hundred of their books on the iPhone in cooperation with Lexcycle. And they’re way cheaper than their paper counterparts!! Check the App store for the cookbooks and pocket references we love.

Is this a sign of things to come? Hopefully well be seeing more reference and textbooks soon on the app store.

h1

setting up MPD

13 November 2008

Setting up the Music Player Daemon (MPD) can be easy and fast with a little help. Here’s what to do to get it going after installing it (with apt, emerge, pacman etc):

rm /etc/mpd.conf
(just in case)
vim /etc/mpd.conf
(put in it and change to suit)
music_directory        “~/music”
playlist_directory    “~/music/playlists”
db_file                “~/.mpd/db”
log_file            “~/.mpd/log”
error_file            “~/.mpd/error”
pid_file            “~/.mpd/mpd.pid”
state_file            “~/.mpd/mpdstate”
user                “youruser”
bind_to_address        “127.0.0.1″
port                “6600″
(save it and close)
mkdir ~/music
mkdir ~/music/playlists
(if you need to)
touch ~/.mpd/mpd.pid
mpd –create-db
(if this doesn’t work, check the user in mpd.conf)
mpd

To get it to run on bootup: (for Arch linux)

add mpd to /etc/rc.conf to have it on boot up.
(in the DAEMONS line)

h1

Something new

19 March 2008

I am working on something new. It is small and not very pretty, but I think the command line user in all of us will enjoy it. For now, I leave you with the teaser : curses-based python game. Anyway, moving to google code hosting is taking a little setup, but I think its worth it. A beta should be available soon. Is an iphone version coming too? We’ll see. 

h1

Eee PC compiz install

25 January 2008

I have fallen in love with the asus eee pc – my new mobile linux machine! It plays nice with my iMac and works well with a special eeeXubuntu install. After some trial and error I’ve put together some quick instructions for getting the snazzy window manager compositing engine Compiz running on this little box.

So this requires:

  • an Eee PC running eeeXubuntu.

That’s it.

::::Compiz install instructions::::

1. Either download this zipfile with configuration settings already set and ready …. or you feel really adventurous and want to do it all yourself later (not in this how to guide!).

2. Run

sudo apt-get install libgl1-mesa-dri compiz-core compiz-plugins compiz-fusion-plugins-main compiz-fusion-plugins-extra emerald compizconfig-settings-manager

3. Add to end of /etc/X11/xorg.conf

Section “Module”
  Load “glx”
  Load “dri”
  Load “dbe”

EndSection

Section “DRI”
  Mode 0666
EndSection

Make sure this file ends with two new lines (blank lines, carriage returns). It will totally mess up your X11 setup otherwise!

4. Restart the x server with ctrl-alt-backspace.

5. Hit alt-f2 and type in:

compiz –replace

This should result in a pause and then nifty new windows!! Now if you like the result, you can make it start up every time by adding the last command to your startup items (I’ll leave how up to you).