Linux no sound after resuming from suspend/hibernate
This problem was annoying me under a Debian-based distro. I read a lot of tricks to solve that, some of them like to “install the latest kernel version”.
Anyway, at least for me the command below solved the problem:
sudo alsa force-reload
LaTeX Error: LaTeX2e command
When using one of the Lecture Notes stye for an article I faced the following error with LaTeX: ! LaTeX Error: LaTeX2e command \usepackage in LaTeX 2.09 document.
To solve that I changed the \documentclass{llncs} command to \documentstyle{llncs}.
For more informations why check out here.
That’s all.
ffmpeg Unknown encoder ‘libmp3lame’
I was trying to convert a .flv file to mp3 when using the command ffmpeg -i video.flv -acodec libmp3lame -ab 196k -ac 2 -ar 44100 audio.mp3 came up with Unknown encoder ‘libmp3lame’. It was because I did not install the ffmpeg from source and in the binary the –enable-libmp3lame was not defined. Ps.: To see what options are enabled just ffmpeg –help
To solve this problem I did the following:
- Installed the libmp3lame from source: wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz; tar -xvf lame-3.97.tar.gz; cd lame-3.97;./configure; sudo make && make install
- Removed the pre-compiled ffmpeg installation: apt-get remove ffmpeg
- Downloaded its source: svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
- Installed the source setting the –enable-libmp3lame option up: sudo ./configure –enable-libmp3lame; sudo make && make install
- And ffmpeg -i video.flv -acodec libmp3lame -ab 192k -ac 2 -ar 44100 audio.mp3 command should works properly
Page-crunch, the Linux Fineprint.
Since I’ve been using only Linux for some years I missed Fineprint a lot. It is a nice app and I’ve never found nothing similar for Linux, even with the raw psutils (that I’ve been struggling with for some weeks long) I could not have the things done the way I would like.
I was pleased with Page-crunch, a tk-based application that does a front-end to psutils with everything I wish to print pdf files maximizing the useful space. Check out the following screenshot, the interface displays the enough options for printing and visualization. With some tests, for sure, Page-crunch will provide you a nice print work. VoilĂ .

Ubuntu : Real transparence in Terminator
Hi fellows,
Following a tip to configure the terminator terminal to real transparence.
First, if you don’t know terminator take a look (it’s a useful tool!)
Once you have installed it:
sudo apt-get install terminator
You’ll see that even if you mark “real transparency” through righ click in the screen > Edit Profile > Appearence tab, it didn’t work.
So the workaround to this issue is to use transset-df tool that turn any window transparent:
Unfortunately, the transset that are found in apt is not the right one, so you should install it from the source:
wget http://forchheimer.se/transset-df/transset-df-4.tar.gz tar -xvzf transset-df-4.tar.gz rm transset-df-4.tar.gz cd transset-df-4/ make make install rm -r transset-df-4
Once installed, create a launcher to terminator (at /usr/local/bin for instance):
sudo touch /usr/local/bin/terminator sudo chmod +x /usr/local/bin/terminator
And paste the following commands (using vim with sudo for instance):
#!/bin/sh exec /usr/bin/terminator $@ & sleep 2s transset-df --id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW): window id # " | grep -o -E -e 0x[a-z0-9]+` 0.75 &> /dev/null exit
Now run terminator from this launcher and it should be transparent!

Some useful shortcuts:
Ctrl + Shift + O: Split horizontally
Ctrl + Shift + E: Split vertically
Ctrl + Shift + P: Turn to the previous terminal view (ou Ctrl + Shift + Tab)
Ctrl + Shift + N: Turn to the next terminal view
Ctrl + Shift + W: Close the current terminal view
Ctrl + Shift + Q: Quit terminator
If the Terminator’s title-bar is showing “None” in spite of the current directory it is because your environment does not know the variable PROMPT_COMMAND. So, add the following line to your .bashrc file:
PROMPT_COMMAND=’echo -ne “33]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}07″‘
See ya
See more:
http://crunchbanglinux.org/forums/topic/1003/terminator-transparency-workaround/
https://help.ubuntu.com/community/TransparentTerminals