Posts

Showing posts with the label ubuntu

Try ubuntu 14.04 on my old macbook pro late 2009 (Part2)

Try ubuntu 14.04 on my old macbook pro late 2009 (Part2) I trying to do something to make touchpad feel same as in OSX This is one I can find Section "InputClass"         Identifier "touchpad catchall"         Driver "synaptics"         MatchIsTouchpad "on"         Option "FingerHigh" "10"         Option "FingerLow" "1"         Option "TapAndDragGesture" "off"         Option "PalmDetect" "on" EndSection Section "InputClass"     Identifier         "Touchpad"     Driver             "synaptics"     MatchIsTouchpad    "on"     Option         "ClickFinger3" "2"     Option         "HorizTwoFin...

Try ubuntu 14.04 on my old macbook pro late 2009 (Part1)

Aha, This is what I dream for long time to get Linux on MacBookPro. This is what I have done Start with DVD Ubuntu 14.04 I found a loud noise of fan, so I did     sudo apt-get install lm-sensors fancontrol     sudo pwmconfig (don't know what this command did, but I notice nothing)     sudo sensors-detect (last step, did allow it to auto load) I found that I can't adjust brightness so I did     edit /etc/rc.local         put this             echo '1' > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness             echo '5' > /sys/class/backlight/apple_backlight/brightness     for 2 steps above, I'm not sure if they work or not but I did more         sudo nvidia-xconfig ( got invalid xorg.conf )  ...

Pygame dependencies

http://www.pygame.org/wiki/CompileUbuntu Python 2.x #install dependencies sudo apt-get install mercurial python-dev python-numpy ffmpeg \ libsdl-image1. 2 -dev libsdl-mixer1. 2 -dev libsdl-ttf2. 0 -dev libsmpeg-dev \ libsdl1. 2 -dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev   # Grab source hg clone https://bitbucket.org/pygame/pygame   # Finally build and install cd pygame python setup.py build sudo python setup.py install

Something comeup after install git-cola

 This is an error , i got when i ran git-cola "(python:14634): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", follow this link at #6 (https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/853232) ,  Peter Würtz (pwuertz) His post will help you get through this problem by this command $ sudo apt-get install gtk2-engines-pixbuf

Empty trash in linux by command line

rm -rf ~/.local/share/Trash/files/*

Command for kernel checking part 1

For Debian User >> dpkg --list | grep linux-image # To list all kernel. ex.result ii linux-image-2.6.38-10-generic 2.6.38-10.46 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-2.6.38-11-generic 2.6.38-11.48 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64 ii linux-image-generic 2.6.38.11.26 Generic Linux kernel image >> uname -r OR uname -mrs # To display current kernel.

A New Semantic File Launcher for Ubuntu

Synapse Installation To install Synapse on Ubuntu 10.10, launch the terminal (Applications >> Accessories >> Terminal), then issue these commands: sudo add-apt-repository ppa:synapse-core/ppa sudo apt-get update sudo apt-get install synapse Then .... space ,ta use it. ref : http://www.spotht.com/2010/12/install-synapse-new-semantic-file.html

Simple restart nautilus

Yahh, it's just. >> nautilus -q

New Knowledge for command : xrandr

xrandr: Linux Resize / Set The Screen Size Quickly Via Command Line Options ex : >> xrandr -q ### get information from connected/disconnected, list of resolution. ref : http://www.cyberciti.biz/tips/linux-resize-screen-size-quickly.html

Yahh Ben's Linux command

Yahh When u have trouble with eject disc by GUI. " just sudo eject " ... ben's said

Setting Up adobe air for ubuntu 11.04 (64bit)

You can build package by yourself using these commands: wget http://airdownload.adobe.com/air/lin/download/2.6/adobeair.deb mkdir adobeair dpkg-deb -x adobeair.deb adobeair dpkg-deb –control adobeair.deb adobeair/DEBIAN sed -i “s/i386/all/” adobeair/DEBIAN/control dpkg -b adobeair adobeair_64.deb rm -rf adobeair sudo dpkg -i adobeair_64.deb Thank Johnny (http://www.ubuntu-corner.com/author/johnny/) ref http://www.ubuntu-corner.com/2011/06/how-to-install-adobe-air-on-ubuntu-11-04-x64/

How do I know what in my box that I used.(linux)

- We can start with command: >>> lspci That's list all PCI devices, But we can advance it by >>> lspci -v - We can see cpuinfo >>> cat /proc/cpuinfo and guess what!!! we have >>> lshw but you have to use super-user for running it.

New app from linux

While I do something with my mac, I hear my friend talking about 'iftop' in chatting room, So I start sudo apt-get install iftop then.... boom I do 'sudo iftop', App start!!! new one I have never knew it before , Thank my friend! ------------------------------------- FTOP(8) IFTOP(8) NAME iftop - display bandwidth usage on an interface by host SYNOPSIS iftop -h | [-nNpbBP] [-i interface] [-f filter code] [-F net/mask] DESCRIPTION iftop listens to network traffic on a named interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts. iftop must be run with sufficient permissions to monitor all network traffic on the interface; see pcap(3) for more infor‐ mation, but on most systems this means that it ...

Components for setup PIL

sudo apititude install - build-essential - libpng-dev - libjpeg-dev - libpq-dev - python-dev This's all for ubuntu machine

Change default python on debian ubuntu

Ubuntu automatically installs python 2.5 and uses it as the default python … I have crashed my system 2 times to solve this .. I wanted to make the default python to version 2.4. This is the way before begaining Thanks to (Luiz Rocha (lsdr) ) http://ubuntuforums.org/showthread.php?t=440358 and http://www.gossamer-threads.com/lists/python/python/685071 First, edit the /usr/share/python/debian_defaults, changing the default version arg to python2.4 2nd, $ sudo mv /usr/bin/python /usr/bin/python25 $ sudo ln -s /usr/bin/python2.4 /usr/bin/python reference( http://tareqalam.wordpress.com/2008/11/28/change-the-default-python-version-in-ubuntu/ )

How to Create Tutorial with Opensource

Ubuntu 10.04 - xvidcap : capture screen vid > file format : avi (uncheck audio) - subtitle editor : create sub(srt) file (need manual change ext. to .srt) > 8-10 sec (for long word) > 3-5 sec (general word) - open shot video editor

Resize Icon in Ubuntu Linux

Hi there :), If u need to resize desktop icon, U gotta do something like me. press ALT+F2 to bring "Run Application" Dialog up. type "/usr/bin/nautilus" click Edit>Preference and from View tab change Default Zoom Level under Icon View Default catagery. thk , www.addictivetips.com/ubuntu-linux-tips/how-to-resize-desktop-icons-in-ubuntu-linux/

Great Stuff of Django

->install django on ubuntu server http://jeffbaier.com/articles/installing-django-on-an-ubuntu-linux-server/ ->many way to setup django environment http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/ thanks all ref

installing ubuntu 9.10

my step 1.use ubuntu9.10cd+gpart , do partitioning 2.setup ubuntu9.10 3.setup window 4.use ubuntu9.10cd for booting 4.1.open terminal 4.2.sudo fdisk -l => find linux's partition for example => /dev/sda5 , my win /dev/sda1 4.3.sudo mount /dev/sda5 /mnt 4.4.sudo grub-install --root-directory=/mnt /dev/sda 5.reboot 6.if lux can't see windows 6.1.open terminal 6.2.sudo update-grub :) thanks P'aoh (phd. candidate IT Fac,KMITL) ps. Can't find flash plugin for firefox? use command below ->( thk Locke_99GS) sudo apt-get install ubuntu-restricted-extras