How to enable fan control in Debian Wheezy for Asus p8z77

Download this patch and compile it with make and make install https://github.com/groeck/nct6775

Add nct6775 into /etc/modules

Follow this answer http://askubuntu.com/questions/22108/how-to-control-fan-speed#answer-46135
In the step 3 you can use /etc/init.d/kmod start To load the modules without rebooting the system

My color prompt in Debian Wheezy

This is my new full color prompt for my user.

Just edit ~/.bashrc where PS1 is defined and add this:

PS1='${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\[33[01;33m\]\h\[33[0;32m\]<\[33[0;31m\]${?#0}\[33[32m\]>\[33[0;36m\]\w \$\[33[00m\] '

GNU Screen

Full screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).

Debian package: screen

Info: http://www.debian-administration.org/articles/34

Quick command list:

screen
Run a new screen session
screen -DRA Reattach to a previously detatched session adapting the size of the windows
screen -ls List sessions
screen -wipe <session> Delete a session
Ctrl-a c Create a new window.
Ctrl-a k Kill the current window – after confirmation
Ctrl-a Ctrl-a Switch to the other window
Ctrl-a S Split the current window in two.
Ctrl-a TAB Move between split sections of the screen.
Ctrl-a A Give the the current window a name.
Ctrl-a ” List all windows – move around to change the window with the arrow keys

Install Dropbox In An Entirely Text-Based Linux Environment

Install Dropbox in an small server (like a netbook or a raspberryPI) can make fast and easy automatic file transfer between your computer and your server.
To do it, follow the instructions in:  http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-in-an-entirely-text-based-linux-environment

Leer Más…

Hello world Delphi

Delphi, also know as Object Pascal is a imperative programming language.

There are few free compilers like FreePascal, IDEs like Lazarus and decompilers like DeDe 3.50.02

This is an example of hello world program runable under Lazarus.

program project1;

type
  THelloWorld = class
    procedure Put;
  end;

procedure THelloWorld.Put;
begin
  Writeln('Hello, World!');
end;

var
  i: integer;
  Hello2World: THelloWorld;               { this is an implicit pointer }

begin
  Hello2World := THelloWorld.Create;      { constructor returns a pointer to an object of type THelloWorld }

  for i:=0 to 99999 do begin
    Hello2World.Put;
  end;

  Hello2World.Free;                       { this line deallocates the THelloWorld object pointed to by HelloWorld }
end.

Solve black screen camera Skype Linux. Solucionar imagen negra camara Skype

The solution under Debian and Ubuntu and all easy-package-system distros is easy, install libv4l-0.
La solución es facil, instalar libv4l-0.

apt-get install libv4l-0

After that we must launch skype with the next command (you can change the launcher in the menu of the system)
Depues, tan solo debemos lanzar Skype con el siguiente comando (tambien puedes cambiar el lanzador en el menú del sistema)

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

If it shows something like “ERROR: ld.so: object ‘/usr/lib/libv4l/v4l1compat.so’ from LD_PRELOAD cannot be preloaded: ignored.” we must search the location of the library:
Si nos muestra algo como “ERROR: ld.so: object can not be preloaded” debemos buscar cual es la ruta de la librería:

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype
Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

%d personas les gusta esto: