Nowadays, computing resources management in modern Linux is provided by Cgroups & System. Unfortunately, most Linux distributions ignore its power, because RAM and CPU abuse by modern applications is common practice. That is why we are faced with recurrent issues like CPU over-heating, memory over allocation and overall system slowness.
For example, trying to smoothly run Ubuntu 18.04 on an old laptop, in summer is no go. It is likely going to meld! Because system resources in Linux desktop distributions aren’t taking advantage of modern kernel functionality! Desktop apps are allowed to abuse system resources!
Let’s fix this!
The problem with hard drive clicking is better described as a “repeating tick tick tick type of ticking sound, or a faint beep at random intervals” (ThinkWiki).
This is a dangerous and annoying issue, yet not addressed on major Linux distributions, so one has to fix it manually.
Create file /etc/pm/power.d/95hdparm-apm with the following contents:
hdparm -W0 /dev/sda
Note: make it executable: chmod a+x /etc/pm/power.d/95hdparm-apm
UPDATE 2011-07-19: Following instructions also work with Ubuntu 11.04 Natty Narwhal.
Programming for mobile in Linux was a pain in the neck 6 years ago and it is still a pain in 2011. The following articles may help you in your journey:
If you survive let me know :)
Lua is an embeddable scripting language. If you are trying to embed it in PHP follow this instructions that may help you:
$ sudo apt-get install phpize liblua5.1-0-dev
$ git clone git://repo.or.cz/phplua.git src
$ cd src/
At this point you are almost done, BUT please edit the file Makefile and change the line:
LUA_SHARED_LIBADD = -llua
LUA_SHARED_LIBADD = -llua5.1
Then is time to finish cooking:
$ sudo make install
Almost done, do a test:
$ make tests #all will fail, that is fine by now
$ sudo apt-get install apache2-mpm-worker liblua5.1-0-dev
$ sudo apt-get install libfcgi-dev libapache2-mod-fcgid
Download latest version from: http://luarocks.org/releases/, extract it, open a terminal and do a "cd" into its directory, then:
$ ./configure --with-lua-include=/usr/include/lua5.1/
$ sudo make install
$ sudo luarocks install wsapi-fcgi
If you are an screencaster, for sure you know that there are not much options to grab your desktop + microphone at the same time. Perhaps you have tried some java programs, or simply switched back to windows and used a virtual machine. Too complicated!
Hopefully, there is still an opportunity: recordmydesktop+jack. I will not describe how to install jack here, sorry, google is your friend :)
But once you have jack up & running, do the following:
$ apt-get source recordmydesktop
Install development dependencies
$ sudo apt-get build-dep
Realmente me gusta Firefox y familia(Swiftweasel / Iceweasel), para mi trabajo y uso personal, porque son mis herramientas clave(soy desarrollador y themer Drupal) pero me estresan mucho porque algunas veces pueden consumir todos mis recursos junto a mi servidor web local: Apache, MySQL y PostgreSQL, por eso uso una alternativa ligera: Iceape(versión de Seamonkey en Debian).
I really like Firefox and family(Swiftweasel / Iceweasel), for both: work and home, because they are key tools(I’m Drupal developer & themer) but they stress me sometimes because can consume all my resources in conjunction with my local webserver: Apache, MySQL and PostgreSQL, so I use a lighweight alternative: Iceape(Debian version of Seamonkey).
Update: Don’t use this method any more, please install hplip instead, and make sure to remove foo2zjs and hannah, because they conflict with hplip.
- Install CUPS
# apt-get install cups
# adduser youruser lpadmin
# adduser youruser lp
- Follow instructions from http://foo2zjs.rkkda.com/ to install the driver
- Add your printer
- a. http://localhost:631/ (Web-based CUPS GUI)
# apt-get install foomatic-gui
$ foomatic-gui &
- c. Add your printer with foomatic-gui like here