$ mencoder input_video.flv -audiofile input_audio.mp3 -oac copy -ovc copy -o out.flv
quinta-feira, 28 de abril de 2011
Mencoder: Join audio to a video
terça-feira, 26 de abril de 2011
Shell: Remove Last Character From String / Line / Word
The % is bash parameter substitution operators which remove from shortest rear (end) pattern.
Referência: nixCraft
$ x="foo bar"
$ echo "${x%?}"
$ foo ba
Referência: nixCraft
terça-feira, 12 de abril de 2011
Eclipse: Eclipse CPP x86_64 crashes on Slackware64
Add
to eclipse.ini
Referência:https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227
-XX:-UseCompressedOopsto eclipse.ini
Referência:https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227
sábado, 12 de março de 2011
Slackware: awesome-3.4.10
First, you need compile and reinstall cairo with the flag --enable-xcb. Retrieve from a Slackware repository and recompile it yourself.
Install the libraries:
- imlib2 at slackbuilds.org
- lua at slackbuilds.org
- libev at slackbuilds.org
- libxdg-basedir at r3n4n-slackbuilds-libxdg-basedir
Install awesome window manager. SlackBuild at r3n4n-slackbuilds-awesome
Install the libraries:
- imlib2 at slackbuilds.org
- lua at slackbuilds.org
- libev at slackbuilds.org
- libxdg-basedir at r3n4n-slackbuilds-libxdg-basedir
Install awesome window manager. SlackBuild at r3n4n-slackbuilds-awesome
quarta-feira, 9 de março de 2011
sábado, 26 de fevereiro de 2011
Chrome: Java support for Linux Google Chrome
As root (Slackware x86_64):
# mkdir /opt/google/chrome/plugins
# cd /opt/google/chrome/plugins
# ln -s /usr/lib64/java/jre/lib/amd64/libnpjp2.so
terça-feira, 1 de fevereiro de 2011
X11: Disable screen shut off with VLC
# Turn off monitor modes that will power down,
# standby or blank the screen:
$ /usr/bin/xset -dpms
$ /usr/bin/xset s off
# Open VLC:
$ /usr/bin/vlc "$@"
# Re-enable modes:
$ /usr/bin/xset dpms
$ /usr/bin/xset s on
Assinar:
Postagens (Atom)
Drunk Penguins
Drunk Penguins