Archive for septembre 2010

Random Playing in Mplayer

I was looking for a way to play random music on my computer using mplayer and needed to shuffle recursively throughout many mp3/ogg files and directories in order to do so.

mplayer -shuffle `find . -name "*.mp3" -o -name "*.ogg"` does the trick.

Because of the result of my `getconf ARG_MAX`, I can only random through 2097152 files… but it’ll be alright I think…

Of course you can also make an alias out of it, as follows :
alias randomize=’mplayer -shuffle `find . -name "*.mp3" -o -name "*.ogg"`’

And one more thing : no gaps in the file paths. Use underscores "_".

Thank you again mirmo, christophe971 and kik…

Read Full Post »

WindowMaker Icon Free

It’s been quite some time since I wanted to do this… I cannot use any other window manager than WindowMaker but with the mini I badly need space on the desktop… I never use the application icons nor the WMClip/WMDock ones… Here is how it all goes away :

First the application icons :

Just right click on the titlebar of your application and launch the specs (attributs in french)… Choose not to have the application icon… Do this again with every application commonly used and you’re ready for the next step…

The WMClip/WMDock icons :

This image speaks for itself… Just open the wmaker preferences and add 2 big red crosses… Restart your wmaker after saving your session…

Now live happily ever after, using alt-1 alt-2… to switch in between desktops…

Read Full Post »