Sunday, August 18, 2013

[To do] Top things to do after installing Elementary OS | Luna

Top things to do after installing Elementary OS | Luna

¿De qué está hablando? Versión en español

Not running Elementary OS? Check my previous post for Ubuntu 13.04

Planning to install Elementary OS? This post explains how to do it with partitions (it's more secure and very useful) 


So I installed Elementary OS, what now?

In this post I will show the top things that I recommend you to do in order to make your computer run like a champ.

I strongly recommend the use of the (a) Terminal except in a few cases, like when you first update, you should update with the "Update Manager" because you'll have to install new kernel revisions.

Updating packages and upgrading


The first thing that you absolutely want to do, just after installing Elementary OS is to update your packages. To do this, you will need to search for the "Update Manager" in the application list.



It will atomically check for updates, after all the packages are updated you can click in "Install Updates"


Or you could launch a Terminal and put the following command:

sudo apt-get update && sudo apt-get upgrade

The first time you do this it could take a lot of time.

Installing proprietary drivers


If your computer has a graphic card like nVidia or AMD or a wireless connexion you may need to install some drivers to make it work properly. If your wireless doesn't work you might want to install the driver using a wired connexion.


After searching for "System Settings" go to the "Additional Driver"button  and choose the driver that you want to activate.



You need to restart your computer afterwards.



Enabling proprietary packages and installing proprietary software


If you want to install some proprietary packages like libraries to play MP3, or to install software developed by Microsoft, like Skype, you have to active some repositories in the "Software Sources". You open the "Software Center"


and in the Menu "Edit" you open the "Software Sources" window



 Then you click in tab "Other Software" and choose the option "Canonical Partners":



Privacy in Elementary OS

Don't forget about setting up your privacy. If you don't want to share information, go to "System Settings", then "Privacy" and turn off/on what you want.

I don't like the Desktop, show me something else


I don't recommend you to install another Desktop Environment because the meta packages are just too big and some unnecessary packages are installed.

Here is an example when I tried to install gnome-panel: (unity-lens???? mmm no thanks)


You can customize the desktop by going to "System Settings" > "Desktop". You can set different stuff like hot corners or the theme of the dock. Make sure you check that out before you try to change anything else.


Also the interest behind Elementary OS it's the modified Gnome desktop.

Internet



Google Chrome or Chromium: if you don't like Midori you can install Google Chrome by going to their download page.

After you installed the right package for your distribution you can use this command (adapt it with the name of your package:

sudo dpkg -i google-chrome-stable_current_amd64.deb

or you could just open the folder where you save the file and double-click it. But the command line is more fun, let's admit it.

If you want to install Chromium instead:

sudo apt-get install chromium-browser

Firefox and Thunderbird

If you want to install Firefox instead of Midori, just install it with:

sudo apt-get install firefox

Also if you want to change from Geary you can install Thunderbird with:

sudo apt-get install thunderbird

Transmission

If you want to download some files from the Internet using a Bit Torrent client there is one I really like: Transmission is a light-weight bit torrent client that will do just the job. You can set it up as you want but it doesn't have a lot of options.



sudo apt-get install transmission

There are many options for Linux, like KTorrent, Deluge...

Multimedia


There are some interesting programs to play multimedia, audio, video... But before doing some installation we want to make sure that we have the right codecs intalled.

sudo apt-get install non-free-codecs libxine1-ffmpeg gxine mencoder totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0

A frequent problem you find in different forums is how to play DVDs in Ubuntu/Linux. DVDs use a special encryption protocol, you have to install a library for decryption, run this command that will install this library and execute a configuration file:

sudo apt-get install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh

VLC



VLC is a great media player that can read EVERYTHING, and I really mean it.

sudo apt-get install vlc

 Clementine

If you're looking for an alternative to Rhythmbox because you don't like or if you miss some functionalities like an equalizer or a little more personalization; Clementine is a great option.
Go to the Download Page of Clementine and choose the latest version for Ubuntu and the architecture that you use (in my case Ubuntu 12.10 64-bit). Then from a Terminal try to install it, you will run into some errors of dependencies, but just use the second command to solve this, and you are good to go.

sudo dpkg -i clementine_1.1.1~quantal_amd64.deb

sudo apt-get install -f



GIMP

If you like photography and you don't want to spend a lot of money in Photoshop you can try out GIMP. I use it every day and it comes with a lot of functionalities.


Just run the following command:

sudo apt-get install gimp

If you want to edit RAW files from your camera you will need this extra package:

sudo apt-get install gimp-ufraw


This will let GIMP edit the RAW file after it imports it.


Inkscape

If you want to do some vector drawing Inkscape is a great piece of software, very easy to use. Here is an example I made in a free sunday.

sudo apt-get install inkscape

OpenShot

If you want to do some video editing in Linux, I think the best option right now could be OpenShot.

sudo apt-get install openshot

Just heard Steam came for Linux?


That's right boy, Steam launched its client for Linux a few months ago and it looks pretty awesome.
If you want to install it the easiest way is from the Software Center:


It will give the option to "Buy..." it, but it is actually free to just follow the procedure and you will be able to play your favorite games.

This is how it looks, pretty sweet if you ask me:


Messenger


Pidgin

I have tried Empathy but I had some troubles with my MSN account. Pidgin is a great alternative and it supports many protocols, like MSN, Facebook, Google Talk...

sudo apt-get install pidgin

Skype

In order to install Skype in Elementary you have to install the independent packages  as seen at the beginning of this blog.

sudo apt-get install skype


Cloud and backup


Dropbox

Most people have a cloud account with some server. You can share files, make a backups in the cloud, or just have your files available from anywhere you want. You have to go to the download page and again you can run this command (adapting it to your distribution):

sudo dpkg -i dropbox_1.6.0_amd64.deb

Deja-dup

Something that I love about Linux is that they have powerfull backup managers. You can setup your backups to put them in the Cloud or in a FTP server or simply put it in a hard drive.

In Luna you can install Deja-Dup (the default backup manager for Ubuntu). You can check other options like rsync, or Back In Time.



sudo apt-get install deja-dup

Some tools and indicators for your system


Archive Management Apps

If you frequently download files from the internet and you want to uncompress or compress here is a command that has everything you may want to install.

sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar
 

Note: If you install the rar, unrar package you will be able to read comic books in .cbr format with Evince.



I still need some Windows programs


Wine

If you need to install some Windows software that isn't available for Linux you can use Wine emulator. It is not going to work for everything but you can do a lot of stuff like installing Microsoft Office.


sudo apt-get install wine



Virtual Box

If Wine doesn't work you may want to create a virtual machine and install some programs in it. The problem is that you must have a Windows ISO.
Download the package from Oracle's site and again from the terminal (adapting it to your own):

sudo dpkg -i virtualbox-4.2_4.2.10-84104~Ubuntu~precise_amd64.deb

Programming (a.k.a "Why don't you compile?")


For people who use their machine for writing code, here is a list that you use for installing some basic packages for programming:

Essentials

First of all you want to install some basic packages that allows you to compile, this packages include gcc for example

sudo apt-get install build-essential

¿gcc is too old school?

Clang is a great compiler for C and C++, it has the same syntax that gcc but it has a nice output:

sudo apt-get install clang

Geany


A simple IDE that recognizes some languages.

sudo apt-get install geany

Eclipse

For programming with Java the only thing that you need to do (because it will install Java at the same time) is install Eclipse.

sudo apt-get install eclipse

OpenGL

If you're planning to do some programming using OpenGL you must install the "freeglut" package:

sudo apt-get install freeglut3-dev

Cleaning everything that you wont use anymore


After you're done installing everything that you always wanted run this commands to clean your packages and to uninstall everything that you don't need anymore:

sudo apt-get autoremove
sudo apt-get autoclean

Did you like this post? Don't forget to add me to your circles in G+ or to follow me on Twitter: @RobertoXMed .

If you can and if you want, don't forget to Donate so I can keep up the good work.

Sunday, August 4, 2013

[Tutorial] ¿Qué hacer luego de instalar ArchLinux?

¿Qué hacer luego de instalar ArchLinux?



Mi computador principal tiene ArchLinux instalado por el momento y lo estoy disfrutando mucho.

He decidido hacer este post un poco diferente que los anteriores porque si han logrado instalar Arch en su computador deben tener un conocimiento bastante bueno de Linux.

Si desean instalar Arch


La instalación de ArchLinux no es algo simple. Si quieren ver lo que les espera les dejo estos dos posts (en inglés). Así pueden ver lo que van a tener que hacer dependiendo de donde quieran instalar Arch.

Beginners' Guide - ArchWiki

Build a Killer Customized Arch Linux Installation - LifeHacker

Les recomiendo que no lo intenten en su computador principal porque es muy probable que no lo logren al primer intento. Practicar en una máquina virtual puede darles una primera idea de como van a tener que proceder.

¿Por qué quisiera instalar Arch?


Random meme motivador
La idea detrás de Arch es tener un sistema ligero que recibe siempre las últimas actualizaciones. Entonces van a usar siempre los últimos kernels o las últimas versiones de los programas y paquetes que tengan instalados.

A mucho usuarios les gusta ArchLinux porque deben hacer prácticamente todo desde 0. Es decir que uno debe crear sus propias particiones y elegir el sistema de archivos, hay que habilitar la conexión a Internet, entre otras cosas...

He sido usuario de Ubuntu desde que comencé a usar Linux, intenté algunas otras distribuciones pero nunca me logré adaptar al cambio. Con Arch ha sido diferente justamente porque siento que soy dueño del sistema operativo que está instalado en mi máquina. Instalé los paquetes que necesitaba y las cosas que me gustan, nada más ni nada menos y eso es genial.

Mi desktop en Arch

Instalar software, añadir paquetes, usar el Wiki


Los dos tutoriales que cité al principio les darán un sistema bastante básico. Pero para poder aumentar la funcionalidad de su instalación lo único que necesitan es un emulador de Terminal.


En ArchLinux van a tener que usar pacman para instalar nuevos paquetes y programas. Es bastante fácil, estos son unos comandos que van a usar probablemente todo el tiempo.

Si quieren instalar algo lo único que necesitan ejecutar:

sudo pacman -S <nombre_del_paquete>

Si quieren buscar un paquete en los repositorios

sudo pacman -Ss <nombre_del_paquete>

Si quieren desinstalar algo

sudo pacman -R <nombre_del_paquete>

Y si quieren actualizar su sistema

sudo pacman -Syu

Lo que les recomiendo, antes de que se pongan a instalar paquetes como locos es hablitar los repositorios multilib.

Editen el archivo de configuración en /etc/pacman.conf

Quiten los comentarios en las líneas:

[multilib]
Include = /etc/pacman.d/mirrorlist


El ArchWiki va a ser su mejor amigo mientras usen Arch. Si quieren información sobre como instalar un programa pueden buscar información en el ArchWiki y van a encontrar como instalarlo y como resolver los problemas más comunes (si es que lo tienen).

Lo que es genial sobre el ArchWiki es que en la mayoría de casos lo que está explicado en los artículos se aplica para todas las distribuciones de Linux. Definitivamente es una gran fuente de documentación.

Si quieren una lista de software que puede interesarles pueden ver cualquiera de mis posts de ¿Qué hacer luego de instalar <cualquier distro>?

Para Ubuntu 13.04 por ejemeplo:

¿Qué hacer luego de instalar Ubuntu 13.04?

Usar los AUR


Si no encuentran un programa en los repositorios oficiales, la otra forma de instalar lo que deseen, es descargando un tarball desde los Arch User Repositories (AUR). Luego de descargar el paquete hay que compilarlo , puede sonar un poco complicado pero en realidad es muy fácil.

La primera vez van a tener que asegurarse que tienen las herramientas básicas de desarrollo:

sudo pacman -S base-devel

Primero busquen el paquete que quieran en la página de AUR y descarguen la tarball. Luego van a tener que extraerla:

tar xvf <the_tarball>.tar.gz

Vayan a la carpeta que se creó y usen makepkg, la opción -s va a resolver las dependencias

makepkg -s

Esto va a compilar el paquete y va a crear un .tar.xz el último paso es instalar el paquete con pacman

sudo pacman -U <the_build>.tar.xz

Algunas notas y problemas que he encontrado


En mi computador tengo un dispositivo Broadcom Wireless, tuve que instalar el paquete broadcom-wl para poder usar mi Wifi pero NetworkManager no puede conectarse a internet, por el momento no he encontrado una solución :(

Cuando estaba tratando de instalar Steam tenía un problema con gpg lo que solucionó mi problema fueron estos comandos:

sudo pacman-key --refresh-keys
sudo gpg --homedir /etc/pacman.d/gnupg --edit-key 182ADEA0 enable quit


Asegúrense de ver el ArchWiki post sobre Steam. A lo mejor necesiten instalar algunas librerías. En mi caso tuve que instalar lib32-intel-dri para tener un buen rendimiento.

Les gustó este post? No se olviden de agregarme a sus círculos en G+ o de seguirme en Twitter: @RobertoXMed

Si pueden y quieren no olviden hacer una Donación (por Paypal) para el blog chimbo así podré seguir haciendo gran contenido.

Wednesday, July 31, 2013

[To do] Things to do after installing ArchLinux

Things to do after installing ArchLinux



My main system is running Arch for the moment and I am loving it.

I decided to make this post a little different from the previous ones, because if you have installed Arch you have a good knowledge of Linux.

If you plan to install Arch


The installation of ArchLinux is not an easy thing. You can check this two guides that I followed to have an idea of what you will need to do.

Beginners' Guide - ArchWiki

Build a Killer Customized Arch Linux Installation - LifeHacker

You may want to try it in a different machine because you may not be able to make everything run the first try.

Why would I want to install Arch?


Random motivation meme
The idea behind Arch is to have a lightweight distribution that receives always the latests updates. So you will always run the latests kernels and the latests versions of everything.

Many users like ArchLinux because you do almost everything from scratch. You create your partitions and choose your filesystem, you enable your network...

I have been an Ubuntu user since I started using Linux, I have tried other distros but I wasn't fully satisfied with them. With Arch it has been different because I feel like I own the OS. I build it the way I like it and that feels actually great.

My desktop in Arch

Installing software, adding packages, using the Wiki


The two tutorials that I mentioned will allow you to install a very basic installation. But let's be honest the only thing you need to get everything you want, is a Terminal emulator.


In ArchLinux you will have to install new software using pacman it's very easy actually.

If you want to install something you only need to run

sudo pacman -S <package_name>

If you want to search for a package

sudo pacman -Ss <package_name>

If you want to remove a package

sudo pacman -R <package_name>

And if you want to update your system

sudo pacman -Syu

What I recommend you to do before starting installing everything that you want is to enable multilib repositories.

Go ahead and edit the pacman configuration file in /etc/pacman.conf

Uncomment the lines

[multilib]
Include = /etc/pacman.d/mirrorlist


The ArchWiki is your best friend while you are using Arch. If you want some information about how to install a package you can search information in the ArchWiki about Bumblebee for example, it will tell you how to install it and test it.

What is great about the ArchWiki is that it applies most of the time for Linux in general. It's a great source of documentation.

If you want a list of software you may want to install, you can check my posts about Top Things to Do for any distro.

For Ubuntu 13.04 for example:

Top things to do after installing Ubuntu 13.04

Using the AUR


If you don't find the program that you want in the repositories the easiest way to install what you want is to download a tarball from the Arch User Repositories (AUR) build the package and install it using pacman. It sounds very complicated but you get used to doing this.

The really first time you do this you need to install basic development tools:

sudo pacman -S base-devel

First search for the package that you want in the AUR website and download the tarball. Then you need to extract it:

tar xvf <the_tarball>.tar.gz

Go to the extracted directory and run makepkg, the -s option is used to install dependencies

makepkg -s

This will build the package and create a .tar.xz and the last step is to install that build with pacman

sudo pacman -U <the_build>.tar.xz

Some notes about problems I have encountered


I use a Broadcom Wireless device and I have to use the broadcom-wl package from the AUR. My interface gets renamed from time to time and NetworkManager isn't able to connect. I haven't figured out what is causing the problem yet. :(

EDIT (02/09/13): My problem with Network Manager and with the weird interface name was caused by a systemd service. In the wiki it tells you to enable dhcpd service if you don't have a network connection. I had to do it and that basically caused my wireless interface to have weird names like "eth0".
If you have that problem you need to disable dhcpd with

sudo systemctl disable dhcpd.service

If you enabled or installed another service, in my case netctl make sure you uninstall it in order to use Network Manager.

Then simply start Network Manager with:

sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager

If you need a 3G connection install Modem Manager and enable it:

sudo systemctl enable ModemManager
sudo systemctl start ModemManager

Looking good Arch
When I was trying to install Steam I had a gpg signature problem what solved my problem was running the following commands:

sudo pacman-key --refresh-keys
sudo gpg --homedir /etc/pacman.d/gnupg --edit-key 182ADEA0 enable quit


Make sure you check the ArchWiki post about Steam. You may need some libraries , I needed the package lib32-intel-dri in order to fix performance issues.

If you use Bumblebee I recommend you to launch steam with primusrun:

primusrun steam

Did you like this post? Don't forget to add me to your circles in G+ or to follow me on Twitter: @RobertoXMed .

If you can and if you want, don't forget to Donate so I can keep up the good work.

Monday, July 15, 2013

[Tutorial] Mejorar el rendimiento de su batería en Linux

Mejorar el rendimiento de su batería en Linux



Si quieren mejorar le rendimiento de su batería en Linux y quieren reemplazar a Jupiter porque ya no está siendo mantenido pueden darle un vistazo a TLP.

En este post les motraré algunas funcionalidades de TLP y como pueden instalarlo en varias distribuciones.

Nota: Solo tengo dos computadores, uno en Ubuntu y otro con Fedora. No he probado TLP en openSUSE.

Funcionalidades de TLP


TLP es un programa que no tiene ninguna interfaz gráfica y automática ejecuta algunas rutinas para funcionar. Así que prepárense para lanzar uno que otro Terminal.

Estas son las funcionalidades, sacadas del sitio oficial de TLP (en inglés):

Settings depending on the Power Source
  • Kernel laptop mode and dirty buffer timeouts
  • Processor frequency scaling including "turbo boost" / "turbo core"
  • Power aware process scheduler for multi-core/hyper-threading
  • Hard disk advanced power magement level and spin down timeout (per disk)
  • SATA aggressive link power management (ALPM)
  • PCI Express active state power management (PCIe ASPM) – Linux 2.6.35 and above
  • Runtime power management for PCI(e) bus devices – Linux 2.6.35 and above
  • Radeon KMS power management – Linux 2.6.35 and above, not fglrx
  • Wifi power saving mode – depending on kernel/driver
  • Power off optical drive in drive bay (on battery)
Additional functions
  • I/O scheduler (per disk)
  • USB autosuspend with blacklist
  • Audio power saving mode – hda_intel, ac97
  • Enable or disable integrated wifi, bluetooth or wwan devices upon system startup and shutdown
  • Restore radio device state on system startup (from previous shutdown).
  • Radio device wizard: switch radios upon network connect/disconnect and dock/undock
  • Disable Wake On LAN
  • WWAN state is restored after suspend/hibernate
  • Untervolting of Intel processors – requires kernel with PHC-Patch
  • Battery charge thresholds – ThinkPads only
  • Recalibrate battery – ThinkPads only

 

Instalar TLP


Bueno he aquí la parte interesante. Si quieren usar TLP deberán eliminar scripts que hayan hecho o instalado para tratar de mejorar el rendimiento de su batería. Como TLP funciona muy cerca del Kernel puede que funcione mal si tengan rutinas que interfieran con TLP.

En Ubuntu

Solo añadan el PPA oficial:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw

Si usan un Thinkpad

sudo apt-get install tp-smapi-dkms acpi-call-tool

En Fedora

sudo yum localinstall --nogpgcheck http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release-1.0-0.noarch.rpm

sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Instalen los paquetes que necesiten:
  • tlp (TLP repo) – Economizar energía
  • tlp-rdw (TLP repo) – opcional, Radio Device Wizard
  • akmod-tp_smapi (TLP repo) – opcional solo ThinkPad, tp-smapi se necesita para calibrar la batería de algunos Thinkpad que usan tlp-stat
  • akmod-acpi_call (TLP repo) – opcional solo ThinkPad, acpi-call se necesita para calibrar la batería de algunos modelos con Sandy Bridge y con otros modelos más recientes (X220/T420, X230/T430 et al.)
Instalen los paquetes con el comando siguiente:

sudo yum -y install tlp tlp-rdw 
Thinkpads requieren:

sudo yum -y install akmod-tp_smapi akmod-acpi_call

En OpenSUSE 12.3



zypper ar -f http://download.opensuse.org/repositories/home:/cdersch:/TLP/openSUSE_12.3/home:cdersch:TLP.repo 
En caso de los repositorios contrib no estén activos:

zypper ar -f http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_12.3/openSUSE:Factory:Contrib.repo

Verificar que TLP está funcionando


Para ejecutar TLP manualmente necesitan usar

sudo tlp start



Pueden verificar que TLP está activo en cualquier momento con

sudo tlp stat

Y si quieren ser más específicos

sudo tlp stat | grep "TLP_ENABLE"


o también

sudo tlp stat | grep "TLP power save"


Les gustó este post? No se olviden de agregarme a sus círculos en G+ o de seguirme en Twitter: @RobertoXMed

Si pueden y quieren no olviden hacer una Donación (por Paypal) para el blog chimbo así podré seguir haciendo gran contenido.

[How to] Improve Battery Life in Linux

How to improve battery performance in Linux



If you want to improve your battery life in Linux and you want to replace Jupiter because it is no longer maintained, you can check out TLP.

In this post I will show you some features of TLP and how to install it in different distros.

Note: I only have two computers, one with Ubuntu and another with Fedora. I haven't try this in openSUSE.

TLP features


"TLP is a pure command line tool with automated background tasks". So be prepare to launch a Terminal.

Here are the features showed in the TLP official site:

Settings depending on the Power Source
  • Kernel laptop mode and dirty buffer timeouts
  • Processor frequency scaling including "turbo boost" / "turbo core"
  • Power aware process scheduler for multi-core/hyper-threading
  • Hard disk advanced power magement level and spin down timeout (per disk)
  • SATA aggressive link power management (ALPM)
  • PCI Express active state power management (PCIe ASPM) – Linux 2.6.35 and above
  • Runtime power management for PCI(e) bus devices – Linux 2.6.35 and above
  • Radeon KMS power management – Linux 2.6.35 and above, not fglrx
  • Wifi power saving mode – depending on kernel/driver
  • Power off optical drive in drive bay (on battery)
Additional functions
  • I/O scheduler (per disk)
  • USB autosuspend with blacklist
  • Audio power saving mode – hda_intel, ac97
  • Enable or disable integrated wifi, bluetooth or wwan devices upon system startup and shutdown
  • Restore radio device state on system startup (from previous shutdown).
  • Radio device wizard: switch radios upon network connect/disconnect and dock/undock
  • Disable Wake On LAN
  • WWAN state is restored after suspend/hibernate
  • Untervolting of Intel processors – requires kernel with PHC-Patch
  • Battery charge thresholds – ThinkPads only
  • Recalibrate battery – ThinkPads only


Installing TLP


Now the serious part. If you want to use TLP you need to erase all kind of power configuration you may have done or scripts you may have implement.

In Ubuntu

Just add the official PPA:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw

If you use a Thinkpad

sudo apt-get install tp-smapi-dkms acpi-call-tool

In Fedora

sudo yum localinstall --nogpgcheck http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release-1.0-0.noarch.rpm

sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Install the following packages:
  • tlp (TLP repo) – Power saving
  • tlp-rdw (TLP repo) – optional, Radio Device Wizard
  • akmod-tp_smapi (TLP repo) – optional ThinkPad only, tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
  • akmod-acpi_call (TLP repo) – optional ThinkPad only, acpi-call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)
Install the above packages with the following command:

sudo yum -y install tlp tlp-rdw 
ThinkPads require an additional:

sudo yum -y install akmod-tp_smapi akmod-acpi_call

In OpenSUSE 12.3



zypper ar -f http://download.opensuse.org/repositories/home:/cdersch:/TLP/openSUSE_12.3/home:cdersch:TLP.repo 
In case the contrib repo is not yet active:

zypper ar -f http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_12.3/openSUSE:Factory:Contrib.repo

Checking if TLP is running


If you want to manually start tlp run the command

sudo tlp start



You can check if tlp is enabled at any moment with

sudo tlp stat

If you want to be more specific

sudo tlp stat | grep "TLP_ENABLE"


or you can check

sudo tlp stat | grep "TLP power save"


Did you like this post? Don't forget to add me to your circles in G+ or to follow me on Twitter: @RobertoXMed .

If you can and if you want, don't forget to Donate so I can keep up the good work.