Sunday, April 19, 2009

Blog Relationship Counter

Deleting a directory with data capture

Well, maybe this is a very silly tip to some, one of those things you already know, but how much help these little things or tricks when it comes to managing a system, no?

This is for the command line, and it is a very common problem and remove a directory or folder (for those of Windoze) that is not empty. who not encountered when writing the following line commands?


# rmdir
directory rmdir: directory /: The directory is not empty
this obviously because we want to delete the directory contains data.

good order for it to disappear from the map is # rm-rf directory ready


not see it again, that if if they have the necessary permits clear. Greetings

MF

Saturday, April 18, 2009

Board Game All Presidents

creating desktop video

Well let the steaks ...

With the need to create a series of demos and some tutorials came the idea to put together some videos with audio containing the screen capture and voice-over operator. Quickly
to search Google the experiences of others could see that the best option (or at least convinced me) was recordmydesktop
, then I started to install.
comes in its command line version and for those who do not like there is a GUI that gtk-recordMyDesktop lama.
How to do well .. is simple:
# sudo apt-get install recordmydesktop


and if you want the graphical version, I recommend it because it is very intuitive and less hard for the plaintiffs and for practical as well.


# sudo apt-get install gtk-recordmydesktop

once installed we can go to a console and use


# recordmydesktop


it starts capturing the output in the terminal will be something like # recordmydesktop
Initial recording window is September to:


X: 0 Y: 0 Width: 1280 Height: 800

Adjusted recording window is September to:

X: 0 Y: 0 Width: 1280 Height: 800


Your window manager KWin
Appears to Be Initializing ...


Buffer size adjusted to 4096 from 4096 frames.
Opened PCM device hw: 0.0


Playback frequency 22050Hz is not available ...
Using 44100Hz instead.


Recording on device hw: 0.0 in September is to:
2 channels at 44100Hz Capturing


!


then this recording and when we stop pressing ctrl-c and ready output is recorded in a file called default out.ogg
Shutting down.Saved 23 frames in a total of 22 Requests

. ...
Encoding started! This
May take Several minutes.
Pressing Ctrl-C will cancel the procedure (Will Not Be RESUMING possible, pero
Any Portion of the video, Which Is Already encoded Will not Be deleted).
Please wait ...

[100%]
Encoding finished!
Wait a moment please ...
Done. Written

443552 bytes (369 984 of Which Were 73568 video data and audio data)
Cleanning up cache ...
Done!


Goodbye!
#
if you want to run from the GUI in Kubuntu option will be in the Multimedia / gtk-recordMyDesktop
The truth may be much more extensive but there are thousands of tutorials out there on how to use this program and it is certainly and other intuitive, so I'm going to the heart takes to write this post ... Well everything worked perfectly when installed on a computer that was new and had installed Kubuntu 8.04 LTS a few days ago, we recorded a few videos and everyone was happy with the results.
Try to do the same on my Sony Vaio laptop that I have also installed Kubuntu 8.04 LTS but this poor recontra is being updated and upgraded from version 6.0 and for those things in life there is a library that is not equal and happened to me is that running recordmydesktop after a few seconds the program remained frozen, sleeping without activity. recontra Search and search the network until I found a bug related to this issue is the
Bug 244261
apparently would be in the
libx11-6, probe to reinstall and nothing so we do not wear out.
I got to try different options and I realized that this guy freak by any of the stationery of X, then I started to try the different options on the command line ... et voila! him out ...
by using the - full-shots and no problems.
then using

# recordmydesktop - full-shots
or graphic in Advanced mode, "whole in every picture captures" = Enabled it's going to work.
For more technical, apparently the problem occurs between libraries and libX11.so.6 libxcb-xlib.so.0, this is some sort of error when recording only video clips that have changed, that is why the modifier - full-shots that it does is copy the entire screen without seeing what has changed makes no error occurs. And for those who worry that it would occupy more space on the end result or would a larger file, then do not stress because when you encode the video, ignore the repeated parts like when files are compressed.
this is the error that pulls ...
"Locking assertion failure" in

# 0 / usr/lib/libxcb-xlib.so.0 [0x7f1caa44997c]
# 1 / usr/lib/libxcb-xlib.so.0 (xcb_xlib_unlock +0 x24) [0x7f1caa449a84]



# 2 / usr/lib/libX11.so.6 [0x7f1cacc18260]
# 3 / usr / lib / libX11.so.6 (
XNextEvent +0 x62) [0x7f1cacc00c12]
# 4 recordmydesktop [0x409fad]
# 5 / lib/libpthread.so.0 [0x7f1cac0b63f7] # 6 / lib/libc.so.6 (clone +0 x6d ) [0x7f1caa721b2d] I hope you learn I was swearing quite until I found how to solve it, can see the subject in https: / / bugs.launchpad.net /
bugs/244261
. Let them go pretty
their videos, greetings. MF


When Do Ohio Bucks Drop There Antlers



Well long wanted to do this to document my adventures with Linux, I must say that for several winters ago and I do not use Windoze, and I also say I am very happy with it.
As personal experience I can say that when I was a type of system, having been immersed in computers since he was 12 until today that I have 33, having gone through several PC operating systems and played by ear in many mainframes, today it is inevitable that uses an OS like Linux.
As started in the 80's and my old PC intel 8088 I started programming with BASIC and then go to C routines to create thousands of Assembler, and all those things we wanted to investigate when we started programming, we wanted to say because I do not see someone interested in those things at the beginning, but I think that time is history ...
now fully dedicated to providing services related to the same systems that I developed all my servers and my PC are Linux machines, no matter they do have the OS on the penguin because he has shown no breaks so easy and I can trust him, not only by conviction but by pure demonstration to be working on computers that do not go never, never hang and do not bother me ever, but sometimes be too vague ground and did not do the maintenance and deserved poor or complain, still strong and on track. in this blog I hope to leave my experiences so that others can take advantage of them or I criticize them or what they like, many blogs like this have taken me much help, I hope to contribute my bit.
Exitos!