Ubuntu

De WikiMar

Dreceres ràpides: navegació, cerca

Contingut

Installing Ubuntu 12.10 Quantal Quetzal on a ASUS EEE PC 1101HA

How to Display Hidden Startup Applications

Starting with Ubuntu 12.04 the ‘Startup Applications' manager now only displays a sub-set of applications to control at startup with the remaining applications being hidden. To make the hidden applications visible in the manager, follow these steps:

sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop

More info: http://www.ubuntugeek.com/how-to-display-hidden-startup-applications-in-ubuntu-12-04-and-above.html#more-13602


Other apps

sudo apt-get update ubuntu-restricted-extras vlc gkrellm ttf-mscorefonts-installer libxine1-ffmpeg gxine mencoder flac faac faad sox  ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec  vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg  totem-mozilla icedax tagtool easytag id3tool lame  nautilus-script-audio-convert libmad0 libjpeg-progs gnome-commander libgnomevfs2-extra  playonlinux
   sudo add-apt-repository ppa:webupd8team/jupiter
   sudo apt-get update
   sudo apt-get install jupiter jupiter-support-eee
   jupiter
sudo apt-get update & sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

System Monitoring Desktop Widget:

sudo apt-get install gkrellm

or

sudo apt-get install conky

info: http://lifehacker.com/5847676/the-best-system-monitor-for-linux

Other apps for Aircrack

  sudo dpkg --configure -a && sudo apt-get install -f
  sudo apt-get update
  sudo apt-get install gettext
  sudo apt-get install linux-headers-$(uname -r) build-essential make patch gettext autoconf subversion tcl8.5 openssl libssl-dev libnl1 libnl-dev libpcap0.8 libpcap0.8-dev cracklib-runtime python-scapy macchanger-gtk tshark
  mkdir wifi2013
  cd wifi2013/
  cd airoscript-ng/
  sudo make


apt-get install kismet aircrack-ng


tambe wifilite?

Installing Ubuntu 12.04 Precise Pangolin on a ASUS EEE PC 1101HA

Boot CD

sudo service lightdm restart
sudo vi /etc/default/grub

and change GRUB_CMDLINE_LINUX_DEFAULT to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb"

Exit and run:

sudo update-grub


More info:

https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo
http://doc.ubuntu-fr.org/asus_eee_pc_1101?redirect=1
http://blog.bodhizazen.net/linux/ubuntu-12-04-gma500-poulsbo-boot-options/

Other things to be done

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install ubuntu-restricted-extras

More info: http://www.techdrivein.com/2011/10/15-things-i-did-after-installing-new.html


sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter
sudo apt-get install jupiter-support-eee
sudo apt-get install vlc
sudo apt-get install playonlinux
sudo apt-get install ttf-mscorefonts-installer
sudo apt-get install guake
sudo apt-get install gkrellm
sudo  apt-get install libxine1-ffmpeg gxine mencoder flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec  vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg totem-mozilla icedax tagtool easytag id3tool lame  nautilus-script-audio-convert libmad0 libjpeg-progs
sudo apt-get install apache2 mysql-server php5 php5-mysql php5-cli


sudo apt-get install gnome-commander
sudo apt-get install libgnomevfs2-extra


Alt Tab not working becouse it's Unity 2D, not Unity 3D

check in your "System Settings" -> "Keyboard" panel, opening the "Shortcuts" tab, selecting the "Navigation" option in the left pane, and verify that the shortcut for "Switch Applications" is "Alt+Tab"

Intelligent hiding of the Applications Launcher

sudo apt-get install dconf-tools

Switching the variable of "hide mode" allow you to select if you want the launcher to be:

0: Always Visible
1: Autohide
-->2: Intellhide (dodge windows)

More info: http://askubuntu.com/questions/32667/how-do-i-configure-unity-2d


Reduce Unity 2D Program Launcher Icon size

Some aplications like compizconfig-settings-manager or dconf-editor can change the size only on Unity 3D. More info: http://askubuntu.com/questions/32667/how-do-i-configure-unity-2d and http://askubuntu.com/questions/82395/how-can-i-make-unity-2d-launcher-icons-smaller and script here: http://ubuntuforums.org/showthread.php?t=1954637

To change the size on Unity 2D do:

Create script.py:

#!/usr/bin/python

import shutil
import sys
import os

def getparent (content, line_nr):
    for i in range (line_nr - 1, -1, -1):
        if "{" in content[i].lstrip():
            return content[i].lstrip().split(" ")[0]

def change_line (content, key, value, parent):
    line_nr = 0
    for line in content:
        if line.lstrip().startswith(key + ":"):
            lparent = getparent(content, line_nr)
            if parent == lparent:
                content[line_nr] = key + ": " + value + "\n"
                return content
        line_nr = line_nr + 1

def load_file (filename):
    file = open (filename, "r")
    content = file.readlines()
    file.close()
    return content

def write_file (filename, content):
    shutil.copyfile (filename, filename + ".bak")
    file = open (filename, "w")
    for line in content:
        file.write (line)
    file.close()
    return

shell_qml = "/usr/share/unity-2d/shell/Shell.qml"
icontile_qml = "/usr/share/unity-2d/shell/common/IconTile.qml"
launcherlist_qml = "/usr/share/unity-2d/shell/launcher/LauncherList.qml"
launcheritem_qml = "/usr/share/unity-2d/shell/launcher/LauncherItem.qml"

if (len(sys.argv) > 1):
    icon_size = int(sys.argv[1])
else:
    sys.exit("Please enter your desired icon size as the first argument.")

if not os.geteuid() == 0:
    sys.exit("Script must be run as root.")

content = load_file (shell_qml)
content = change_line (content, "width", str (icon_size + 16), "LauncherLoader")
write_file (shell_qml, content)
content = load_file (icontile_qml)
content = change_line (content, "sourceSize.width", str (icon_size), "Image")
content = change_line (content, "sourceSize.height", str (icon_size), "Image")
write_file (icontile_qml, content)
content = load_file (launcherlist_qml)
content = change_line (content, "property int tileSize", str (icon_size + 6), "AutoScrollingListView")
content = change_line (content, "property int selectionOutlineSize", str (icon_size + 16), "AutoScrollingListView")
write_file (launcherlist_qml, content)

Run it:

sudo script.py 32

Fix suspend

If suspend does not work for you, there are various quirk options you can try. See the manpage for pm-suspend for a list of them all. One that has been reported to help is quirk-vbemode-restore, which saves and restores the current VESA mode. To test it, open a terminal and use the following commands

sudo pm-suspend --quirk-vbemode-restore

That should suspend your system. If you are able to resume, you'll want to configure UBuntu to use this option every time you suspend. To do this oOpen a terminal and use the following commands:

sudo vi /etc/pm/config.d/gma500 Add in the following code and save the file:

ADD_PARAMETERS='--quirk-vbemode-restore'

Source and more info: https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo#Fix_suspend

Add Hibernation

Before enabling hibernation, please try to test whether it works correctly by running pm-hibernate in a terminal. The system will try to hibernate. If you are able to start the system again then you are more or less safe to add an override. To do so, start editing

sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Fill it with this

[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Source and more info: http://askubuntu.com/questions/94754/how-to-enable-hibernation-in-12-04



Installing Ubuntu 11.04 Natty on a ASUS EEE PC 1101HA

Drivers

Taken from: https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks#Asus_Eee_1101HA

Most things work well, except for the video card, Intel GMA500 (Poulsbo) not being supported out-of-the-box. It requires installation of binary drivers that needs to be reconfigured after every kernel update. https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo/ Other known Issues: * Wireless works out of the box, but connection is flaky. To fix, open a terminal and type 'sudo apt-get install linux-backports-modules-wireless-karmic-generic' * Some users have experienced problems with audio disappearing.


GMA500 Graphic card

Out of the box 11.04 Natty does not support the 1366x1024 resolution. No correct that:

sudo add-apt-repository ppa:gma500/emgd 
sudo apt-get update
sudo apt-get install xorg-emgd emgd-dkms emgd-xorg-conf
sudo emgd-xorg-conf

More info: https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo

Extras
sudo gedit /etc/default/grub

Add the Following: Should fix the Brightness Key

GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"

If you have 1GB Of Ram Add this:

GRUB_CMDLINE_LINUX="mem=896mb"

If you have 2GB of Ram Add this:

GRUB_CMDLINE_LINUX="mem=1920mb"

Now Run

sudo update-grub

More info: http://ubuntuforums.org/showthread.php?t=1229345

Change from Unity interface to Classic

Unity is displaying the top bar blurred, not displaying it correctly. The rest is ok. You have to change to the old Classic interface to avoid it.

More info: http://www.madtomatoe.com/how-to-switch-from-unity-to-the-classic-interface-in-ubuntu-11-4-natty-narwhal/


Super Hybrid Engine

To take advantage of the SHE, is needed to install Jupiter, a program that works on many laptops. You can extend the battery with it.

Add repository

sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update

The main Jupiter package - works on any netbooks:

sudo apt-get install jupiter

Support for EeePC - required for SHE (Super Hybrid Engine)

sudo apt-get install jupiter-support-eee

More info: http://www.webupd8.org/2010/07/jupiter-ubuntu-ppa-hardware-and-power.html http://www.webupd8.org/2010/06/jupiter-take-advantage-of-asus-super.html


Useful application indicators

More info: http://www.techdrivein.com/2011/05/10-useful-application-indicators-for.html

Weather

sudo apt-get install indicator-weather

System Load

sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload


Useful apps

Gnome Do

To quickly start programs or find bookmarks, files, etc.

Once installed you press WinKey + Space to search. You can personalize everything you want to search, even to Chrome, using plugins in preferences.

Guake

Press F12 and you get a drop down terminal, like the one in QUAKE.

http://www.ubunturoot.com/2010/08/drop-down-terminal-for-ubuntu.html

UPDATE: I find it better to use yakuake I configured it to open it with F2 Configuration is at (first start it):

nano $(kde4-config --localprefix)/share/config/yakuakerc

And the content:

Animation]
Frames=0
UseWMAssist=false

[Appearance]
TerminalHighlightOnManualActivation=true

[AutoOpen]
PollMouse=true

[Behavior]
FocusFollowsMouse=true

[Dialogs]
FirstRun=false

[Favorite Profiles]
Favorites=

[Shortcuts]
view-full-screen=F11

[Window]
DynamicTabTitles=true
Height=98
KeepOpen=false
Position=100
Screen=2
Width=98

Nautilus Terminal

Nautilus is the standard file manager in Unity. To add an integrated terminal:

sudo add-apt-repository ppa:flozz/flozz
sudo apt-get update && sudo apt-get install nautilus-terminal

More info: http://www.omgubuntu.co.uk/2010/09/nautilus-terminal-gui-meets-cli/


Ubuntu-Tweak

Ubuntu Tweak is a must have application for Ubuntu and LinuxMint, it is an application to config Ubuntu easier for everyone. It provides many useful desktop and system tweakoptions that the default desktop environment doesn't provide.

Using Ubuntu Tweak you can install all needed applications with a simple click, you can change the window buttons from Left to right...etc.

Install Ubuntu Tweak in Ubuntu via repository:

sudo add-apt-repository ppa:tualatrix/ppa 
sudo apt-get update
sudo apt-get install ubuntu-tweak


Install Medibuntu repositories

Install Medibuntu using command Line (Ubuntu 9.10 and above including 11.04 Natty):

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && 
sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Medibuntu's repository is deactivated by upgrading to a newer Ubuntu release, so you should run this command again after the release upgrade. Now you may also wish to add the following packages. The first (APP-INSTALL-DATA-MEDIBUNTU) will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.

sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu

Taken from: http://www.unixmen.com/linux-tutorials/linux-distributions/linux-distributions4-ubuntu/1656-how-to-add-medibuntu-repository-in-ubuntu-via-terminal-and-gui


Sharing folders in Natty Narwhal

In order to share folders in Natty Narwhal with other Linux and windows machines in your network, you will need to install and configure samba share, for instructions how to configure samba in Ubuntu see this Post Installing samba can be from buntu software center or via terminal :

sudo apt-get install samba

Taken from: http://www.unixmen.com/linux-tutorials/linux-distributions/linux-distributions4-ubuntu/1540-top-things-to-do-after-installing-ubuntu-1104-natty-narwhal


Install Media Utilities

Unless you can use mplayer perfectly yourself, I recommend installing the vlc media player.

VLC is the best media player for Linux it play almost everything , he has many features that you can not find in any other media player , read this post to know more about vlc : Things you didn’t know VLC media player can do

You can install VLC from Ubuntu software center or via terminal by using the following command:

sudo apt-get install vlc
Codecs

Perhaps installing a few common codecs might give you better sensibility of your system.

sudo  apt-get install non-free-codecs libxine1-ffmpeg gxine mencoder  libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec  vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame  nautilus-script-audio-convert libmad0 libjpeg-progs
Enable DVD support

To play encrypted DVDs, the libdvdcss2 package is essential. libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption. If you already added Medibuntu repositories above, you can Install from software center or using the terminal by entering the following command:

sudo apt-get install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh
Enabling Flash support on your browsers

For Ubuntu 32 bit & 64 bit : To be able to watch videos and see flash website in your browser (firefox/ Chrome..), you need to install flash plugin, go to ubuntu software center and search word "flash" and install it. Note: For 64 bit OS you can install flash square using the following commands :

sudo add-apt-repository ppa:sevenmachines/flash
sudo apt-get update
sudo apt-get install flashplugin64-installer

Taken from: http://www.unixmen.com/linux-tutorials/linux-distributions/linux-distributions4-ubuntu/1540-top-things-to-do-after-installing-ubuntu-1104-natty-narwhal


Installing the latest Java run time JRE

JRE stands for ‘Java Runtime Environment’. It’s an essential application that many applications ‘depend on’.

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts


Backup

Déjà Dup is a simple backup tool. It hides the complexity of doing backups the 'right way' (encrypted, off-site, and regular) and uses duplicity as the backend.

Deja Dup features :

sudo apt-get install deja-dup


PlayOnLinux windows emulator

It's a backend for WINE app.

PlayOnLinux is a piece of sofware which allows you to easily install and use numerous games and softwares designed to run with Microsoft®'s Windows®. You can install many windows games like callofduty, doom ,.... Msfonts ,Itune ,Microsoft office 2007 (see our howto install MS office 2007 in Ubuntu using playonlinux )

You can install playonlinux via Ubuntu software center or via command:

sudo apt-get install playonlinux

More info: http://www.playonlinux.com/en/manual.html

Other apps

sudo apt-get install ttf-mscorefonts-installer

Installing Ubuntu 11.10 Oneiric Ocelot on a ASUS EEE PC 1101HA

Booting Live CD image

The installation image of 11.10 does not boot by default. It seems to be a common problem with some graphic cards. Info: http://ubuntuforums.org/showthread.php?t=1860359

I personally repaired it by upgrading using the Ubuntu 11.10 Live-CD on a USB stick. The problem is that it didn't even boot the GUI due to my graphic card. So I had to follow the following procedure writen by prince_of_death:

(I selected here the second option "Upgrade from 11.10 to 11.10")

sudo add-apt-repository ppa:gma500/emgd-1.8
sudo apt-get update
sudo apt-get install xorg-emgd emgd-dkms
sudo emgd-xorg-conf

(once the EMGD driver is installed you no longer need to edit the kernel at boot)

sudo mv /etc/init/plymouth.conf /etc/init/plyouth.conf.disabled


More info:


Enable External Display / Monitor

By default the external monitor does not work. To enable duplicate of the LCD screen you can do it like this:

sudo gedit /usr/share/X11/xorg.conf.d/10-emgd.conf

Backup the original file. And enter the following content:

Section "Module"
    Load "dbe"
    Load "dri"
    Load "dri2"
    Load "record"
    Load "extmod"
    Load "glx"
EndSection

Section "Monitor"
    Identifier   "MainMonitor"
    ModelName    "LCD Panel 1366x768"
EndSection

Section "Screen"
    Identifier    "MainScreen"
    Device        "MainDevice"
    Monitor       "MainMonitor"
    SubSection "Display"
    Depth     24
    Modes    "1366x768"
    EndSubSection
EndSection

Section "Device"
    Identifier "MainDevice"
    Driver     "emgd"
#    Driver "vesa"
    VendorName "Intel(R) DEG"
    BoardName  "Embedded Graphics"
    BusID      "0:2:0"
    Screen      0
    VideoRam    32768
    Option     "PcfVersion"             "1792"
    Option     "ConfigId"               "1"
    Option     "ALL/1/name"             "lvds-display"
    Option     "ALL/1/General/PortOrder"        "24000"
    Option     "ALL/1/General/VideoRam"                 "32768"
    Option     "ALL/1/General/DisplayConfig"        "2"
    Option     "ALL/1/General/DisplayDetect"        "1"
    Option     "ALL/1/General/Accel"            "1"
    Option     "ALL/1/General/DRI"          "1"
    Option     "ALL/1/General/DRI2"         "1"
    Option     "ALL/1/General/XVideo"           "1"
    Option     "ALL/1/General/XVideoBlend"      "0"
    Option     "ALL/1/General/TearFB"           "0"
    Option     "ALL/1/General/ShadowFB"         "0"
    Option     "ALL/1/General/SWCursor"         "0"
    Option     "ALL/1/Port/4/General/name"      "LVDS"
#    Option     "ALL/1/Port/4/General/Rotation"     "0"
    Option     "ALL/1/Port/4/General/Edid"      "1"
#    Option     "ALL/1/Port/4/Attr/70"          "100"
#    Option     "ALL/1/Port/4/Attr/71"                   "20300"
    Option     "ALL/1/Port/4/Attr/72"           "0"
#    Option     "ALL/1/Port/4/FPInfo/BkltMethod"         "1"
#    Option     "ALL/1/Port/4/FPInfo/BkltEnable"         "1"
    Option      "ALL/1/Port/2/General/name"     "SVDO"
    Option  "ALL/1/Port/2/General/Edid"     "1"
    Option  "ALL/1/Port/2/General/EdidAvail"    "1"
    Option  "ALL/1/Port/2/General/EdidNotAvail"     "7"
EndSection

# Secondary (for dual-head only) display
Section "Monitor"
    Identifier   "VGAMonitor"
    ModelName    "VGA Output"
EndSection

Section "Screen"
    Identifier    "VGAScreen"
    Device        "VGADevice"
    Monitor       "VGAMonitor"
    SubSection    "Display"
    Depth   24
    Modes   "1600x900"
    EndSubSection
EndSection

Section "Device"
    Identifier "VGADevice"
    Driver     "emgd"
    VendorName "Intel(R) DEG"
    BoardName  "Embedded Graphics"
    BusID      "0:2:0"
    Screen     1
EndSection

Section "ServerLayout"
    Identifier     "Dual Head Layout"
    Screen  "MainScreen"
    Screen  "VGAScreen" RightOf "MainScreen"
EndSection

Section "DRI"
        Mode         0666
EndSection

Section "ServerFlags"
#   Option "AutoAddDevices" "false"
EndSection


More info: http://ubunteros.blogsome.com/2011/11/21/configurar-la-tarjeta-gma500-para-dos-monitores/

Disable Login Sound in Ubuntu Oneiric

gksudo gedit /usr/share/gnome/autostart/libcanberra-login-sound.desktop

More info: http://maketecheasier.com/disable-login-sound-in-ubuntu-oneiric-quick-tips/2011/09/15


Return to Ubuntu Classic Desktop in Ubuntu 11.10

sudo apt-get install gnome-session-fallback
gksudo gedit /etc/lightdm/lightdm.conf

Content:

[SeatDefaults]
autologin-user=<USERNAME>
autologin-user-timeout=0
user-session=ubuntu
greeter-session=unity-greeter

user-session:

'Ubuntu' (regular Unity) :    'ubuntu'
'Ubuntu 2D' (Unity 2D) :      'ubuntu-2d'
'GNOME' (Gnome Shell) :       'gnome-shell'
'GNOME Classic' :             'gnome-classic'
'GNOME Classic (No effects)': 'gnome-fallback'


More info:


Sound problem: Choppy, Glitches, skips or crackling sound

Glitches, skips or crackling

The PulseAudio sound server uses a timer-based audio scheduling instead of the traditional interrupt-driven approach. Timer-based scheduling may expose issues in some ALSA drivers. To turn timer-based scheduling off, replace the line:

load-module module-udev-detect 

in /etc/pulse/default.pa by:

load-module module-udev-detect tsched=0

Then restart the PulseAudio server.

Choppy sound

Choppy sound in pulsaudio can result from wrong settings for the sample rate in /etc/pulse/daemon.conf. Try changing the line

; default-sample-rate = 44100

to

default-sample-rate = 48000

and restart the PulseAudio server.

If you experience choppy sound in applications using openAL, you should also change the sample rate in /etc/openal/alsoft.conf:

frequency = 48000

Restart or:

Restart pulseaudio to apply the new settings

pulseaudio --kill
pulseaudio --start

More info:


RAM upgrade Problem: No overclocking or SHE when usuing 2GB RAM

The Problem

I bought a 2GB Hynix DDR2 800 memory on ebay for 20eur new. It is not the one accepted to support overclocking, and the overclocking option in the Bios disappears when this RAM is installed. It is not depend on the BIOS version. I have ASUS 1101HA ACPI BIOS Revision 0323 and overclocking works with 2GB memory using the solution below.

The problem is described here: http://liliputing.com/2009/09/how-to-install-2gb-of-ram-on-the-eee-pc-1101ha-without-crippling-overclock-utility.html That for overclocking it is required:

DDR2-667 SO-D UNIFOSA  2GB 200P
DDRII800 SO-D HYNIX 2GB 200P

But the official site states: http://support.asus.com/faq/detail.aspx?SLanguage=en&p=20&m=Eee%20PC%201101HA&s=1&hashedid=8AF6gYB7thq87JM8&os=17&no=220020D5-26B9-DF37-ECA7-35D4D257B800

That for overclocking it is required:

DDRII800 SO-D HYNIX 1GB 200P
DDRII800 SO-D A-DATA 1GB 200P
DDRII800 SO-D SAMSUNG 1GB 200
DDR2-667 SO-D UNIFOSA  2GB 200P

The Solution

Read the Post Backup from fluffypony below and follow the steps. Some notes:

SPDTool is free (http://www.techpowerup.com/spdtool/) I used Thaiphoon Burner because I could not find the image for SPD Tool. Now you have it below. The new demo version of Thaiphoon is limited to 15 days and you cannot write to RAM, so it is useless, not even to evaluate it. I could find a version by [searching something like Thaiphoon Burner v7 0 2 0307 Incl Keymaker CORE http://www.filestube.com/search.html?select=All&q=Thaiphoon%20Burner] but I had to change the computer time to June 2011 to make it work with the serial.

For the operation I used an ASUS Aspire 9420.

Here you can find all flashes for Hyundai_Electronics_HYMP125S64CP8-S6 and Hyundai_Electronics_HYMP125S64CP8-S5 on both formats HYMP125S64CP8-S6.spd SPDTool and HYMP125S64CP8-S6.pth Thaiphoon Burner:

http://www.multiupload.com/SNFL51DVTV
http://www.megaupload.com/?d=R66D79OY
http://www.uploadking.com/49AB8SDUGZ
http://www.uploadhere.com/RYXO4X908R
http://depositfiles.com/files/io7744j8i
http://www.zshare.net/download/973898333a607d6d/
http://www.filesonic.com/file/4221384605/Hyundai_Electronics_HYMP125S64CP8-S6_spd_thp.zip
http://www.fileserve.com/file/BvtwHTK/Hyundai_Electronics_HYMP125S64CP8-S6_spd_thp.zip
http://www.wupload.de/file/2615226657/Hyundai_Electronics_HYMP125S64CP8-S6_spd_thp.zip
http://hotfile.com/dl/137507866/04fb19a/Hyundai_Electronics_HYMP125S64CP8-S6_spd_thp.zip.html


Backup from the fluffypony post on forum.eeeuser.com

For those that missed vladimir.cdi's post in a different thread, there is a successful method for getting overclocking to work with any memory module - 1.5gb, 2gb, whatever. Please note disclaimer below.

DISCLAIMER: I am not responsible for you breaking your machine. This procedure is REASONABLY safe, much safer than flashing your BIOS. The reason for this is that it only writes to the SPD (Serial presence detect) section of your memory, which contains timing information and manufacturer information. Most modern memory manufacturers, like Kingston and Corsair, produce memory that is robust enough to handle different timings. If you stuff the timings up, you can always write the SPD back again.

What you need is:

* a copy of Thaiphoon Burner (http://jungle.at.tut.by/ - the free, 15-day trial version will do everything you need WITHIN the 15 days. I paid for my copy, $21 isn't a lot of money, even if I only use it once. If someone is feeling brave, they can try duplicate this using SPD Tool: http://www.techpowerup.com/spdtool/)

* your new memory module. For my test I used a Kingston KVR667D2S5/2G (2gb PC2-5300 CL5 200-pin)

* a spare computer that has the SMBUS open - check by going into the SPD section of CPU-z, if it is empty the SMBUS isn't open (I first tried my old Aspire One, which didn't like the memory. Then a Dell Inspiron, also didn't like it. Eventually a Vostro A8600 did the trick)

* a copy of vladimir.cdi's SPD dump for Thaiphoon from http://rapidshare.com/files/304609715/H … 6.thp.html

Process:

1. Put your new memory module into the spare computer (doesn't matter if it is the only memory module in the computer)

2. Start up Thaiphoon (requires no installation...you may have to disable your virus scanner, AVG had issues with it on the Inspiron, but not on the Vostro)

3. If you have more than one memory module, click Read and choose the first address. Make a note (by checking the Module Features) of which address contains your new memory module.

3a. RECOMMENDED OPTIONAL STEP: if you have paid for Thaiphoon (this doesn't work in the trial) you can read your SPD info into Thaiphoon, and save it as a THP. You can later use this to restore your SPD data if, for example, you broke the timings or it is unstable.

4. Click Open

5. Browse to the SPD dump you got from Rapidshare and click Ok

6. Click Write

7. Choose Full Rewrite

8. Change the SPD Device Address to the one noted in step 3 if you have more than one memory module

9. Tick the Refresh HEX Editor on completion box

10. Click Write

11. When writing is done, verify the information Module Features - it should have made your module look like the Hynix 2gb module we're all after

12. Shut down, put the RAM in your 1101HA, and start it up

13. Go into the BIOS to verify it has detected the 2048mb module and that your SHE is set to 30% or whatever

TADA!

A million thanks to vladimir.cdi for his idea, SPD dump, and information, all I really did was test it and put it into more coherent English:)

http://www.epic.za.net/Hyundai_Electronics_HYMP125S64CP8-S6.thp


Add shortcut or run bash script from the Unity lauchbar

Create a suvirtualbox.desktop file in the home for example and drop it to the laucher.

[Desktop Entry]
Name=SU Virtualbox
Comment=
Exec=gksudo virtualbox
Icon=virtualbox
Terminal=false
Type=Application
StartupNotify=true


Add teamviewer

To start it minimized

sudo apt-get install devilspie.

To configure it to minimize Teamviewer everytime it is executed:

mkdir ~/.devilspie
vi ~/.devilspie/teamviewer.ds
( if 
( begin 
( is ( application_name ) "Teamviewer" )
( is ( window_name ) "TeamViewer" )
) 
( begin 
( minimize )
( println "match" )
)
)

More info: http://askubuntu.com/questions/20989/how-do-i-tell-a-start-up-program-to-start-


Remove notification dialog that it is running

~/.config/teamviewer9/config/client.conf

Add the following line to the end of the file:

[int32] ShowTaskbarInfoOnMinimize = 0

...and restart TeamViewer.

more info: http://askubuntu.com/questions/419806/how-do-i-remove-teamviewers-notification-that-it-is-still-running-in-the-backgro


Remove online content from dash unity search

There's now a GUI for doing this.

Open "System Settings" (type that in the Dash). Then go to "Security and Privacy". Then "Search". Then set the "include on-line search results" to off.

Disclaimer: It seems likely that this prevents the system from phoning home with everything typed in to Dash, but I'm not positive of this.

More info:http://askubuntu.com/questions/366238/how-do-i-remove-only-shopping-searches


Installing Ubuntu 14.04 LTS (Trusty Tahr)

General (Acondicionando Ubuntu 14.04)

Source: http://www.muylinux.com/2014/04/23/acondicionando-ubuntu-14-04

Backup:

Una vez instalado el sistema se comprueba si hay actualizaciones pendientes y se ejecutan de ser el caso.

Sin cerrar el módulo de actualización entro en la configuración de repositorios.

Y simplemente por si lo necesito para algo, activo en la pestaña de “otro software” la casilla de “socios de Canonical”.

Lo que sí necesito para sacarle el mayor provecho a mi gráfica son los controladores privativos en funcionamiento, así que cambio de pestaña y en “controladores adicionales” activo la casilla correspondiente.

Todavía sin reiniciar el sistema, lanzo el Centro de software e instalo, de nuevo simplemente por si lo necesito, el famoso paquete de “extras restringidos de Ubuntu” (Flash Player, Unrar, Java, etc”).

Ahora sí, reinicio el sistema. A partir de aquí todo va a gusto del consumidor, y el mío pasa por sacar partido de alguna de las nuevas características que estrena Unity en Ubuntu 14.04, comenzando por reducir el tamaño del panel hasta los 32 píxeles en “configuración del sistema > apariencia > aspecto”.

Y en la siguiente pestaña, “comportamiento”, mostrar los menús de las ventanas en la barra de títulos (una adición genial, ésta).

Hecho lo anterior, recuerdo lo terrible de la búsqueda en el tablero de Unity y desactivo de una los resultados en línea desde el mismo módulo de configuración del sistema, en el apartado de “seguridad y privacidad > búsqueda”.

Aunque más tarde me apetece probar y decido volver a activarlos e ir desactivando a mano, una a una, las fuentes en línea que no me interesan (la mayoría, ya que estamos). Se hace entrando en el tablero -cambiamos definitivamente el término dash por tablero-, en la sección de aplicaciones, mostrando los filtros y entrando en “complementos del tablero”.

(...)

En la pestaña de “Launcher” de la misma sección, por cierto, se encuentra otra de las novedades ocultas de Ubuntu 14.04, el minimizar con un clic las aplicaciones del panel. “Minimize single window applications (unsupported)” es la opción a marcar.


How to create desktop shortcut in Ubuntu

ex.

/usr/share/applications/google-chrome.desktop

Virtual Desktops and mouse moving


FinePrint equivalent

PDF printer and merging documents like FinePrint (oldest system)

sudo apt-get install cups-pdf

Create script ajuntar.sh in folder /home/USER/PDF:

#/bin/bash

NOW=$(date +"%Y%m%d")

pdftk $(ls -tr *.pdf) cat output $NOW.pdf
#pdftk *.pdf cat output $NOW.pdf
#gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=firstANDsecond.pdf -dBATCH first.pdf second.pdf


GUI graphical system (old system)

PDF-Shuffler

http://sourceforge.net/projects/pdfshuffler/?source=dlp
apt-get install pdfshuffler


Virtual printer driver similar to FinePrint (Best system)

Boomaga is a virtual printer for viewing a document before printing it out using the physical printer and help you get your documents prepared a bit before printing. http://www.boomaga.org/download/

sudo add-apt-repository ppa:boomaga
sudo apt-get update
sudo apt-get install boomaga

If add-apt-repository does not work add it manually at the end of /etc/apt/sources

deb http://ppa.launchpad.net/boomaga/ppa/ubuntu trusty main

and if the dependences are not found automatically:

sudo apt-get install libqt4-dev libgs-dev libsnappy-dev libpoppler-dev libpoppler-cpp-dev

BTSync

sudo add-apt-repository ppa:tuxpoldo/btsync
sudo apt-get update
sudo apt-get install btsync-gui




Krusader

UPDATE: better install doublecmd double commander which supports the Total Commander plugins.

Using the Ubuntu Software center, install also almost all the addons when opening the packet krusader.

Copy the configuration file so that all settings are already configured:

~/.kde/share/config/krusaderrc

It is saved in google drive/Fitxers/configuracions/krusader https://docs.google.com/a/espai.de/file/d/0B8y4WsL2cVxCTHdZVUNFZkdmbkk/edit

Basically it is the same as going to settings:

Startup:
 disable command line, statusbar, function keys
 enable terminal emulator
Panel:
 general -> tab bar position top
         -> up/down cancels quick search
 selection mode -> total commander, right click pops context menu immediately


Other apps for Krusader

apt-get install p7zip lha arj rar rpm unace krename kdiff3 kdesudo meld kget

hd-idle

Get USB HDD to sleep in Ubuntu automatically

This will put your USB HDD to sleep after it being idle for 6 minutes, and you can change the time in the initscript to whatever you like.

Source: http://www.gizfun.com/content/get-usb-hdd-sleep-ubuntu-automatically

/etc/init.d/hd-idle

#!/bin/sh

### BEGIN INIT INFO
# Provides:          hd-idle
# Required-Start:    
# Required-Stop:     $local_fs
# Default-Start:     1 2 3 4 5
# Default-Stop:
# Short-Description: put USB HDD to sleep after a specified period of idle time
# Description: 
#              
### END INIT INFO

PROGRAM="/usr/bin/hd-idle"
PROGRAM_NAME=${PROGRAM##*/}
LOG_PATH="/var/log/hd-idle.log"
start () {
     
      if pgrep -f "$PROGRAM" 1>/dev/null;then
             echo "$PROGRAM_NAME is already running"
             exit 1
      else 
          "$PROGRAM" -a sda -i 600 -l $LOG_PATH
          echo "$PROGRAM_NAME is starting"
          sleep 1
     fi
}

stop () {

       if pgrep -f "$PROGRAM" 1>/dev/null;then
             killall "$PROGRAM" > /dev/null 2>&1

          if [ $? -eq 0 ];then
             echo "$PROGRAM_NAME is terminated"
          fi
       fi
}
  case $1 in 
 
       start) start;;
       stop) stop;;
       restart|reload) stop && start;;
 
  esac


Download hd-idle from http://sourceforge.net/projects/hd-idle/

make
sudo make install
sudo chmod 755 /etc/init.d/hd-idle
sudo -s /usr/local/sbin/hd-idle /usr/bin/hd-idle
sudo update-rc.d -f hd-idle defaults
service hd-idle start


Shortcuts editor

sudo apt-get install alacarte


Chrome use old printing dialog

The Chrome printing dialog prints white to the Boomega printer. Using alacarte edit the menu option for Chrome as this:

google-chrome --disable-print-preview %U


Oracle Java (JDK)

Recomended instead of OpenJDK by Android Studio

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

http://ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/


Security tools

apt-get install wireshark aircrack-ng ettercap-graphical yersinia
wget https://airoscript.googlecode.com/files/airoscript-ng_1.2-3_all.deb

o bé

svn co http://svn.aircrack-ng.org/branch/airoscript-ng/ airoscript-ng

Info: http://www.aircrack-ng.org/doku.php?id=airoscript-ng


To create Layer 2 bridges we need brctl:

sudo apt-get install bridge-utils



Ocell installation

  sudo apt-get install krusader
  sudo apt-get install p7zip arj rar rpm unace krename kdiff3 kdesudo meld kget
  sudo apt-get install vim ssh rsync yakuake unison wireshark samba fail2ban 
  sudo apt-get install compizconfig-settings-manager
  sudo add-apt-repository ppa:tuxpoldo/btsync
  sudo apt-get update
  sudo apt-get install btsync   

Other staff

sudo smbpasswd -a normal
/media/U3000_64k /home/public/media/U3000_64k none bind 0 0
/media/TREBALL1000_Backup /home/public/media/TREBALL1000_Backup none bind 0 0

add the mount to the /etc/rc.local

mount --bind /media/TREBALL1000_Backup /home/public/media/TREBALL1000_Backup
mount --bind /media/U3000_64k /home/public/media/U3000_64k

Install in addition:

apt-get install usbmount

Copied from old disc

 /etc/passwd shadow group
 /etc/ssh
 /root/
 /home/*
 crontab

Edited fstab and added the old disks, ex:

UUID=01CEBCDE3E29C710 /media/TREBALL1000 ntfs nobootwait,nosuid,noexec,nodev,noatime,nodiratime,big_writes,fmask=0003,dmask=0002,uid=1002,gid=1002,utf8 0 0
UUID=01CE1EA4C5809050 /media/T3000_64k_Backup_U ntfs nobootwait,nosuid,noexec,nodev,noatime,nodiratime,big_writes,fmask=0003,dmask=0002,uid=1002,gid=1002,utf8 0 0 
UUID=01CE4473E3D75170 /media/N2000_64k_Backup_M ntfs nobootwait,nosuid,noexec,nodev,noatime,nodiratime,big_writes,fmask=0007,dmask=0007,uid=1002,gid=1011,utf8 0 0

Mount a LVM external drive

If it was also created by the Ubuntu installer it will have the same group name as the main disc, so you need to rename it using the VG UID.

To find the UID:

  vgdisplay

Then rename it using:

  vgrename ridJF2-162l-XhUl-IQNv-YGNu-crNc-y5d8HH it-vg2

Finally mount it:

  mount /dev/it-vg2/root tmp/

Other commands:

  apt-get install lvm2
  vgscan
  pvscan
Eines de l'usuari
Espais de noms
Variants
Accions
Linux
Gentoo
Kubuntu/Ubuntu
Eines