getting lessc working

after trying to get lessc working following the post http://ken.edmonds-commerce.co.uk/css/four-commands-away-from-installing-less-css-on-ubuntu/ with no luck i finally managed it as follows (and as i just notices these are also only four command) …

sudo aptitude install git nodejs
sudo git clone https://github.com/cloudhead/less.js.git /opt/lessc

open your .bashrc file using the command

gedit ~/.bashrc

and add the following new line to make lessc work

alias lessc='nodejs /opt/lessc/bin/lessc'

as the alias takes no effect in the opened terminal open a new terminal and it will work

workaround: slow printing pdf documents and images on the hp 2200 dtn

i tried everything to fix the slow printing of the hp 2200 dtn but nothing really helped .. the only thing seems to be to replace it with a different one …

i have the fit-pc2 running 24/7 and there is also running windows xp in virtualbox on it .. so i thought why not configure the printer in windows xp and share it …

using this shared windows printer the pages are printed in no time …

change the default terminal window size

to change the default terminal window size you have to edit the file

gksudo gedit /usr/share/vte/termcap/xterm

and change the line (10) which reads something like

:co#132:it#8:li#26:\

where co#132 means 132 columns and li#26 means 26 lines .. dunno what the it#8 stands for .. it did not change anything altering it …

vnc requires to enter password for keyring 'default' to unlock on remote machine

i’ve set up my fit-pc2 running linux mint 9 isadora and wanted to remote control it via vnc .. every time i wanted to log on i was asked for the password of my keyring ‘default’ …

following the tutorial i’ve reset the password for the keyring to be blank .. now i can connect without having to enter a password on the remote machine …

http://maketecheasier.com/auto-unlock-keyring-manager-in-ubuntu-intrepid/2009/03/14

as i only access it within my local network and i am the only user on that machine no big security risk …