Posts tagged linux

Talking MP3 Players!

So I have recently purchased a sanza Fuze but my mom’s already taken it for her to listen to some audible books, and I’ve had it for less then 2 weeks…

Yea that didn’t take long!

So I stumbled onto this site Talking MP3 Players and I had to give it a shot.

I’ve played a bit with the older rockbox on a series 1 ipod so needless to say it was a while ago, and I had forgotton about rockbox and what players it supported (and if your wondering why I chose the sanza fuze, it’s because I run linux and finding an MP3 player that’s supported is harder then you think!) then I saw that they now also support Talking directory and song titles!

Wait, OMG! An mp3 player that even the blind could use? This is a great idea! So to support them (and get me a new mp3 player!) I’ve ordered a new sanza fuze 8gb and am anxiously awaiting it’s arrival with rockbox and voicebox support already installed and configured! SWEET! I’ll post some pics of it when I get it unwrapped!

Simplify extracting files in the commandline with this alias for your .bashrc file.

This is a straight forward example of using bash script’s to make everyday use so much easier.

Open your .bashrc file in your favorite editor and add this below the alias section.

  1. extract () {
  2.   if [ -f $1 ] ; then
  3.     case $1 in
  4.           *.tar.bz2)     tar xvjf $1    ;;
  5.           *.tar.gz)      tar xvzf $1    ;;
  6.           *.bz2)         bunzip2 $1     ;;
  7.           *.rar)         rar x $1       ;;
  8.           *.gz)          gunzip $1      ;;
  9.           *.tar)         tar xvf $1     ;;
  10.           *.tbz2)        tar xvjf $1    ;;
  11.           *.zip)         unzip $1       ;;
  12.           *.Z)           uncompress $1  ;;
  13.           *.7z)          7z x $1        ;;
  14.           *)             echo "don't know how to extract '%1'…"
  15.       esac
  16.     else
  17.       echo "'$1' is not a valid file!"
  18.     fi
  19. }

Now when you want to extract an archive in the terminal, just type in “extract filename” obviously replacing filename with your actual filename.extention and hit enter :)

Isn’t linux beautiful!?!

Screenshot-11

Getting your Zune to work in linux, kinda.

So alright, yea, I own a Microsoft Zune.

I do really like it as well! (it’s really quite loud even if the antenna for the radio sucks!)

However I’ve recently decided that running Microsoft Windows just wasn’t going to cut it any longer, and with the fit and finish of Ubuntu I haven’t even had a wanting for anything Windows related other then getting music (and more importantly my netcasts and audiobooks) on my zune (well and photoshop…).

Most applications do recognize that I have a media player plugged in (works great for my Sony PSP however!) but being the Zune’s file content is encrypted in a fashion which renders it moot to try moving or deleting content from it that I had to find another way.

Enter in VirtualBox.

Now to be clear I’m talking about the actual VirtualBox from http://www.virtualbox.org/wiki/Linux_Downloads not the one available from the repositories in Ubuntu and I’ll get to why in a moment.

You’ll also need a valid copy of windows. Any flavor that will run the Zune software. I’m using a stripped down version of XP that I’ve cleaned up and slipstreamed using nLite.

Now download your version of VirtualBox using the above link and install it. Ubuntu users will just double click the .deb file and enter in your password and it will begin.  The reason we’re using the official (ie: Non-free as in speach not beer) is that there is no USB support in the “OpenSource” version that Ubuntu host’s in it’s repo’s and yea, your going to need USB support.

Once it’s installed we need to setup a new Virtual OS inside of it. There’s TONS of post’s out there that will explain how to setup a virtual box install so I won’t go into detail other then to say that after you have Windows installed and shutdown you need to enable USB sharing by going to: Settings>USB and clicking the USB plug icon with a “+” symbol in it and selecting the Zune that you already have plugged into your pc.

Now of course you should have already installed the Zune Software inside of your virtual os (I shouldn’t have to tell you that should I?) and whatever other software you wish to use. Also the “Shared folders” inside of VirtualBox is quite handy as well. (I’ll touch on them a little later as well)

Now here’s where I might actually be able to save a few of you some headache’s. You’ll probably find out that when you go to the Zune software it’s not able to connect to your Zune even though the linux side see’s it just fine and it’s listed in your device manager on windows, the Zune software keeps telling you to try dissconnecting and reconnecting your player but it still doesn’t recognize it. DON’T bother trying to do that, it’ll just keep returning the same error. Instead, on the bottom of the VirtualBox window you’ll see that same USB icon. Right click it and un-select your Zune and then re-select it. (also make sure if your Zune is protected with a pin number you’ve already typed that in successfully.)

Now the Zune software should see and have connected to your Zune player!

As for the “Shared Folders” Setting in VirtualBox it’s handy to move music over to your virtual OS instead of trying to figure out other ways and you can, after setting them up inside of the VirtualBox settings, they are located at “\\Vboxsvr” or step by step, open up “My Computer” click on the “Folders” Button, then browse in the file tree to: My Network Places>Entire Network>VirtualBox Shared Folders>\\Vboxsvr. Here’s a screenshot for reference.

I hope that this has helped! I was tired of having a dual boot system and having to restart my laptop every time I wanted to update my Zune (it was messing with my uptime bragging rights in the IRC channel :P ) now I just shutdown the virtual os instead and keep on trucking!

Thank you SO much Oracle/Sun for making VirtualBox so great and best of all free as in beer!

Screenshot-3

Screenlets make for a beautiful and informational desktop

So I just installed screenlets and have modified my .conkyrc file to provide a minimal, beautiful desktop if I do say so myself.

I’m running ubuntu 9.10 on my laptop and am using the “deep” theme for the wallpaper clock.

Here’s what it looks like:

and if you want my very minimal .conkyrc file here’s that:

[codesyntax lang="bash" lines="no"]

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color black
default_outline_color black
default_color 102b45
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

TEXT

${loadgraph 20,245 2f5c85 FFFFFF -l -t}
${alignr}${loadavg 1}/${loadavg 2}/${loadavg 3}

[/codesyntax]

Be glad your a linux user! Openness is beautiful!

ubuntu linux

Some quick OS Wallpapers

So it’s been a very long week, and I just wanted a few things to look prettier as I’ve been staring at them for so long. Mostly my computers.

So I cracked into my old habit of photoshop and made a few simple, black, glassy wallpapers for my main 3 (don’t worry a special debian version is comeing up soon!) so here they are in no special order:

crunchbang linux

crunchbang with title

crunchbang linux no title

Windows 7:

windows 7 - normal

windows 7 with a large shadow

and more linux ubuntu this time:

ubuntu linux

I figured being I used the ubuntu font I should at least do one for them as well :)

feel free to download and share, as long as you leave atribution to my by providing a link back to this site.

Creative Commons License
OS Wallpapers by Daniel Stinebaugh is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
Based on a work at stinebaugh.info.

And just to show off what it looks like on my system, here’s a screenshot: