Friday, October 31, 2008

Kostenlose Erotkseiten De

Fashion HOW-TO: Script + Hotkey to Enable / Disable Touchpad

time ago I use ubuntu, and little by little, you realize that some details are missing. But once you realize it's not that hard to get down to work and settle yourself those little details that make your day more enjoyable. Today we are concerned
a problem I have some time, and has increased more since I started playing games with Wine under Ubuntu 8.04, the touchpad. When using Windows might disable the touchpad with HotKey partner, but this key does not work on my Ubuntu for some time now.
As I suppose there will be many of you at the same sitiacion, I decided to create this little HOW-TO to make life a little easier for Ubuntu users.
[Hands ]

STEP 1, On SHMConfig some research we realized how easy it is to enable / disable the touchpad. We just have to run a command with the value 0 or 1. But before that we need an option to enable the touchpad. Began:


Edit the xorg.conf file with the command:


udo s gedit / etc/X11/xorg.conf

Now we have to find the section of the Synaptics touchpad, which should look like this :
In this section we add =>
Option "SHMConfig" so that it looks like:


Reset the X server (Ctrl + Alt + Bcksp) or failing that Ubuntu itself .
You can enable / disable the touchpad
by using Command Line:
synclient TouchpadOff = 1 / / Disable
synclient TouchpadOff = 0 / / Enable
STEP 2, On HotKey + Script
So far so good, but really want to open a console whenever we want off touchpad? Certainly not, so now let's move to assign this action to a HotKey, so that we can do it with a simple gesture keyboard. For them we will need to turn this into a script that changes the state of the variable automatically. So I've assembled the following script to query this value and change it. As easy as this:
# / bin / bash
state = `synclient-l TouchpadOff (Gconf-editor)


Execute the program gconf-editor

Sail to => apps \\ metacity \\ keybinding_commands
Edit
free tengais first key (for example 'command_1')


then navigate to:
apps \\ metacity \\
global_keybindings

desired combination Assign the key for 'run_commandoanterior' in our case
'run_command_1'








READY!



Now you can activate and deactivate the touchpad with the combination chosen.









binding Greetings and happy!


Thursday, October 30, 2008

Watch Soft Park Online

Advanced Scripts: A script that parses a file Debate

One of scripts. Tickets will go on making scripts, some introductory and more advanced. Today we will see how to make our scripts can set their variables from external files.

This is especially useful when we update our scripts on different machines and do not want to alter the configuration of each.
copy.sh

# / bin / bash
ruta_origen = / home / juanjo
destination_path = / mnt

function copy {$ cp-vr} ruta_origen $ destination_path With what if we change the script to your computer, maybe / home / junajo not exist. Let's do it right. Create a properties file, for example
copy.sh.properties
And in place: # File
copy.sh Properties property = value
    # source = / home / juanjo
  1. destination = / mnt
    Now in the file add the function copy.sh property: # / bin / bash function
    Property {
    if test-r $ 0.properties
  2. Then
  3. cat $ 0.properties take care!

Streaming Rachael Darrian

options: I vs. the Rest

After four years of sharing experiences, lessons, practices and others with my 12-inch PowerBook G4 was time to have more power. I was very clear that my next purchase would be a MacBook Pro, but coincidences in life when I went to buy the new MacBook Pro (black keyboard) and this event was that I would think that purchasing model: The old MacBook Pro or again. All this led to generate a debate in the office and is forming two teams in the purest style Cold War. On the one hand call them Mr X and Mr Z, and moreover Mr. "P" and finally me.


  • To Mr. "X" and Mr. "Z" were appalled that spent 1749 in a laptop, argued that the price had PC products with best performance which could even install Leopard. In this regard I have nothing to say as I agree with them. Another argument was that brought out the famous theme of games for Mac That if the graphics drivers are closed. What if I can not play counter that if that if it is. Disagreed on this issue both Mr. "P" like me. Since we both do not buy a Mac to play (Mr. "P" also has a MacBook Pro). And here we can open the next debate: How useful going to give your laptop?
    . In the end these gentlemen ("X" and "Z"), Ubuntu users have to use an application emulator to play in ubuntu, as I do on my mac.
  • Meanwhile in another part of the office Mr. "P" insisted that bought the old MacBook Pro, since the new longer had the essence of Apple adding a black keyboard, black screen edge, screen brightness "Glossy "and others. Certainly, Mr. "P" was right. Another argument was the lack of technology innovation of the product (two graphics cards, buttonless track pad, DDR3).
  • Finally after a long deliberation with my girl Mrs. "A", and lots of patience on your part, we decided to buy the old MacBook Pro, to which we add that was a big discount on the release of the new model and was in 1399 €, the price was still shocking to "X" and "Z". The main topic of discussion of this for me is the design, layout by Apple engineers who try to take care of every detail of each product, and certainly they have achieved so far. We know that Apple does not include all the technology on the market, prefers to focus on that product is light, small, durable, strong, beautiful, independent.
    I liken it to cars buy cars that are more expensive than others who have better performance, because by design, exclusivity, beauty, details .....
     
  • are not discovering anything new, it is called economics Strategic Advantage (Yes, sir "P" that economy which stayed in the race;)), in which a company can rely on

    differentiation (
    Apple
    ) or be 

    cost leader. Then there is the buyer who is deciding what to buy. Maybe if you buy something from a company based in differentiation not only buy the product but forms part of a philosophy that such companies are in charge of building a base of publicity or along the story through the choices they have made.

    philosophical After this string I have to say that the purchase has been perfect and thank you very much to everyone in this story especially my girl, Ms.
    "A"
    .


    Wednesday, October 29, 2008

    Tech Deck Birthday Invatations

    Research: Installing Debian etch on Pentium II with 64 MB of RAM

    And here we go again!

    How many of us have an old computer at home? Something like a PII with 64MB of RAM that we could not get rid of the time and now only takes up space ... Did tirásteis away? sorry, having read this before, perhaps not had done it. So yeah, now we'll see how to recycle our old Pentium, for example, into a media center. need an image of Debian 4.0 etch netboot, dischargeable in Here . Tostadla on a CD and go to your old Pentium, started from the CD and such.
    1. Begin the installation as a normal Debian. I would not put the obvious steps, only those who can be critical.
      Choose your keyboard layout and location:




    2. Leave a partition scheme like this:


    3. assume that the team has very little hard drive, a 4 Gb and we can put everything in one partition. Once written to the disk partitions and configured the network, users etc, we choose a mirror from which to retrieve packages.

      Choose
        is best you go. Then select the packages you want to install, that is, except the standard system, none. You have to save space y. .. Memory! We do not want processes always running around our little RAM.


      1. Once selected only "standard system" is downloaded and installed the packages, by the way, pretty quickly. Then we asked to select the screen resolutions we can make it by default.


      2. restarts. Appearance:


      3. For the test, I created a user called debian debian and put password as the password for root "debian" So now I will be able to log into my new Debian system:)
      4. , we first will:
      5. its root aptitude install x-window-system-core fluxbox

        so we installed the system x and the fluxbox desktop. Fluxbox is a lightweight desktop and quite powerful, perfect for a media center based on a Pentium connected to a TV and a mouse.
      6. To start the gui: startx

        Now, if we start the graphical environment when the system boots, you can edit the file / etc / init.d / rc.local: Below the line "do_start" add: startx
      7. Now we can install the packages that we believe appropriate, including: Web browser: iceweasel

        File Explorer: thunar

    gstreamer-plugins-ugly


    gstreamer-plugins-bad


    mplayer


    Document Editor: abiword





    Package Manager:


    synaptic



    And so, to what you need. Certainly the list can be long.

    A guard!


    Monday, October 27, 2008

    Astrononomical Reflector Manual

    Interactive Map: Linux Kernel









    Interactive map of Linux kernel

    , a detailed map of 'how Linux inside ", ideal for those learning. You can navigate with your mouse (wheel = zoom

    ) or through the window controls, the various details are conveniently hyperlinked.





    's not exactly an entry relating to technology, but rather with the theory (although the program for Linux that is basic

    ) but is interesting enough to avoid waste.

    Extracted from this link to Microserfs:




    Wednesday, October 22, 2008

    Best Bang For Your Buck Camcorders

    Edit the scripts in the initrd

    And another one! Today we will see how to edit the initrd. I guess to you it will happen any practical application for this. Well, here goes:
    Copy the initrd file to a folder:
    If it is a gz :
    sudo gunzip initrd.gz



    If what we have is a inird.img, we first:


    gunzip-S. Img initrd-2.6.X.img

    Y After

    initrd sudo cpio-imdF And presto, there you have unzip the initrd.