Get Better Linux Desktop Performance And More With pf-kernel

tux logo

pf-kernel is a custom Linux Kernel that comes with some popular patches not merged into the mainline Kernel, such as:

  • -ck patchset with BFS CPU scheduler: Con Kolivas’ ck1 patchset which includes the BFS scheduler that brings better desktop interactivity and responsiveness;
  • BFQ I/O scheduler : using this patch, the disk should be virtually as responsive as if it was idle, no matter what the load is (this is available by default in Sabayon and CyanogenMod);
  • TuxOnIce: an alternative suspend / hibernate framework that uses image compression, supports any number of swap partitions and/or files, has the ability to cancel hibernating or restoring the image by pressing escape key and more;
  • UKSM: Memory De-Duplication;
  • EnhanceIO: a driver based on EhanceIO SSD caching software derived from Facebook’s open source Flashcache project that’s useful for using SSDs as cache devices for traditional HDDs.

As an example, below you can watch a video recorded by Paolo Valente, who is behind BFQ, demoing the performance of the BFQ disk I/O scheduler on a hard disk:


(direct video link)

Warning: Some things such as graphics drivers may not be compatible with pf-kernel since it may be a lot newer than the Linux Kernel used by default on your Linux distribution so be careful and only install it if you know what you are doing. Also, options (like Zram) available in your Linux distribution Kernel may not be enabled in pf-kernel. I’ve tested this in Ubuntu 13.04 (Raring Ringtail) with and I didn’t encounter any issues (Bumblebee works with proprietary Nvidia drivers, etc.) but this may not be the case for you since it depends on your hardware and Ubuntu version.

Install pf-kernel in Ubuntu / Debian

Download the latest pf-kernel version for Ubuntu / Debian  from HERE. 
You’ll need to download two files: linux-image and linux-headers which have the same version (e.g.: 3.9.2), for your architecture. For instance, on 64bit, you’ll need “linux-image-3.9.2-pf_1_amd64.deb” and “linux-headers-3.9.2-pf_1_amd64.deb” (3.9.2 is the latest version at the time I’m writing this) and put the downloaded files in some folder, let’s say a “kernel” folder in your home directory.

Then, to install it, use the following commands (assuming you’ve placed the deb files in a folder called “kernel” in your home directory):
cd ~/kernel
sudo dpkg -i *.deb

Optional: for TuxOnIce to work, firstly enable hibernate since it’s disabled in Ubuntu by default. Then, download the tuxonice-userui deb for your Ubuntu version / architecture from HERE and install it, then run the following command to get the TuxOnIce text user interface to work:
sudo ln -s /usr/lib/tuxonice-userui/tuxoniceui /usr/local/sbin/tuxoniceui_text

That’s all you need to do for TuxOnIce to work (if hibernate is working on your machine, obviously).

And finally, restart your computer.

If later on you want to remove pf-kernel and go back to the Linux Kernel you were using before, remove the installed packages using Synaptic (linux-image-*-pf and linux-headers-*-pf) or, to do this automatically via the command line, use the following commands:
pfkernel=$  (dpkg --get-selections | grep linux-.*pf | sed -e 's/-pf.*/-pf/g')
sudo apt-get remove $ pfkernel

And then restart the computer.

For other Linux distributions or if you want to compile your own Kernel, see the pf-kernel homepage for download links.
seen on lffl.org, image via wikipedia


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Desktop Search Tool `Recoll` Updated With Significant Improvements

Recoll

Recoll is a full text search tool for Linux that comes with a Qt GUI, an Ubuntu Unity Lens and it can also be used via command line. The application can find keywords inside documents as well as file names.

This featureful desktop search tool can index a huge number of file types. Besides text, html, maildir and mailbox (Thunderbird, Evolution), Gaim and Purple log files, Scribus files, man pages and Dia diagrams which it supports natively, Recoll can also index by using external helpers: Abiword, Microsoft Offic XML, LibreOffice, SVG and Gnumeric files, Okular annotation files, PDFs, MSWord, PowerPoint and Excel files, CHM, EPUB, archives like tar, zip and rar, ics, postscript, RTF, TeX, dvi, djvu, audio and image file tags and more. For more info, see the Recoll features page.
Recoll search tool
Recoll 1.19 advanced search filters and user interface preferences

Recoll supports wildcards (*, ?, []) as well as advanced searches such as:

  • “OR”, “AND” operators
  • search for autor, e.g.: author:”george orwell”
  • search by size, date, mime or format
  • search inside a folder, e.g.: dir:/home/andrei/Dropbox
  • more

To use these advanced searches in the Recoll UI, select “Query language” next to the search term. For the Unity Lens, simply type the query in the lens search field. You can use the Advanced Search dialog (Tools > Advanced Search) to use such filters without having to manually enter them in the search field.

For more info, see the Recoll user manual (chapter “3.5. The query language”).

Recoll 1.19

Recoll 1.19 has been released a few days ago (and now updated to 1.19.2 due to some bugs found in the initial 1.19.0 release), with many new features and improvements, such as:
  • indexing can now use multiple threads which should bring a major performance boost for multiprocessor machines with big indexes;
  • it’s now possible to use “OR” with “dir:” and wildcards have been enabled
  • the advanced search panel now has a history feature. Use the up/down arrows to walk the search history list;
  • new results popup menu to display sub-documents for a given document, useful to display email attachments;
  • new GUI configuration options to enable “search as you type” and to disable Qt auto-completition in the simple search string which was confusing at times;
  • better video files support;
  • new web browser interface that uses the Bottle Python Web framework for the server side and the Recoll Python module and it can be self-contained so you don’t have to run apache or another web server to use it. Please note that for me, the new web interface didn’t work in Ubuntu 13.04 (bug reported);
  • new filter to index and retrieve Lotues Notes messages;
  • the first indexing ran after a new Recoll installation will now firstly index data that is more likely to be searched, so you can start searching before the indexing is completed;
  • implemented cache for last file uncompressed. This will much improve usage, e.g. for people fetching successive messages from a compressed mail folder;
  • there is a new recursive explicit reindex option available for the command line indexer;
  • improved handling of filters during indexing resulting in less subprocesses;
  • extended file attributes are now indexed by default. As a side effect, Recoll now uses st_ctime, not st_mtime to detect file changes;
  • more!

Install Recoll in Ubuntu

Ubuntu users can install the latest Recoll by using its official PPA:

sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on
sudo apt-get update
sudo apt-get install recoll
Recoll Unity Lens

To also install the Recoll Unity Lens, use the following command:

sudo apt-get install recoll-lens

After installing Recoll Lens, log out and log back in or restart Unity by pressing ALT + F2 and entering “unity”.

The Recoll Lens doesn’t support Dash Previews yet and in Ubuntu 13.04 on which I’ve tested the latest version on, the icons that show up in the lens have an ugly black background – hopefully this will be fixed soon.

Next, you need to start the Recoll GUI – the first time you run it, it will automatically start indexing the files in your home folder. If you want to configure the partitions / folders Recoll should index, from the Recoll menu select Preferences > Indexing configuration. Also check out the Indexing schedule in the same Preferences menu for configuring how often Recoll should index the new or changed files.

For other Linux distributions, see the Recoll downloads page.


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Securing SSH On Ubuntu Precise With WiKID Two-Factor Authentication

Securing SSH On Ubuntu Precise With WiKID Two-Factor Authentication

SSH offers a highly secure channel for remote administration of servers. However, if you face an audit for regulatory or business requirements, such as Visa/Mastercard PCI, you need to be aware of some potential authentication related short-comings that may cause headaches in an audit. In this document we are going to demonstrate how to combine two-factor authentication from WiKID on Ubuntu. This document will also serve as the basis for additional tutorials because many services on Linux use PAM for authentication.

HowtoForge – Linux Howtos and Tutorials – Linux

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Install Weather Indicator With New Location And Forecast Fixes In Ubuntu

Weather Indicator used to be one of the most popular Ubuntu appindicators but unfortunately, it doesn’t work properly any more: it crashes when trying to add a new location and the weather forecast doesn’t work – because of this, it was even removed from the Ubuntu 13.04 (Raring Ringtail) official repositories.
Weather Indicator
However, if for whatever reason you don’t want to use My Weather Indicator, a pretty cool alternative by the way, you can now use Weather Indicator again thanks to Joshua, who has fixed the two issues mentioned above along with some other bugs and has created a PPA so you can easily install a working Weather Indicator in Ubuntu 13.04, 12.10 and 12.04.

Weather Indicator features:

  • displays current temperature, humidity, wind, sunrise and sunset in the indicator menu and optionally, it can display the weather next to the indicator icon;
  • uses the Yahoo Weather API;
  • 4-day weather forecast;
  • multiple locations support;
  • optional notifications support for severe weather or on every weather condition change;
  • supports imperial and metric units.

Install the fixed Weather Indicator in Ubuntu

To install Weather Indicator, with fixes for adding new locations and for the weather forecast, in Ubuntu, use the following commands in a terminal:
sudo add-apt-repository ppa:jtasker/weather-indicator
sudo apt-get update
sudo apt-get install indicator-weather

Once installed, launch the appindicator from the Dash / menu, select “Set up weather” and you should be able to successfully add locations under the “Locations” tab.

Important: by default, the indicator only displays an icon on the top panel and it doesn’t display the current temperature. If you want it to display the temperature on the panel, in the Weather Indicator preferences, on the “General” tab, enable “Show temperature near indicator”.


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Securing SSH On Ubuntu Precise With WiKID Two-Factor Authentication

Securing SSH On Ubuntu Precise With WiKID Two-Factor Authentication

SSH offers a highly secure channel for remote administration of servers. However, if you face an audit for regulatory or business requirements, such as Visa/Mastercard PCI, you need to be aware of some potential authentication related short-comings that may cause headaches in an audit. In this document we are going to demonstrate how to combine two-factor authentication from WiKID on Ubuntu. This document will also serve as the basis for additional tutorials because many services on Linux use PAM for authentication.

HowtoForge – Linux Howtos and Tutorials – Linux

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Free DJ Software `Mixxx` Sees New Release

After more than a year of work, Mixxx 1.11.0 has been released recently, featuring a new beat detector, colored 3-band waveforms and many other new features as well as various bug fixes and performance improvements.
Mixxx DJ Software

Mixxx is an advanced free / open source DJ software for Linux, Windows and Mac OS X. Among its main features are: parallel or split scratchable waveform displays, spinning vinyl widgets, MP3, OGG, WAVE, M4A / AAC, and FLAC playback with support for extra formats through plugins, Shoutcast and Icecast broadcasting, microphone support, automatic crossfading with Auto DJ, crates and playlists, reads iTunes, Traktor, and Rhythmbox libraries, pitch-independent time stretch, vinyl emulation, BPM detection and estimation and much more.
Despite having many advanced features, Mixxx isn’t that hard to use, although its interface may seem a bit confusing at first. Also, Mixxx comes with various skins, each optimized for multiple screen resolutions.

New features in the latest Mixxx 1.11.0:
  • colored, 3-band Waveforms;
  • brand New Beat Detector;
  • HID and Bulk Controller Support, with HID presets for: EKS Otus, Traktor Kontrol F1, Hercules DJ Console Mk1, Mk2 and MP3 e2, Nintendo Wiimote, Pioneer CDJ 850/900/2000 and Sony SixxAxis;
  • session history;
  • new effect, “Beatloop Rolls”, that works just like a beatloop except when you release the button the deck jumps to where it would have been if you hadn’t started the loop;
  • Preview Deck: preview tracks in your headphones without having to load them into a main deck;
  • advanced search, e.g.: find all tracks between 100 and 120 BMP with a rating greater than 4 using “bpm:100-120 rating:>4″. More about this in the Mixxx manual;
  • improved AutoDJ;
  • point-and-click MIDI mapping;
  • new Sample Grid skin;
  • time widgets;
  • Sample Deck Improvements;
  • improved user manual;
  • new controller support: Mixxx certified: Allen & Heath Xone K2, EKS Otus, Keith McMillen Instruments QuNeo and Vestax VCI-400 but there’s also community support for Akai LPD8, American Audio VMS2, Hercules DJ Console Mk1, Hercules DJ Control AIR, Nintendo Wiimote, Traktor Kontrol F1 and mano thers;
  • more.
For a complete list of changes and new features in Mixxx 1.11.0, see its official changelog.

Install Mixxx in Ubuntu

Ubuntu users can install the latest Mixxx DJ software by using its official PPA. Add the PPA and install it using the following commands:

sudo add-apt-repository ppa:mixxx/mixxx
sudo apt-get update
sudo apt-get install mixxx libportaudio2

If you don’t want to use a PPA or don’t need the latest version, you can try the older version available in the official Ubuntu repositories / Ubuntu Software Center:

Available in Ubuntu Software Center

Download Mixxx (available for Linux, Windows and Mac OS X)


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Fix: Shadow Displayed On Top Of Full-Screen Videos / Windows In Ubuntu 13.04

In Ubuntu 13.04, the top Unity panel shadow is displayed on top of full-screen videos / windows. The bug has been fixed a while back but it hasn’t landed in Ubuntu 13.04 yet so here are two fixes / workarounds you can use until then.

Shadow displayed on top of full-screen video

The first workaround is very simple but it’s only useful for videos (the window is unfocused so if you need to type something inside the full-screen app, it won’t work, thus it’s not very useful for Firefox, text editors, etc.): when playing a video in full-screen, press the Super (Windows logo) key or the Alt key and the shadow displayed at the top of the video should disappear. That’s all you have to do, however, remember that you must do this each time you play a full-screen video until this is fixed in Unity.
The second workaround removes the panel shadow (even when there are no full-screen windows) and it works with any full-screen window. To apply this work-around, use the following command in a terminal:
sudo dpkg-divert --local --rename --divert /usr/share/unity/6/panel-shadow.png_disabled --add /usr/share/unity/6/panel-shadow.png
Then, you need to restart Unity so either press ALT + F2 and enter: “unity” or log out and log back in.
Workaround thanks to bwat47.
If later on you want to revert this change and get the Unity panel shadow back, use the following command:
sudo dpkg-divert --local --rename --remove /usr/share/unity/6/panel-shadow.png
And once again, restart Unity by pressing ALT + F2 and entering “unity” or log out.


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Using Solr With TYPO3 On Debian Squeeze

Using Solr With TYPO3 On Debian Squeeze

TYPO3′s default search extension called “Indexed Search” is fine for small web sites, but if your web site is bigger (> 500 pages), it is getting very slow. Fortunately, you can replace it with a search extension that uses the ultra-fast Apache Solr search server. This tutorial explains how to use Apache Solr with TYPO3 on Debian Squeeze.

HowtoForge – Linux Howtos and Tutorials – Linux

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Possible Changes In Ubunu 13.10 Saucy Salamander [UDS]

Ubuntu Developer Summit is a meeting where software developers gather to discuss the next Ubuntu version changes and features.
The Ubuntu Developer Summit (uds-1305) will start tomorrow, will last for 3 days and some major possible changes will be discussed, like “click packages“, Chromium replacing Firefox as the default web browser, Unity 8 with Mir being available for testing on the desktop and more.
So here are the possible changes in Ubuntu 13.10 Saucy Salamander (remember, possible, they may or may not happen) desktop as well as Lubuntu and Xubuntu 13.10.

The discussions start tomorrow and you can watch all the UDS sessions live (Google+ Hangouts) or recorded. See http://summit.ubuntu.com/uds-1305/ for a complete UDS-1305 schedule.

Ubuntu / Unity changes

Ubuntu

In Ubuntu 13.10 Saucy Salamander, Unity 7 should  get the 100 scopes / smart scopes feature that was supposed to land in Ubuntu 13.04, but was postponed, along with an in-dash payment system. Further more, Compiz will probably be updated to version 0.9.10 (trunk) with the performance improvement branches merged, so users should see an even faster Unity / desktop in the upcoming Ubuntu release.
Unity 8 which will be running on top of Mir might be available as an alternative session on the desktop in Ubuntu 13.10 Saucy Salamander, for testing purposes. If this will happen, Unity 8 will be able to run in parallel with Unity 7 (the main shell used by default in Ubuntu 13.10). The expected minimal capabilities include accessing local content, working networking, using some phone core apps on the desktop and a good experience navigating the shell with a non-touch device such as a touchpad or mouse. There will be no desktop features added so this will only be a reflection of what already exists for the phone.

As for the default applications, it looks like there’s only one change proposal, but a pretty major one: Chromium might be used as the default web browser in Ubuntu 13.10, replacing Firefox. According to the blueprint, “Chromium has matured to being as good or better than Firefox. It will be the foundation of a lot of Ubuntu Touch code and webapps code“, this probably leading to considering it as the default browser on the desktop too.
A new feature that might be added to Ubuntu 13.10 Saucy Salamander is “click packages“, a simplified package format and installer – we’ve already covered that so take a look at our initial article for details: Ubuntu Might Get A New Simplified Packaging Format And App Installer.

Locally Integrated Menus Ubuntu

With Ubuntu 13.10, we might also see the locally integrated menus finally available by default. These are menus that can be displayed on the panel, as a drop-down, for maximized windows, as well as in the window decoration for unmaximized windows, and they were firstly supposed to land in Ubuntu 12.04, but were eventually delayed.
Other changes that might make it into Ubuntu 13.10 Saucy Salamander include:
  • support by default the latest Nvidia drivers that come with initial Optimus support (the patches are already available, there’s little work required);
  • there might be some new indicators (e.g.: for Keyboard);
  • Saucy will probably ship with xserver 1.14, mesa 9.2.x and Linux Kernel 3.10 or 3.11;
  • support Nvidia Prime, get Radeon UVD support, get proper radeonsi support as well as proper touch screen support for X.Org.

Possible Lubuntu 13.10 Saucy Salamander changes

Some interesting changes are expected to happen in Lubuntu too, the LXDE Ubuntu flavor. While Ubuntu might switch from Firefox to Chromium, Lubuntu considers the opposite: it might ship with Firefox by default instead of Chromium as the default web browser because Chromium uses too much memory for Lubuntu, which is supposed to be a lightweight Linux distribution.
Other possible changes in Lubuntu 13.10 Saucy Salamander include:
  • remove lxkeymap in favor of the keyboard applet of lxpanel;
  • Lubuntu Software Center might be replaced with something else;
  • Xscreensaver might be removed and replaced with the LightDM locking system;
  • Ubuntu One might be integrated by default;
  • better file manager that includes support for ssh/ftp;
  • FreeCiv or another game might be added by default;
  • artwork changes.

Xubuntu 13.10 Saucy Salamander

No Xubuntu session shows up in the UDS session list, but there are some sessions registered on Launchpad, though they don’t give too much info about Xubuntu 13.10 Saucy Salamander. So far, it looks like Xubuntu 13.10 might get apt-offline by default and also, there’s going to be a study to see if it’s feasible to integrate HUD into Xubuntu. Xubuntu Saucy might also get a new keyboard shortcuts overlay, kind of like the one available in Ubuntu and some other minor tweaks, at least according to the current blueprints.
Also, since Xfce 4.12 was supposed to be released in March, but wasn’t, it’s still unsure if Xubuntu 13.10 Saucy Salamander will ship with Xfce 4.12 or continue with 4.10 like in Xubuntu Quantal.
There’s little or no information for now about Kubuntu, Ubuntu GNOME or the other Ubuntu flavors, that’s why I didn’t add any info about them.


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

How To Configure Apache To Use Radius For WiKID Two-Factor Authentication On Ubuntu

How To Configure Apache To Use Radius For WiKID Two-Factor Authentication On Ubuntu

This document describes how to add WiKID two-factor authentication to Apache 2.x using mod_auth_radius on Ubuntu 12.04 Precise. It is recommended that you consider using mutual https authentication for web applications that are worthy of two-factor authentication. Strong mutual authentication means that the targeted website is authenticated to the user in some cryptographically secure manner, thwarting most man-in-the-middle attacks. The use of cryptography is key. While some sites use an image in an attempt to validate a server, it should be noted that any man-in-the-middle could simply replay such an image.

HowtoForge – Linux Howtos and Tutorials – Linux

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

Get Weather Or System Info On Your Desktop With These 2 Conky Configurations

There are two Conky configurations I’ve been wanting to write about for a while, but I didn’t have the time to do it, until today, so here it is: the first one has been created by Satya, it’s called Conky Google Now and is very easy to set up while the second one, created by Pressian, is more advanced and requires some experience with Conky to set it up.
Conky is a lightweight, highly configurable system monitor tool which can display the information on your desktop, in different shapes and forms.

Before proceeding, make sure you’ve firstly installed Conky. In Ubuntu, install it using the following command:
sudo apt-get install conky-all

Conky Google Now

Download Conky Google Now

Conky Google Now is a Conky configuration created by Satya which tries to imitate Google Now. This should be very easy to use as there isn’t much to configure: you only need to get the Yahoo Weather ID for your city and enter it in the Conky configuration file.
This Conky config displays the current weather, a forecast for the next two days, wind speed as well as the network up / down speed and total sent / received data.

To use Conky Google Now, download the configuration files from Deviant Art (link above) – there’s a download link on the right.
Now, install the Open Sans (Light) font which is used by Conky Google Now. Download the font from HERE, place it under ~/.fonts (if the folder doesn’t exist, create it), then update the font cache using the following command:
sudo fc-cache -fv
The next stept is to extract the downloaded archive, then press CTRL + H inside the extracted folder to be able to see all the files (all are hidden except the README) and copy the “.weathericons” and “.conkyrc” in your home folder. If you want to use the dark Conky Google Now, copy “.conkyrc-dark” in your home folder instead and rename it to “.conkyrc”.

Conky Google Now Dark
Conky Google Now dark

Now go to weather.yahoo.com, search for your city (under “Enter city or zip code”), and once you reach your city weather page, note down the numbers (this is the WOEID) from the end of the URL, e.g., in my case, the URL is: “http://weather.yahoo.com/romania/bucuresti/bucharest-868274/” so the WOEID is “868274″. Now open the ~/.conkyrc file, search for “2294941″ (without the quotes) and replace it with your WOEID, then save the file.

Now, to run conky, simply open a terminal or type ALT + F2 and enter: “conky”.

Conky by Pressian

Conky y Pressian

Download Conky by Pressian

The second Conky configuration has been created by WebUpd8 reader Presian and take a bit more to set up than Conky Google Now, but it also displays more information. The configuration is especially created for laptops that come with Nvidia Optimus technology and 4 CPU cores so if you don’t have this system configuration, you’ll need to tweak this Conky setup which may need some experience with Conky.
Please note that this Conky configuration uses transparency, so it won’t work properly in Unity (if you know a way to get it to display properly, without shadows, etc., let us know in the comments, but I’ve already tried basically everything and at least in Ubuntu 13.04, I can’t get it to display properly in Unity, but it works great in GNOME Shell for instance).
Information displayed by this Conky configuration includes: system info (uptime, system load, battery status, processor and video card), top 5 processes, CPU stats (frequency, usage, temperature), optimized for 4 cores so if you have less or more, you’ll need to tweak the configuration file, memory stats (RAM used and free, HDD used as well as the HDD temperature, network stats (up/down speed, local and public IP and Wifi bitrate and signal strength if available, as well as the GPU stats for laptops using the Optimus technoloy (Nvidia driver, Nvidia GPU state as well as the temperature and frequency but only when the Nvidia GPU is in use).
To use it, download the archive from HERE, extract it and then press CTRL + H to see the Conky configuration files (they are hidden by default). Then, copy the “.conky” and “.fonts” folders as well as the “.conkyrc” file into your home folder.

Then, you need to update the font cache:

sudo fc-cache -fv

Since this Conky configuration displays a lot of information, there are also some dependencies you need to install: lm-sensors, hddtemp, curl and bumblebee. In Ubuntu, install the first three using the following command:
sudo apt-get install lm-sensors hddtemp

Then, set up lm-sensors using the following command:

sudo sensors-detect

And answer “yes” to everything, then run the following command to load the sensors modules:

- Ubuntu 13.04 and newer:

sudo service kmod start

- Ubuntu versions older than 13.04:

sudo service module-init-tools start

For hddtemp, also run this command (might be required for some Linux distributions / Ubuntu versions):
sudo chmod u+s /usr/sbin/hddtemp

For how to install Bumblebee (specific for those with Optimus laptops, see THIS article.
Now, to run conky, simply press ALT + F2 and enter: “conky”.

Adding Conky to startup

If you want Conky to start automatically when you log in, you must add it to the startup applications and for this we’ll need to use a script (we need to start it with a delay so it doesn’t show up on top) so create a file somewhere, e.g.: in a folder called “scripts” in your home directory – let’s call the file “start_conky”. And in this file, paste this:
#! /bin/bash
sleep 20
conky
Then save the file and make it executable. If you’ve followed our exact instructions and the file is called “start_conky” and is located in the “scripts” folder in your home directory, you can make it executable using the following command:
chmod +x ~/scripts/start_conky

Now open the Startup Applications dialog, click “Add”, under “Name” enter “Conky” and under “Command”, select “Browse” and here, select the “start_conky” file, then click “Add” and you’re done.

For more Conky configurations, browse our Conky tag.


Web Upd8 – Ubuntu / Linux blog

StumbleUponDiggTwitterFacebookRedditLinkedInEmail

The Perfect Server – Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)

The Perfect Server – Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)

This tutorial shows how to prepare a Debian Wheezy server (with nginx, BIND, Dovecot) for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers nginx (instead of Apache), BIND (instead of MyDNS), and Dovecot (instead of Courier).

HowtoForge – Linux Howtos and Tutorials – Linux

StumbleUponDiggTwitterFacebookRedditLinkedInEmail