Tuesday, January 18, 2011

Open Source Your Rave with OpenLase

Open Source Your Rave with OpenLase: "


Without a doubt, Laser Projectors are a great way to project large, bright images on any surface you can imagine. With a high enough quality projector and software package, excellent images and visualizations can be displayed in real time. [marcan], of the openkinect project, decided that there were not any open source laser projection packages out there that suited his wants or needs, so logically he decided to write his own. Because home-made laser projectors often use the audio out port of a PC, building the framework on top of the JACK unix sound software to control the hardware made perfect sense. OpenLase includes plugins for audio visualizations, 2D and 3D gaming, as well as converting video streams into laser format in real time.


Be sure to check out the Chaos Communication Congress presentation [marcan] gave after the break, as well as all the extra demo videos on his website.

Friday, January 14, 2011

How to fix Emacs 23 Huge ungly font on Lucid

Since I've upgraded to Ubuntu 10.04 (Lucid) Emacs 23 now has beautiful antialiased fonts, but I like the old bitmaped X11 "fixed" font. I do use a .Xresources file to setup emacs default font.

This is my emacs section at .Xresources
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! emacs, xemacs

!emacs*Background: DarkSlateGray
emacs*Background: Black
!!!emacs*Foreground: Wheat
emacs*Foreground: White
emacs*pointerColor: Red
emacs*cursorColor: Red
emacs*bitmapIcon: on
emacs*font: fixed
!!!emacs*font: 9x15bold
!!emacs*geometry: 100x40+20+20

But for my surprise using this setup emacs launches with a ugly huge serif font.

I tried to launch emacs with -fn fixed but the ugly font did still there.

So I checked at my /etc/X11/fonts/misc/xfonts-base.alias, which is the file where fixed font is declared. And it was there:
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
And which had called my attention, was that 6x13 font alias had the same properties as the fixed:
6x13 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

So launching emacs with -fn 6x13 gave me back the look and feel I wanted. After that I changed my .Xresources to use 6x13 instead of fixed. And it is done.

I don't know what was done with emacs but this little work around fix the Huge Ugly font issue which I had see while I was googling arround on that subject.

Wednesday, January 12, 2011

Extended desktop at the login screen in ubuntu

I have an ATI Raden dual head at my desktop here at my job. I like to use WindowMaker as my window manager of choice, but since I had upgraded to Ubuntu 10.04 Lucid, WindowMaker is showing some issues regarding the dual monitor setup. WindowMaker follows the login screen (GDM) monitor setup and when I launch a gnome-session, things get messed up.

The first solution which came to my mind is to make gdm aware of the two monitors.

"Googling" around I've found two usefull links:

Following the first section of the first link ("Extended desktop through both monitors") I've wrote my new xorg.conf file:
Section "Monitor"
Identifier "monitor0"
EndSection

Section "Monitor"
Identifier "monitor1"
Option "RightOf" "monitor0"
EndSection

Section "Device"
Identifier "card0"
Driver "radeon" ### EDIT ###
Option "Monitor-DVI-0" "monitor0" ### EDIT ###
Option "Monitor-DVI-1" "monitor1" ### EDIT ###
EndSection

Section "Screen"
Identifier "screen0"
Device "card0"
Monitor "monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 1280 1024 ### EDIT ###
EndSubSection
EndSection

Section "ServerLayout"
Identifier "default"
Screen "screen0"
EndSection

And everything worked just fine.