jump to navigation

Identify the Linux Distribution Being Used January 17, 2012

Posted by viboon in : Ubuntu , add a comment
lsb_release -a


Related posts:

Add/remove Startup Applications in Ubuntu 11.10 January 17, 2012

Posted by viboon in : Ubuntu , add a comment

Copy or delete the program you want to automatically startup everytime a user logs in from /usr/share/applications/program.desktop to /etc/xdg/autostart folder.

For example, if you wish to start Firefox when you login, you have to run a following command to copy firefox.desktop to the /etc/xdg/autostart.

sudo cp /usr/share/applications/firefox.desktop /etc/xdg/autostart

To remove the program from the startup application, you have to remove the file as follows:

sudo rm /etc/xdg/autostart/firefox.desktop

Tags: , ,

Related posts:

Useful application indicators for Ubuntu 11.10 January 16, 2012

Posted by viboon in : Ubuntu , add a comment

1. Weather indicator

sudo apt-get install indicator-weather

2. Dropbox Application Indicator

3. Sysmonitor Indicator

sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor

4. System load indicator

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

5. Touchpad Indicator

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator

6. Battery status indicator

sudo apt-add-repository ppa:iaz/battery-status
sudo apt-get update
sudo apt-get install battery-status

7. Workspaces indicator

sudo add-apt-repository ppa:geod/ppa-geod
sudo apt-get update
sudo apt-get install indicator-workspaces

8. Keylock indicator

sudo add-apt-repository ppa:tsbarnes/indicator-keylock
sudo apt-get update
sudo apt-get install indicator-keylock

9. Pastie Clipboard Manager Indicator

sudo add-apt-repository ppa:hel-sheep/pastie
sudo apt-get update
sudo apt-get install pastie

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

Tags: , , ,

Related posts:

Clean recent documents opened in Ubuntu 11.10 January 16, 2012

Posted by viboon in : Ubuntu , add a comment

Delete recently-used.xbel:

rm ~/.local/share/recently-used.xbel

Create a new empty file:

touch ~/.local/share/recently-used.xbel

Make sure the new file cannot be modified:

sudo chattr +i ~/.local/share/recently-used.xbel

now, your display of recent items is gone.

If you want to revert back, remove the i attribute of recently-used.xbel:

sudo chattr -i ~/.local/share/recently-used.xbel

Ref: http://knezevblog.blogspot.com/2010/05/how-to-ubuntu-clear-and-disable-recent.html

Tags: ,

Related posts:

9 things to do after installing Ubuntu 11.10 January 16, 2012

Posted by viboon in : Ubuntu , add a comment

1. Update Ubuntu (Repository cache)

sudo apt-get update
sudo apt-get upgrade

2. Install ‘Ubuntu Restricted Extras’ – codecs/plugins

sudo apt-get install ubuntu-restricted-extras

To play encrypted DVD, you need to install libdvdread4.

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

3. Install Additional (graphics card and webcam) drivers

sudo apt-get install cheese

4. Install Chromium Web browser for faster browsing

sudo apt-get install chromium-browser

And some codecs like FFmpeg for playing multimedia contents on web.

sudo apt-get install chromium-codecs-ffmpeg-extra

5. Install VLC Player

sudo apt-get install vlc

6. Install any Image editing program

sudo apt-get install gimp

with its some extra plugins

sudo apt-get install gimp-data-extras
sudo apt-get install gimp-plugin-registry

Pinta is another image editing program. It is similar to MS paint.

sudo apt-get install pinta

7. Try Gnome shell

sudo apt-get install gnome-shell

8. Setup an online file backup program

sudo apt-get install nautilus-dropbox

9. Install gnome tweak tool

sudo apt-get install gnome-tweak-tool

Ref: http://blog.sudobits.com/2011/09/08/10-things-to-do-after-installing-ubuntu-11-10/

Tags: ,

Related posts:

Change the boot sequence and waiting time in Grub2 January 16, 2012

Posted by viboon in : Ubuntu , add a comment
sudo gedit /etc/default/grub

See GRUB_DEFAULT and GRUB_TIMEOUT for altering the order and timeout. After the changes, please update the grub by using

sudo update-grub

Tags: , ,

Related posts:

Stirling Engine January 12, 2012

Posted by viboon in : Science and engineering , add a comment

The Stirling engine is one of my favorites. It was invented in 1816 by Rev. Robert Stirling of Scotland. The Stirling is a very simple engine, and was often billed as a safe alternative to steam, since there’s no risk of a boiler explosion. It enjoyed some success in industrial applications, and also in small appliances like fans and water pumps, but it was eclipsed by the advent of inexpensive electric motors. However, because it can run on any source of heat, it now holds promise for alternative fuel engines, solar power, geothermal power, etc.

Stirling engines feature a completely closed system in which the working gas (usually air but sometimes helium or hydrogen) is alternately heated and cooled by shifting the gas to different temperature locations within the system.

In the two-cylinder (or alpha configured) Stirling, one cylinder is kept hot while the other is kept cool. In this illustration, the lower-left cylinder is heated by burning fuel. The other cylinder is kept cool by air circulating through a heat sink (a.k.a. cooling fins).

The Stirling cycle can be thought of as four different phases: expansion, transfer, contraction, and transfer.

Expansion. At this point, most of the gas in the system has just been driven into the hot cylinder. The gas heats and expands driving both pistons inward.

Transfer. At this point, the gas has expanded (about 3 times in this example). Most of the gas (about 2/3rds) is still located in the hot cylinder. Flywheel momentum carries the crankshaft the next 90 degrees, transferring the bulk of the gas to the cool cylinder.

Contraction. Now the majority of the expanded gas has been shifted to the cool cylinder. It cools and contracts, drawing both pistons outward.

Transfer. The now contracted gas is still located in the cool cylinder. Flywheel momentum carries the crank another 90 degrees, transferring the gas to back to the hot cylinder to complete the cycle.

Ref: http://www.animatedengines.com/vstirling.html

Tags: , ,

Related posts:

กระบวนการกัดวัสดุด้วยไฟฟ้าเคมี Electrochemical Machining January 9, 2012

Posted by viboon in : Manufacturing technologies , add a comment

วิบุญ ตั้งวโรดมนุกูล (2011) กระบวนการกัดวัสดุด้วยไฟฟ้าเคมี Electrochemical Machining, วารสารส่งเสริมเทคโนโลยี, August-September 2011, Vol.38 No.218, 76-77.

Tags: , , ,

Related posts: