Thursday, December 13, 2012

Manually Create Custom Application Launcher in Ubuntu 12.10 Unity


First install gnome-panel from Ubuntu Software Center, or using this command in terminal (Ctrl+Alt+T):

sudo apt-get install gnome-panel

Then run this command to create a new .desktop file to /user/share/applications/.

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

It’ll pop-up a “Create Launcher” dialog. Type in app name, command to launch the program, and choose an icon

After that, you can search for and open it from the Unity Dash, and drag and drop it to Launcher.

Note:  Icons you see in Dash, other than recently accessed or downloaded files, are typically desktop launchers that have an icon associated with them. The launchers are in /usr/share/applications owned by root.

Minitube & Musique Ubuntu

http://flavio.tordini.org/minitube
http://flavio.tordini.org/musique

Wednesday, December 12, 2012

Ubuntu 12.10 Post Installation Guide


Ubuntu 12.10 Post Installation Guide


In this post installation guide we are trying to do everything in terminal because it is a little bit faster than Software Updater. Just open the terminal (press Ctrl+Alt+T) and then paste the command the into the terminal. On GUI way you just open the Ubuntu Software Centre then search the software and press the install button.
Post Installation Steps here

Update Ubuntu 12.10


One : Update the repositories and Install Updates into ubuntu 12.10
paste the command given below and press enter.
sudo apt-get update && sudo apt-get upgrade
Or the update manager will pop-up after the first login into ubuntu 12.10.

Install Ubuntu Restricted Extras in Ubuntu 12.10


Ubuntu restricted extras is a single package contains lot of use full plugins and extras that essential for ubuntu. It is not installed by default due to the license restrictions of various softwares. Restricted Extras contains softwares given below.
  • flashplugin-installer
  • gstreamer0.10-ffmpeg
  • gstreamer0.10-fluendo-mp3n
  • gstreamer0.10-pitfdll
  • gstreamer0.10-plugins-bad
  • gstreamer0.10-plugins-ugly
  • gstreamer0.10-plugins-bad-multiverse
  • gstreamer0.10-plugins-ugly-multiverse
  • icedtea6-plugin
  • libavcodec-extra-52
  • libmp4v2-0
  • ttf-mscorefonts-installer
  • unrar
sudo apt-get install ubuntu-restricted-extras
Click Here to install ubuntu restricted extras.
This will take a while to install whole package. Keep your terminal open until the whole package list will be installed. Otherwise you want to start everything from the scratch. Installing from the command terminal is much faster than from software centre.

Unity App Indicators for Ubuntu 12.10


App Indicators will help unity to be more usable. Here are some appindicators for unity that may add additional functionality for the desktop.
  • My Weather Indicator – weather on the panel is a must for me, a feature that Ubuntu should really add by default;
  • Google Calendar Indicator (link to post) – I use Google Calendar a lot, and this appindicator is very useful, displaying future events, notifications and more;
  • Caffeine – because there’s nothing more annoying than watching a video / movie and having the screen lock pop-up in the middle of it;
  • Glippy – in my opinion, a clipboard manager is a must. Glippy is my favourite, but any will do;
  • Dropbox – Ubuntu One is nice, but there are some features for which I prefer Dropbox. It can be installed from the Ubuntu repositories repositories too.
–

Install Ubuntu Tweak on Ubuntu 12.10


Ubuntu tweak is a nice software for tweaking ubuntu 12.10. Can change system settings, login settings, cache cleaner and more with ease. The new ubuntu tweak features a great interface.
To install Ubuntu Tweak open the terminal and type:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Install Gnome Tweak Tool on Ubuntu 12.10


Gnome Tweak Tool is a great piece of software to tweak the gnome settings. Ubuntu is working on unity but the desktop working under the unity shell is gnome. Gnome Tweak tool helps to tweak various settings like font, icons etc..
sudo apt-get install gnome-tweak-tool
if installed, Gnome Tweak Tool will be available as  “Advanced Settings” in the menu.This is an essential software for Gnome Shell.

Disable or Remove Amazon Shopping Results in Ubuntu 12.10


Disable the Shopping lens will remove the results from the dash. There is a switch off facility in the privacy tab . Just open System Settings > Privacy > Search Results and put the switch off position. The problem is this will affect some other lenses. This will also affect the Music, Google Docs and Video lenses.
If you don’t want this feature then open a Terminal and run
sudo apt-get remove unity-lens-shopping
this will remove the Amazon search results.

Unity Web Apps


Unity shell is coming with webapps feature. Using web apps you can access extended menus of web application in unity launcher. That is if you add GMAIL as a webapp then the gmail options will like new message inbox etc are available on the unity launcher. You can try Gmail, Yahoo, Facebook, Twitter, Grooveshark or LastFM.

Gnome Shell on Ubuntu 12.10


Unity is the default shell on ubuntu 12.10. Unity is built upon the Gnome desktop. If you want to install gnome shell, the original shell of gnome desktop then just paste the command on terminal given below.
sudo apt-get install gnome-shell
-Click to install Gnome Shell

Install Cinnamon Desktop on Ubuntu 12.10


Cinnamon is a desktop shell over gnome. It is forked from the original gnome shell by Linux Mint Team. It is much like classic gnome interface. Lot of tweaks are applied to gnome shell to make the shell much usable. It is another popular shell in Ubuntu 12.10.
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install cinnamon
Cinnamon will give a much classic look with a start menu in the bottom.

Install Classic Gnome Package on Ubuntu 12.10


You can get classic gnome environment by installing the gnome panel package.This will give the old gnome 2 style desktop.
sudo apt-get install gnome-panel
-

Install Restricted Drivers (Graphics Drivers, Webcam Drivers and Wireless Drivers) in Ubuntu 12.10


If you are using a proprietary graphics card like Nvidia or Ati Radeon then you want to install the restricted drivers for full performance like 3D rendering, 3D gaming etc. In most of the cases, Ubuntu will automatically detect your hardware cards and tell about additional proprietary hardware drivers is necessary or not. All thing you need to do is select the appropriate driver and click on Activate.
You can do this manually. Search Additional Drivers on Unity dash or Go to System Settings -> Additional Drivers and a window will appear with driver options. Select the driver software you want to install and click on Activate. After installing the driver – restart your computer. That is it.
-

Install CompizConfig Settings Manager in Ubuntu 12.10


By using Compiz setting manager you’ll be able to tweak the Unity launcher reveal mode, hide behavior, change Unity-specific keyboard shortcuts, change the Unity launcher icon size, the top panel opacity, tweak various animations and more.
To install just type in the terminal
sudo apt-get install compizconfig-settings-manager compiz-plugins

Multimedia Applications for Audio Video Playback and Edit in Ubuntu 12.10

Ubuntu can handle all kind of multimedia format without any problem. It can read and play all kind of media using various media players. VLC, Mplayer, Xine are popular media players available in Ubuntu. Open shot is a good video editor in ubuntu. Clementine, Audacious, Banshee are the popular audio players are available in Ubuntu 12.10.
There are some other codecs available in ubuntu 12.10 to play encrypted dvds and various kinds of discs.Here is a list of various media players and editors available in ubuntu 12.10.

Install VLC Media Player in Ubuntu 12.10


VLC is the first class media player used in all linux distros and in other operating systems. It can handle all the video that avilable now a days.It will play most of the media without any other codec requirements.
sudo apt-get install vlc vlc-plugin-pulse
-Click Install VLC Media Player

Playing Encrypted DVD on Ubuntu 12.10


If you want to play encrypted DVD in ubuntu 12.10 then you should also install CSS (Content Scramble System) decoder/unscrambler. The free software library libdvdcss2 is very popular for reading the encrypted DVDs.
To install libdvdcss2, paste the following commands on terminal.
sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh

Full DVD Playback on Ubuntu 12.10


For fullfledged dvd play back in ubuntu you need a small package called libdvdcss. For that just type or you can search it on the software center of ubuntu.
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 
sudo apt-get install libdvdcss2
This will install libdvdcss2 (Content Scramble System) decoder/unscrambler on ubuntu. The free software library libdvdcss2is very popular for reading the encrypted DVDs.

MPlayer/SMPlayer on Ubuntu 12.10


Mplayer and smplayer (mplayer’s GUI) is excellent for video playback. It supports almost any video type, external subtitles as well as DVD playback as long as you have the needed codecs installed as shown previously. The Gnome Mplayer integrates mplayer seamlessly into gnome desktop environment. This player is a very light weight player with straight forward GUI. To install Mplayer type:
sudo apt-get install mplayer smplayer gnome-mplayer

Click to install Mplayer

FFMpeg in Ubuntu 12.10


FFMPEG is a complete and free Internet live audio and video broadcasting solution for all Linux Distros. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
To install it on ubuntu Open your Terminal, copy and paste:
sudo apt-get install libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-0.7.4-dev libquicktime2
You can skip this step when you installed the ubuntu restricted extras.

Gstreammer in Ubuntu 12.10


Open your Terminal, copy and paste (when you get to the EULA prompt press Tab key):
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly totem-plugins-extra gstreamer-dbus-media-service gstreamer-tools
You can also skip this step if you attemplted ubuntu restricted extras

Clementine Music Player

Clementine is a music player inspired by Amarok 1.4, focusing on a fast and easy-to-use interface for searching and playing your music. It can listen to internet radio from Last.fm, SomaFM, Magnatune, Jamendo and Icecast. Also Visualisations from projectM. Lyrics and artist biographies and photos and more. Lyrics and artist biographies and photos. Edit tags on MP3 and OGG files, organise your music. Remote control using a Wii Remote, MPRIS or the command-line.
sudo apt-get install clementine

Click install clementine Music Player

Audacious Audio Player

Audacious is an audio player for gnome. It look and feels like winamp. It has a native GTK UI in the last release. Lot of plug-ins and skins are available for audacious. The best part of audacious is its minimalistic GUI. But it cannot be used as a full fledged music player on Gnome. But it provide a quick solution.
sudo apt-get install audacious

Click Install Audacious

XBMC - The Ultimate Media Center Solution for Ubuntu 12.10


XBMC is an award-winning software media center for digital media. It is available for Linux, OSX, Windows and the original Xbox. It has a dedicated ubuntu varient called XBMCBUNTU . Currently XBMC can be used to play almost all popular audio and video formats around.Once installed, your computer will become a fully functional multimedia jukebox. To install it type:
sudo add-apt-repository ppa:team-xbmc
sudo apt-get update
sudo apt-get install xbmc

Openshot – Video editor in ubuntu


Openshot, the best existing video editor for Linux. You can install Openshot from Ubuntu software center, but if you want to install the latest release, you can do that by adding the following repositories:
sudo add-apt-repository ppa:jonoomph/openshot-edge
sudo apt-get update
sudo apt-get install openshot openshot-doc

Gtkpod


GTK pod is a good ipod manager. gtkpod will support iPod, iPod nano, iPod shuffle, iPod photo, and iPod mini
sudo apt-get install gtkpod

K3b – All in One CD, DVD, BluRay Burning Applicaiton for Ubuntu 12.10


K3b is a full featured disc burning tool which has all the features of Nero Burning rom. The current version support Blu-ray burning also. This is a KDE Application. If you install on Gnome It will download all the KDE Libraries. This will be a real overload.
sudo apt-get install k3b

Minitube – Youtube Desktop Client for Ubuntu


Minitube is a flash free YouTube desktop application for Linux and Mac OSX. Minitube is perhaps one of the cleanest looking YouTube desktop client I have ever used in Ubuntu.

Audacity on Ubuntu 12.10


Audacity is a cross-platform multitrack audio editor. It allows you to record sounds directly or to import files in various formats and convert audio files into many different audio file formats too.
sudo add-apt-repository ppa:audacity-team/daily 
sudo apt-get update 
sudo apt-get install audacity lame libmp3lame0

HandBrake on Ubuntu 12.10


HandBrake is an open-source program designed to convert MPEG video (including DVD-Video) into an MPEG-4 video file in MPEG-4 Part 14 (.mp4) or Matroska (.mkv) containers.
sudo add-apt-repository ppa:stebbins/handbrake-snapshots 
sudo apt-get update 
sudo apt-get install handbrake-gtk handbrake-cli

Graphics Packages for Ubuntu 12.10

There are lot of applications available for image editing, drawing, painting, animation, 3D Modeling in ubuntu. The state of art blender and essential gimp is coming under graphics. Also dia for diagrams drawing and editing etc..

GIMP – The Advanced Image Editing programme in Ubuntu 12.10

A great Photo Editing and retouching software that can do gif animations . Will replace your Photoshop. A lot of plugins, brushes, gradients are avilable for gimp. A newer version gimp 2.8 is available on ubuntu 12.10
sudo apt-get install gimp
Click Install Gimp
For some extra set of brushes, gradients and plugins etc execute :
sudo apt-get install gimp-data-extras sudo apt-get install gimp-plugin-registry

Inkscape – Vector image editing and drawing application in Ubuntu 12.10

A great Vector drawing and logo creating software which will replace Adobe Illustrator or Corel Draw. It can also buid various patterns and svg files. A great tool for every ubuntu artist.
sudo apt-get install inkscape
Click Install Inkscape

Pinta Image Editor

It is a very nice image manipulation program  with some basic features. it’s very easy to handle and it is  most suitable for absolute beginners. it looks very similar to MS paint program.
To install pinta execute the command -
sudo apt-get install pinta

Picasa – Photo and Album collection Manager from google

A Good Photo Manager from Google. This Package will be downloaded from Google Picasa Website.
http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_3.0-current_i386.deb
All downloads are approximately 30 MB: Picasa software (13 MB), Wine (11 MB) and Gecko engine (6 MB).
To install the Google Picasa repository:
sudo sh -c "echo 'deb http://dl.google.com/linux/deb/ testing non-free' >> /etc/apt/sources.list"; wget --quiet http://dl.google.com/linux/linux_signing_key.pub -O - | sudo apt-key add - sudo apt-get update sudo apt-get install picasa

Blender in Ubuntu 12.10

Blender is the award winning 3D modeling and Non Linear Editing Programme in Linux. Blender supports from character drawing to timeline editing . The Latest version 2.62 is the most powerfull solution for all designing and 3D needs. There is a non linear editing tool set is also coming with blender.
sudo apt-get install blender

Internet Utilities for Ubuntu 12.10

Firefox 7 is included in Ubuntu 12.10 by default. But you can try other browsers like google chrome, opera.

Chromium Browser

Chromium is the opensource project sponsored by google. Chromium comes without google specific customizations.Chromium supports all the extensions/themes that you use on Chrome. it’s one of the most popular software in Ubuntu Software Center. To install it type:
sudo apt-get install chromium-browser
You should install some codecs like FFmpeg for playing multimedia contents on web.
sudo apt-get install chromium-codecs-ffmpeg-extra

Google Chrome

Google Chrome will be downloaded from Google Website. The flash support for linux is through google chrome browser only. Adobe stopped supporting other flash players in linux. So if you want to get the latest flash player install google chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update sudo apt-get install google-chrome-stable

Opera

Opera is a good alternative browser for good internet experience. You can Download Opera From Opera Website.
Opera is offered free of charge for personal computers and mobile phones.
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list' sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -' sudo apt-get update sudo apt-get install opera
Also You can try other web browsers like Midori, Aurora, Rekonq, Eppiphany etc…

Email Clients for Ubuntu 12.10

Thunderbird is the default email client for Ubuntu 12.10. This is created by the mozilla team, people behind firefox.
sudo add-apt-repository ppa:mozillateam/thunderbird-stable 
sudo apt-get update 
sudo apt-get install thunderbird xul-ext-calendar-timezones xul-ext-lightning
To import Outlook PST files in Thunderbird:
sudo apt-get install readpst readpst -r nameofyourPSTfilehere

Chat Clients for Ubuntu 12.10

Empathy is the default IM Client for Ubuntu 12.10. Other IM Clients are pidgin,skype,amsn etc..

Pidgin

Pidgin is an open source IM application. It can handle various accounts . It is based on libpurple library.

sudo add-apt-repository ppa:pidgin-developers/ppa && sudo apt-get update
sudo apt-get install pidgin

Skype

Skype is a proprietary integrated VOIP and video conferencing program similar to Ekiga. It is a complete audio video client for ubuntu. To install Skype, first activate Canonical Partner Repository, then install Skype via the Software-Center or via the Terminal.
.
sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" sudo apt-get update sudo apt-get install skype

Emesene

Emesene is an MSN messenger client that uses a simplified interface similar to the original client. To install it type
sudo apt-get install emesene

Social Networking Clients for Ubuntu 12.10

Gwibber

gwibber is the default social networking client for ubuntu. You can manage your facebook and twitter accounts from gwibber.
sudo apt-get install gwibber

Hotot Twitter Client for ubuntu

Hotot is slick twitter client for ubuntu. It is in its early stages but it is worth take a look. Will be your favourite one soon.
sudo add-apt-repository ppa:hotot-team
sudo apt-get update
sudo apt-get install hotot

Bit torrent Clients for Ubuntu 12.10

Transmission

It is the bittorrent client for Ubuntu 12.10
sudo apt-get install transmission

Vuze

Vuze is the next version of Azureus. It can handle torrents more effectively. Uses Java to run, very complete but a bit heavy. And has a wide variety of add-ons to choose from too. Search and download torrent files. Play, convert and transcode videos and music for playing on many devices such as PSP, TiVo, XBox, PS3, iTunes. To install it type:
sudo apt-get install vuze

Deluge

The Deluge was designed to be a full-featured BitTorrent client. Deluge uses libtorrent in it’s backend and PyGTK for it’s user interface, and is currently usable on Ubuntu.
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge

Installing the latest Java run time JRE

JRE stands for ‘Java Runtime Environment’. It’s an essential application that many applications ‘depend on’. It provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language.

 sudo apt-get install openjdk-7-jre icedtea-7-plugin
Test your browser to make sure your Java is installed and working properly here:
http://www.java.com/en/download/testjava.jsp
If you want to install Sun Java JDK insted of Open JDK you can install that also
sudo apt-get purge openjdk-7-jre icedtea-7-plugin 
sudo add-apt-repository ppa:webupd8team/java 
sudo apt-get update 
sudo apt-get install oracle-jdk7-installer

Google Earth in Ubuntu 12.10

Google Earth is a great tool to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can explore rich geographical content, save your toured places, and share with others. To install it type:
sudo apt-get install googleearth-package make-googleearth-package --force sudo dpkg -i googleearth*.deb

Flash Player for web browsers in Ubuntu 12.10

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.

FTP Clients for Ubuntu 12.10

filezilla and gftp are the popular ftp clients in Ubuntu 12.10. Nautilus is also support ftp,sftp connections.

Filezilla

Filezilla is the best ftp client for Linux. It can handle all the FTP needs. Nautilus is also capable of connecting ftp.
sudo apt-get install filezilla

DropBox

Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save to your Dropbox will automatically save to all your computers, phones and even the Dropbox website. Dropbox also makes it super easy to share with others, whether you’re a student or professional, parent or grandparent.
Download the Dropbox package:
Ubuntu (x86_64 .deb)
Ubuntu (x86 .deb)

Office Packages for Ubuntu 12.10

Libreoffice is installed by default. It includes Writer – A good Document Editor, Calc – A Spreadsheet Editor, Impress – A Presentation Creator and Manager and Draw – A Drawing creator. You can also try Abiword and Gnumeric.
To install LibreOffice PPA:
sudo add-apt-repository ppa:libreoffice/ppa sudo apt-get update sudo apt-get install libreoffice libreoffice-java-common libreoffice-math libreoffice-gnome libreoffice-java-common
To enable PDF import capability:
sudo apt-get install libreoffice-pdfimport
To enable Mozilla Office plugin:
sudo apt-get install mozilla-libreoffice

Adobe Acrobat Reader

This will help to read pdf documents more effectively. The default Document Viewer will handle pdf files. But you get more features with this programme
sudo apt-get install acroread

Scribus

Scribus is a good DTP application to prepare industry standard books for publishing and more …
sudo apt-get install scribus

Dia

Dia is a good diagram editor. Will help you to create a variety of diagrams like Flow chart, Database, Circuit, Logic, UML etc ..
sudo apt-get install dia

Miscellaneous Applications for Enhance your Ubuntu 12.10 Desktop

Some applicaitons like cheese,xsane,stellarium,unrar,p7zip are nice applications for enhance your desktop.

Cheese – Take Photos and Record Videos Using Webcam

Cheese is a must install especially if you are a laptop user, since most laptops/netbooks have a webcam these days. Cheese is a simple application that lets you take photos and record videos using your webcam.
sudo apt-get cheese

Xsane – A Scanner application for Ubuntu

Xsane is a great tool for your scanner control. This tool will help to scan documents and pictures effectively. You can control resolution, brightness, contrast etc …
sudo apt-get install xsane

Stellarium

Stellarium is a real-time 3D photo-realistic nightsky renderer. It can generate images of the sky as seen through the Earth’s atmosphere with more than one hundred thousand stars from the Hipparcos Catalogue, constellations, planets, major satellites and nebulas. Near 40 MB.
sudo apt-get install stellarium

Rar, Zip applicaitons for Ubuntu 12.10

If you are downloading from the internet, you know how various forms archives can have. Installing the following will allow you to deal with most of these.
sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack lha arj cabextract file-roller

Y PPA Manager

Y PPA Manager is a GUI tool to easily add PPAs, search a package in all Launchpad PPAs, remove duplicate PPAs (only works with separate .list files), backup PPAs and other PPA-related tasks. Check out the Launchpad page for a complete features list.
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

Samba Server

Samba is the windows share folder manager. You can add windows shares using samba server
sudo apt-get install samba smbfs 

Wine The windows Environment -  install windows programmes into Ubuntu 12.10

If you want to install and run windows programmes under Ubuntu 12.10 you need a windows environment emulator programme called wine.
  • Support for multiple icon sizes in wine menu builder.
  • Improvements to the help browser.
  • Initial stab at DOSBox integration.
  • Various MSI fixes.
  • Some fixes to the Wine debugger.
sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.3

RAM / CPU usage Indicator for Unity

Unity top panel doesn’t support any kind of applets, just AppIndicators. Luckily, there’s an AppIndicator that displays the RAM and CPU usage. Install it using the commands below:
  • sudo add-apt-repository ppa:emptythevoid/syspeeknew
  • sudo apt-get update && sudo apt-get install syspeek

Ubuntu One appindicator

If you using ubuntu one cloud service then here is a nice app indicator to help you .
sudo add-apt-repository ppa:rye/ubuntuone-extras
sudo apt-get update
sudo apt-get install ubuntuone-indicator

Resize Images by right click them in Ubuntu 12.10

This is a quick tweak and it is greatly usefull. If you have some large images and reduce its size to 50% or resize an image quickly. Then there is a nautilus script by using this one just right click on the image and resize for your desired sizes. Nice quick tool.
sudo apt-get install imagemagick
sudo apt-get install nautilus-image-converter

Eye Candy for Ubuntu 12.10

Incredible Themes for Ubuntu 12.10

A best theme combination is Equinox Evolution themes + Faenza icon theme combination. As an added advantage, both are available from the same PPA as well. Latest Equinox Evolution themes update brings with 3 new themes taking the total count to 5. To install Equinox GTK theme collection and Faenza icon theme in Ubuntu 12.10 type in terminal.
sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update
sudo apt-get install gtk2-engines-equinox equinox-theme faenza-icon-theme
There are other great themes from Gnome bisigi project. You have 12 great incredible themes for ubuntu.

Conky

Conky is a lightweight system monitor application for Linux. It can be customizable in lot ways to look your desktop stunning. Type following in terminal to install conky
sudo apt-get install conky

Screenlets for Ubuntu 12.10

Screenlets are small owner-drawn applications that can be described as “the virtual representation of things lying/standing around on your desk”. Sticknotes, clocks, rulers, the possibilities are endless.Screenlets can be installed from Ubuntu software center,
sudo apt-add-repository ppa:screenlets/ppa 
sudo apt-get update 
sudo apt-get install screenlets
This is a comprehensive to do list after install Ubuntu 12.10. Try to cover all majour utilities for a common user. To install all these packages a good internet connection is a must. There are lot of applications for every purpose like scientific computing, Integrated Development Environment etc… You can try all these softwares from ubuntu software centre.  Just search for the application and click install.
Other popular Things to do after installing ubuntu 12.10 Guides
Ubuntu 12.10 Guides

Saturday, December 8, 2012

Installing CopFilter on IPCop 2


Installation

- The copfilter installation and webgui language will be the same as 
  what you in the IPCop webgui, so if you want a different language change this settings in 
  System -> GUI Settings


%********************************************************************************
Preparation

- enable ssh   on your ipcop machine through the IPCop admin web pages (necessary for file transfer)
  IPCOP Webgui -> SYSTEM -> SSH ACCESS 

- enable squid on your ipcop machine through the admin web pages (needed for privoxy to work)
  IPCOP Webgui -> SERVICES -> PROXY

- you will need a secure copy (scp) client to copy the package to your ipcop firewall and a
  secure shell client (ssh) to actually install the package
  if working on unix, you should have ssh and scp already installed, if not you have to install
  these programs from the linux distribution you are using, or compile them yourself

  if working on windows you could use (both opensource and free):
  graphical  secure copy  client:     winscp   http://winscp.sourceforge.net/eng/
  graphical secure shell client:     putty    http://www.chiark.greenend.org.uk/~sgtatham/putty 

  putty includes a command line secure copy client called pscp.exe

- download the latest copfilter version from http://www.copfilter.org
  do not try to extract this tar file on windows (your virus scanner will warn you about 
  4 testvirus files in the archive ), instead copy it to the ipcop machine by doing the following:


%********************************************************************************
copy the package to the firewall
  copy the package to the ipcop firewall using a secure copy client (scp)
  on a unix or linux machine:
  scp -P 8022 <copfilterpackage_name> root@<your_ipcop's_machine_ipaddress>:/root
  scp.png  (notice that port 8022 needs to be used)

  OR on a windows machine using winscp

  start winscp and create a new session in the WinSCP login screen:
  winscp.png  (assuming 192.168.112.254 is your ipcop's ip address)

  then drag and drop the copfilter installation file to the ipcop /root and 
  click on copy when asked to confirm
  winscp2.png

  OR on a windows using putty's pscp

  pscp -P 222 <package_name> root@<your_ipcop's_machine_ipaddress>:/root

  pscp.png

%******************************************************************************************
install the package on the firewall

- login to the ipcop machine with a ssh client,
  example with putty:
  start putty
  enter the ipaddress of your ipcop machine into the "Host Name (or IP address)" field
  enter the ssh port  of your ipcop machine into the "Port" field, this is usually: "222" 
  enter a session name in "Saved Sessions", for example "ipcop"
  click on "Save"
  click on "Open" to start the ssh session to your ipcop machine
  screenshot: putty.png

- you should now have an open terminal session with putty

- if you are updating, first uninstall the old version:
  everything which was copfilter related will be deleted without confirmation, 

  you might want to create backup before uninstalling:
  /var/log/copfilter/default/setup_util -b

  to uninstall:
  /var/log/copfilter/default/setup_util -u

- extract the package:
  cd /root
  tar xzvf copfilter-0.1.0.tgz  (version number could be different than in this example)

- change to the directory and install the new package
  cd copfilter-0.1.0
  ./install

  this script will automatically extract the setup tar file and will also 
  automatically execute /var/log/copfilter/default/setup_util -i

  if it fails and you get these error messages:
      gzip: stdin: unexpected end of file
      copfilter-0.1.0beta2/install
      tar: Unexpected EOF in archive
      tar: Unexpected EOF in archive
      tar: Error is not recoverable: exiting now
  then this means that you have not correctly downloaded the full file, try
  to redownload the file and then try again.


Copfilter 2.0.91beta3 installation completed successfully!

Don't forget to:
1. Enter your Email Address and SMTP-Server in the Copfilter-Webgui:
   IPCop-Webgui -> Copfilter tab -> Email

2. Read the documentation: README (on webgui -> www.copfilter.org).

3. Configure Copfilter-Webgui: Configure AND press >>Save Settings<< in each
   section and then press >>Restart all services<< to start all Copfilter servic                                                                                                                                                       es.

Please report errors and questions to:
>>copfilter-main at lists dot sourceforge dot net<<
or visit the official Copfilter forum (link is at the bottom of the webgui).

################################################################################                                                                                                                                                     
This is what you will get after a sucessfull installation:

First steps with existing Copfilter backup:
===========================================
   - Restart IPCop (especially, if plan to use C-ICAP, Privoxy or IMSpector!).
   - Restore existing Copfilter backup using 'setup_util -r'.
   - C-ICAP User have to replace Squid binary using 'setup_util -W'.
   - Configure all Copfilter services and save settings each time without restar                                                                                                                                                       ting.
   - Restart all services on Copfilter status page using 'Restart all services'.

First steps without existing Copfilter backup:
==============================================
   - Restart IPCop (especially, if you plan to use C-ICAP, Privoxy or IMSpector!                                                                                                                                                       ).
   - C-ICAP User have to replace Squid binary using 'setup_util -W'.
   - Configure all Copfilter services and save settings (optional: save settings                                                                                                                                                        each time without restarting).
   - Restart all services on Copfilter status page using 'Restart all services'.

First steps with C-ICAP:
========================
   - For setting up URL-Filter and C-ICAP follow the links 'Picture description'                                                                                                                                                        and
   - 'Documentation' on C-ICAP-Page.

Please refresh your IPCop webgui using key <F5> after Copfilter installation!

##################################################################################

*****************************************************************************************************************************
- if you are a home user, you could also install the fprot virus scanner (free for home use) 
  so that your email will be scanned by 2 different virus scanners which increases security 
  this package only includes clamav virusscanner and you can optionally 
  install fprot with the included installation script:

     home      users please read http://www.f-prot.com/products/home_use/linux/
     corporate users please read http://www.f-prot.com/products/corporate_users/unix/index.html
     only proceed to the next step if you fulfil the requirements as a home user

     then download (from above URL) and copy the downloaded file (for example fp-linux-ws-4.3.3.tar.gz) 
     to the ipcop machine into the /root/copfilter directory, change to the copfilter directory
     cd /root/copfilter
     and execute
     ./setup_util -f fp-linux-ws-4.3.3.tar.gz

     after installing fprot, additional options will appear in the webgui AntiVirus section 
     from where it can be activated to scan emails

***********************************************************************************************************



Thursday, December 6, 2012

Tips and Tricks for Ubuntu after Installation

ref:
http://www.techsupportalert.com/content/tips-and-tricks-ubuntu-after-installation-ubuntu-1204.htm


Adjust the Launcher Icon Size
Ubuntu DesktopUbuntu includes a launcher on the left of your screen. If it appears that the size of the icons on the launcher is too big, you can adjust it to a smaller size you like.
  1. Click the Control Gear and select "System Settings".
  2. Click "Appearance" under "Personal".
  3. Under the Look tab, drag the slider of "Launcher Icon Size" to the left.
In the same context, moving the slider to the right gets you larger icons on the Launcher.

Auto Hide the Launcher
If you dislike the Launcher to always appear on the screen, why not hide it away?
  1. Click the Control Gear and select "System Settings".
  2. Click "Appearance" under "Personal".
  3. Under the "Behavior" tab, switch on the button of "Auto-hide the Launcher".
To reveal the Launcher temporarily, just press and hold the Super (aka Windows) key, or move your mouse cursor to the far left of the screen. You can adjust the reveal sensitivity with the slider under the "Behavior" tab mentioned above. If it still doesn't work very well, you can adjust the amount of mouse pressure in the following tip.

Make Revealing the Launcher Easier
After auto hiding the Launcher, you can reveal it by moving the mouse cursor to the left edge of the screen. But when you feel that you have to actually knock the mouse cursor against the screen edge hard enough to get the Launcher revealed, then it's better that you adjust the 'mouse pressure' using CompizConfig Settings Manager.
  1. Install CompizConfig Settings Manager from the Ubuntu Apps Directory if the application is not available in your system.
  2. Press Alt-F2 and type ccsm into the box, press Enter to run this program. (You may receive a warning to use this advanced tool with care.)
  3. Select "Desktop" from the left panel.
  4. Click "Ubuntu Unity Plugin".
  5. Under the "Experimental" tab, change the value of "Launcher Reveal Pressure" from the default 20 to a lower figure such as 5, click "Back" and "Close".
Try the Launcher again and enjoy.

Enable Quick Lists (For Ubuntu 12.04)
DockBarX AppletLike the way the Jump Lists do in Windows 7, you can enable almost the same feature for Ubuntu's Launcher by installing Unity Window Quicklists.
Press Ctrl-Alt-T to call up Terminal, copy following codes and paste (Ctrl-Shift-V) them inside Terminal to install Unity Window Quicklists.
  1. sudo apt-add-repository ppa:alanbell/unity
  2. sudo apt-get update
  3. sudo apt-get install unity-window-checklists
  4. sudo sed -i 's/OnlyShowIn=UNITY/OnlyShowIn=Unity/g' /etc/xdg/autostart/unity-window-quicklists.desktop (This command line allows for the Unity Window Quicklists to start automatically when you log into the system.)
After running the codes successfully, log out and log back in, right-click an icon on the Launcher and select an open window in the jump list. This probably works faster than clicking an icon on the Launcher one more time for selecting an open window in preview.

Disable a Shopping Lens (For Ubuntu 12.10)
When you do a search from the Dash in Ubuntu 12.10, it offers a "More suggestions" category, also known as a Shopping Lens underneath the local search results by default. The Shopping Lens includes the suggested items from Amazon for shopping purpose.
If you don't like this feature, you can disable (or re-enable) it by entering the command below in the Terminal, then log out and back in.
  • To disable: sudo apt-get remove unity-lens-shopping
  • To re-enable: sudo apt-get install unity-lens-shopping
Alternatively, you can follow these simple steps to opt out of the Shopping Lens:
  1. Click the Control Gear and select "System Settings".
  2. Under Personal, select 'Privacy'.
  3. Under the Search Results tab, turn off "When searching in the Dash: Include online search results".

Disable or Enable the Global Menu
Move buttons to rightUbuntu system places the application menu (File/Edit/View) on the top bar by default. If you want to disable this feature and move the menu back to the application's window, follow these steps:
  1. Press Ctrl-Alt-T to run the Terminal.
  2. Paste this command line sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt into the Terminal, and press Enter.
  3. Log out and log back in the system.
To get back the Global Menu, follow these steps:
  1. Press Ctrl-Alt-T to run the Terminal.
  2. Paste this command line sudo apt-get install appmenu-gtk3 appmenu-gtk appmenu-qt into the Terminal, and press Enter.
  3. Log out and log back in the system.
Note: To disable or enable the Global Menu of Firefox, go to Tools > Add-ons > Extensions, and click the Disable or Enable button for ‘Global Menu Bar integration’.

Move Window Control Buttons to the Right
Move buttons to rightIf your Ubuntu system sets the Minimize, Maximize and Close buttons to the left in a window and you prefer to change them to the right, then follow these simple steps:
For Ubuntu 12.10
  1. Press Alt-F2, then type dconf-editor into the box, and press Enter to run it.
  2. Browse to org > gnome > desktop > wm > preferences, look for "button_layout" on the right panel.
  3. Change the value in the "button_layout" from close,minimize,maximize: to :minimize,maximize,close and press the Enter key.
For Ubuntu 12.04
  1. In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
  2. Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
  3. Browse to apps > metacity > general, look for "button_layout" on the right panel.
  4. Change the value in the "button_layout" from close,minimize,maximize: to :minimize,maximize,close and press the Enter key.
The above works for all control buttons on non-maximized windows. When a window is maximized, the control buttons are however fixed to the left of the Global Menu.

Open Up a Window in Center
When running an application without maximized, Ubuntu always puts it in the left-top corner of the desktop by default, but you are allowed to set a program window to open up in the center of the desktop area.
  1. CompizConfig Settings ManagerInstall CompizConfig Settings Manager from the Ubuntu Apps Directory if the application is not in your system.
  2. Press Alt-F2 and type ccsm into the box, press Enter to run this program. (You may receive a warning to use this advanced tool with care.)
  3. Select "Windows Management" from the left panel.
  4. Click "Place Windows".
  5. Change Placement Mode from "Smart" to "Centered", click "Back" and "Close".
Ideally, the window manager in Ubuntu should restore the last known position of an application window, but it does not do that unless an application remembers its own window position. (See reported bugs)

Roll Up and Down a Window
When you double-click the title bar of a window, the default setting is to maximize or un-maximize a window. On a non-maximized window, you can roll up or down a window by changing the setting below.
For Ubuntu 12.10
  1. Press Alt-F2, then type dconf-editor into the box, and press Enter to run it.
  2. Browse to org > gnome > desktop > wm > preferences, look for "action-double-click-titlebar" on the right panel, change the value from 'toggle_maximize' to 'toggle_shade'.
Now you can roll up a non-maximized window when you double-click its title bar, and vice versa.
For Ubuntu 12.04
  1. In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
  2. Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
  3. Browse to apps > gwd, change the value in the "mouse_wheel_action" to shade.
You can now roll up a non-maximized window when you hover on its title bar and scroll up the mouse wheel, and vice versa.

Customize the Theme
Themes in Ubuntu can be customized to suit your needs. The default theme "Ambiance" has the menu (File, Edit, View, etc) printed in white on a dark background, but you can easily switch to another theme such as "Radiance" to have the menu printed in black on a light background. These are easy steps to customize a theme.
  1. Click the Control Gear and select "System Settings".
  2. Click "Appearance" under "Personal".
  3. Under the Look tab, select a theme from the drop-down menu.

Set Aero Glass Effect (For Ubuntu 12.04)
Aero Glass EffectIn Ubuntu you can set nearly the same aero glass effect to window borders with alpha transparency as available in Windows 7.
  1. In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
  2. Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
  3. Browse to apps > gwd, look for "metacity_theme_active_opacity" on the right panel.
  4. Change the value in "metacity_theme_active_opacity" from 1 to 0.75 (or smaller such as 0.5 for more transparency).
   If the aero glass effect doesn't work, check if you have updated your display driver. Go to Control Gear > System Settings > Hardware > Additional Drivers, activate the recommended graphics driver and restart the system.

Disable Overlay Scrollbar
In new versions of Ubuntu, the scrollbar button is hidden until you mouse over it. You can revert it to the normal scrollbar by changing the settings.
For Ubuntu 12.10
Either enter this command in the Terminal: gsettings set com.canonical.desktop.interface scrollbar-mode normal
Or edit the value using dconf-editor:
  1. Press Alt-F2, type dconf-editor into the box, and press Enter to run it.
  2. Browse to com > canonical > desktop > interface, look for "scrollbar-mode" on the right panel and change the value from overlay-auto to normal.
For Ubuntu 12.04 LTS
Try to use Ubuntu Tweak to get the same result.

Change Wallpapers Automatically
You can right click your desktop, select "Change Desktop Background" and choose any one of the wallpapers pre-installed, but you need to do it each time you want to change a wallpaper. What about changing a wallpaper automatically within a certain time interval? Try Wally.
  1. Change Wallpapers with WallyInstall Wally from the Ubuntu Apps Directory if the application is not in your system.
  2. Press Alt-F2, type wally and press Enter to run it.
  3. Right-click the Wally icon on the system tray, select Settings.
  4. Click "Folders" in the left column, then add /usr/share/backgrounds to the Folder box and tick "Include subfolders".
  5. Click "Settings" in the left column, then tick "Play automatically on application starts". You can also check the option to disable splash screen and auto quit if you wish.
  6. Set the application to auto start, using this tip Auto Start Up an Application (as Wally's option to "Start automatically when system starts" being disabled).
Your wallpaper on the desktop will automatically change following these basic settings when you log back in the system (or right click the Wally icon on the system tray and select "Play").

Set a Default View in File Manager
Windows Explorer allows for users to set a default view to all folders. In almost the same way, Ubuntu's Nautilus File Browser allows for these settings:
  1. Set File BrowserClick the File Browser icon on the Launcher.
  2. At the Global Menu on the top of the screen, click "Edit" and "Preference".
  3. Under Default View, change "Icon View" to "List View", to see more details in columns.
  4. Tick "Show hidden and backup files" if that's your choice.
Other various settings, such as single or double click to open items, icon captions, list columns and preview files can be done in the same window as well.

Preview Files in File Manager
Sushi is a quick previewer for Nautilus file browser. You can download the previewer from here if it's not in your Ubuntu system. With this handy tool installed, you can preview text, PDF, audio and video files, and other supported documents in a single step when using Nautilus file browser.
  • Select a file, press Spacebar to preview.
  • Press Spacebar again or Escape to close a preview.

Change a Folder Icon
When running a Nautilus file browser, you will see that the folder icons are predetermined by the theme you set. If you wish to change a folder icon to another for it to stand out from the system-wide icons, follow these steps:
  1. In Nautilus file browser, right click a folder icon, select Properties.
  2. Under the Basic tab, click the icon image to open up the "Select Custom Icon" window.
  3. In the Location field, type /usr/share/icons, press Enter. (You can hide or unhide the Location field by clicking the Edit button on the top-left of the window.)
  4. Browse and select an icon you want.
  5. Click the Open button on the bottom-right of the window to confirm.
Note: You can change your custom folder icon back to the default by clicking the "Revert" button in the "Select Custom Icon" window at Step 2 above.

Create an Advanced File Manager
In the Ubuntu file system, you can use Nautilus file manager to browse most files but can only write files in your home folder /home/your_name and its sub-folders such as Desktop and Documents. If you have to rename a folder or write files outside of your home folder using the file manager, you won't be able to but you can create a shortcut to run an advanced file manager for this purpose.
  1. Click the Dash Home icon on the Launcher (or tap Super), then type keyboard into the Search box and press Enter.
  2. Under the "Shortcuts" tab, select Custom Shortcuts, then click the "+" sign to create a custom shortcut.
  3. Enter a name such as Advanced Nautilus in the "Name" box.
  4. Enter gksu nautilus in the "Command" box, then click the Apply button.
  5. Click on Disabled at the Advanced Nautilus row in the Keyboard Shortcuts window (Disabled is then changed to New accelerator...).
  6. Press a new key combination, e.g. Ctrl+Alt+N (New accelerator... is then changed to Ctrl+Alt+N).
Now you can easily access the Advanced Nautilus by pressing the shortcut key you assigned. But be careful since you can use it to delete or change any files on your system.

Add or Change Keyboard Shortcuts
Keyboard shortcuts are preset in the system, but you can add new ones or change them easily. For instance, change the default shortcut Ctrl+Alt+T (Run a Terminal) to Super+R (press R while holding down the Super [aka Windows] key) by the following steps:
  1. Keyboard ShortcutsClick the Dash Home icon (or tap Super), type keyboard and press Enter.
  2. Under the "Shortcuts" tab, select "Launchers" on the left panel
  3. Click "Launch Terminal", and it shows "New accelerator..."
  4. Tap Super+R, and it shows Super+R
  5. Click the Close button and try the new shortcut. (Note: In this article, I use Ctrl-Alt-T as a default shortcut to Terminal.)
   To disable a shortcut, press Backspace when it shows "New accelerator..." after the step 3 above.
   Keyboard shortcuts can also be set by changing keybinding values with Configuration Editor. In Ubuntu 12.10, press Alt+F2 and enter dconf-editor, then navigate to org > gnome > desktop > wm > keybindings. In Ubuntu 12.04, press Alt+F2 and enter gconf-editor, then navigate to apps > metacity > global_keybindings and window_keybindings.

Terminate Unresponsive Programs
Xkill is part of the X11 utilities pre-installed in Ubuntu and a tool for terminating misbehaving X clients or unresponsive programs. You can easily add a shortcut key to launch xkill with the steps below.
  1. xkillClick the Dash Home icon on the Launcher (or tap Super), then type keyboard into the Search box and press Enter.
  2. Under the "Shortcuts" tab, select Custom Shortcuts, then click the "+" sign to create a custom shortcut.
  3. Enter xkill to both the Name and Command boxes and click the Apply button.
  4. Click on Disabled at the xkill row in the Keyboard Shortcuts window (Disabled is then changed to New accelerator...).
  5. Press a new key combination, e.g. Ctrl+Alt+X (New accelerator... is then changed to Ctrl+Alt+X).
Xkill is ready for use. Press the above key combination to turn the cursor to an X-sign, move the X-sign and drop it into a program interface to terminate the unresponsive program, or cancel the X-sign with a right-click.

Enable Media Playback
Ubuntu only includes completely free software by default and does not configure proprietary media formats such as mp3 and mp4 'out of the box'. The required codecs however can be easily installed for the default player to playback these files following a few simple steps below.
  1. Double click an mp3 file in a folder.
  2. Click the "Install" button to download and install the recommended codecs.
  3. Restart the player after the codecs are installed.
You might need to do the same for other restricted media formats such as mp4 too.

Install Screenlets
Screenlets are small applications to represent things such as sticky notes, clocks, calendars around on your desktop. You can launch a pre-installed screenlet from Screenlets manager, or install a new one into the manager for launching it. Here are the steps for installing and launching a screenlet, for example, WaterMark System Information.
  1. WaterMark ScreenletInstall Screenlets manager if it has not been added from the Ubuntu Apps Directory.
  2. Download the screenlet "WaterMark System Information" to a folder.
  3. Press Alt-F2, type Screenlets into the box and press Enter to run the manager.
  4. Click Install, select Install Screenlet and click OK.
  5. Browse to the folder, select the file downloaded and click "Open" to install the screenlet into the Screenlets manager.
  6. Select the screenlet "WaterMark" and click "Launch/Add". (Tips: you can add more than one WaterMark screenlet and set it to display other system information.)
More screenlets are available for installation from screenlets.org.

Install Oracle Java Packages
Ubuntu may use OpenJDK by default, but I note that some web services such as ezyZip.com might need the Oracle Java Runtime Environment (JRE) to be installed in the system for running the services properly. If you would like to get the proprietary Oracle Java packages for your system, you can download and install them following these steps:
  1. Press Ctrl-Alt-T to run Terminal.
  2. Enter sudo add-apt-repository ppa:webupd8team/java to add the partner repository.
  3. Enter sudo apt-get update to update the source list.
  4. Enter sudo apt-get install oracle-java7-installer to download and install the Oracle Java packages.
  5. Enter sudo java -version to check the version of the Java used in the system.
  6. Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.

Auto Mount Drives at System Startup
Ubuntu is capable of reading and writing files stored on Windows formatted partitions using NTFS file system, but partitions must be 'mounted' before they can be accessed. With these steps, you can auto mount the drives or partitions without the need to manually mount them for access each time you start up the system. Below are two ways of doing it, either using Storage Device Manager or adding an entry in the fstab file.
Method 1: Using Storage Device Manager (This PPA is not yet available in Ubuntu 12.10 at time of checking)
  1. Storage Device ManagerInstall Storage Device Manager from Ubuntu Apps Directory if the application is not available in your system.
  2. Click the Dash Home icon (or tap Super), type Storage Device Manager to look for the application and run it.
  3. Extend the list of sda and select the sda you want to auto mount, click 'OK' to configure.
  4. Click the "Assistant" button.
  5. Uncheck "Mount file system in read only mode" and keep "The file system is mounted at boot time" checked.
  6. Click the "Mount", "Apply" then "Close" button, and restart the system.
In case you wish to remove the auto-mount of a certain drive or partition, you can similarly use Storage Device Manager to do the setting.
Method 2: Adding an Entry in the 'fstab' File
  1. In the Terminal, enter sudo blkid to get the UUID (Universally Unique Identifier) of the partition you want to mount.
  2. Enter sudo mkdir /media/ntfs to create a mount point
  3. Enter gksu gedit /etc/fstab and add the following line in the fstab file:
    UUID=1234567890123456 /media/ntfs ntfs rw,nosuid,nodev,noatime,allow_other 0 0
  4. Replace the above 16-digit number with the UUID you've got from step 1, then click 'Save'.
Restart the system and check if the partition is mounted.
   To identify disk partitions by label, either use sudo blkid or ls /dev/disk/by-label -g in the Terminal. To view partition sizes and file systems, enter sudo fdisk -l. Disk Utility or Disks mentioned in "Name or Label a Partition" also gives you a glance of device numbers, partition types, sizes and labels.

Manually Mount a USB Drive
A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.
  1. Press Ctrl-Alt-T to run Terminal.
  2. Enter sudo mkdir /media/usb to create a mount point called usb.
  3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.
  4. Enter sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137 to mount a USB drive formatted with FAT16 or FAT32 system. OR:
    Enter sudo mount -t ntfs-3g /dev/sdb1 /media/usb to mount a USB drive formatted with NTFS system.
To unmount it, just enter sudo umount /media/usb in the Terminal.

Name or Label a Partition
Nautilus file manager shows the root directory as File System for your Ubuntu system partition. If you have other partitions (or volumes), it shows them as xx GB Filesystem if they’re not named or labelled.
Using Disks (or Disk Utility for Ubuntu 12.04) is one of the effective ways to name a partition easily:
For Ubuntu 12.10
  1. Click the Dash Home button (or tap Super), type Disks to search for the application and run it.
  2. Select the item Hard Disk.
  3. In the Volumes section, click a partition you want to label.
  4. Click the 'More actions' button below the Volumes section then select "Edit Filesystem Label"
  5. In the Label box, enter a name, e.g. Data-Disk, and click Change.
For Ubuntu 12.04
  1. Disk UtilityClick the Dash Home button (or tap Super), type Disk Utility to search for the application and run it.
  2. Select the item Hard Disk.
  3. In the Volumes section, click a partition you want to label.
  4. Click "Edit Filesystem Label" (See  below)
  5. In the Label box, enter a name, e.g. Data-Disk, and click Apply.
The file manager should now show the partition label, such as Data-Disk, instead of xx GB Filesystem. This tip is for naming a partition using the application; use other advanced features such as format, edit or delete partition with caution as they can delete data on your disk.
   If the option for "Edit Filesystem Label" is not shown, click "Unmount Volume" before hand. In case you can't unmount a volume, try Storage Device Manager to unmount it. See Auto Mount Drives at System Startup.

Auto Start Up an Application
In Windows, you can place a program shortcut in a startup folder for running a program automatically when the system starts. In Ubuntu, you can do the same in this way:
  1. Auto Start Up ApplicationsClick the Dash Home icon (or tap Super), type 'Startup Applications' to search for the application and run it.
  2. Click the "Add" button.
  3. Name a program.
  4. Click the "Browse" button and navigate to File System > usr > bin, where programs are usually installed.
  5. Select a program, click the "Open" button followed by the "Add" button.
The above program will then be listed in additional startup programs. Check if the program runs automatically by logging out and back to the system.

Clean Up Old Crash Reports
System program problem detectedIf your Ubuntu system always pops up a dialog saying "System program problem detected" each time you log in even though you've already reported the problem, you might need to clean up all old crash reports by entering a command line below in the Terminal.
  1. Press Ctrl-Alt-T to run Terminal.
  2. Copy and paste sudo rm /var/crash/* in the Terminal and press Enter.
Log out and log back in the system, check if the dialog still appears.

Enable Log-in Sound
Ubuntu doesn't have a log in sound that it used to have? If so, you can enable it easily:
  1. Click the Dash Home button and type "Startup Applications" to search for the application and run it.
  2. Click the "Add" button.
  3. In the Name field, type "Login Sound" (no quotes) or any other name you like.
  4. In the Command field, copy and paste this line: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
  5. Give a comment you like, such as "Plays a sound when I log in".
  6. Click the 'Add' or 'Save' button.
Log out and log back in to check whether the log-in sound works.

Change Default Boot Options
After full installation, Ubuntu is set to be the default operating system to boot up if no key is pressed within a few seconds on a multi-boot system. You might want to set your preferred operating system to boot up by default. This can be done easily with Grub Customizer.
Press Ctrl-Alt-T to call up Terminal, copy following codes and paste (Ctrl-Shift-V) them inside Terminal to install Grub Customizer.
  1. sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  2. sudo apt-get update
  3. sudo apt-get install grub-customizer
After installation, run Grub Customizer to set the default boot options with the following steps.
  1. Press Alt-F2, type grub-customizer into the box and press Enter to run it.
  2. Under the "General Settings" tab, select the default entry you like to boot up from the drop-down menu.
  3. Adjust the timeout value if needed, then press the Close button and the Save button.
Avoid changing timeout to 0 seconds if you need to select a system to boot up from a multi-boot menu.

Clean Up the Boot Menu
Each time when Ubuntu updates to a new Linux kernel, the old one is left behind and the boot menu gets complicated. If your new Linux kernel works well, it's safe to clean up the boot menu. Do take these steps carefully as incorrectly hiding the items can make your system unbootable. You can check the Linux kernel version you're running by entering this command line uname -r into the Terminal.
To clean up the boot menu, it's pretty straightforward with Grub Customizer used in the tip above.
  1. Press Alt-F2, type grub-customizer into the box and press Enter to run it.
  2. Delete (or uncheck) the entries you want to hide from the boot menu.
  3. Click the Save button.

Auto Shutdown the System
A simple command can be entered in the Terminal to schedule a time for the system to shut down.
  1. Press Ctrl-Alt-T to run Terminal.
  2. Enter sudo shutdown -h +m (replace m with the number of minutes, e.g. +60).
    OR: enter sudo shutdown -h hh:mm (replace hh:mm with the time on the 24hr clock, e.g. 23:15).
  3. Enter password and minimize the Terminal window.
The system will then shut down within the minutes or at the time specified. To cancel a scheduled time, enter sudo shutdown -c in the Terminal.
   Alternatively, you might want to download and install GShutdown, which is a GUI program for scheduling a time to shutdown the system.

MyUnity (For Ubuntu 12.04)
MyUnityThe tips and tricks in this article cover some basic and useful ways for working with your Ubuntu in the Unity desktop environment. If you want more tweaking tools, MyUnity is one of them and you can download it from here. It allows you to configure and tune Unity with a pleasant graphical user interface.
With this tool, you can do quite a lot of settings such as:
  • Set the Launcher's color, transparency, size, etc.
  • Change the Dash size and blur effect.
  • Set transparency for the top bar.
  • Show some icons on the desktop.
  • Change fonts for window title, document, desktop and system.
  • Select themes and icons, etc.

Ubuntu Tweak
Besides MyUnity, you can also try Ubuntu Tweak which you can download from here.
Some settings are available in both tools but you may find something else which are only available in Ubuntu Tweak. I find these settings more useful to me:
  • Turn off overlay scrollbars.
  • QuickLists Editor for the Launcher.
  • Janitor to clear cache and more.




Friday, November 30, 2012

Ubuntu - AVG instructions

To install AVG Debian based Antivirus, please follow these steps:

1. Log in your terminal as root, and type these two commands

wget http:<download path>/<currentfile.deb> See AVG site for path
sudo dpkg -i <currentfile.deb>
2. How to run AVG?
       To run this application, you need to type this command on terminal

sudo avgctl --start
Other Important Commands

1. You can scan the specific directory by typing command:

avgscan -H /DirectoryName
2.  You can download updates file using command:
sudo avgupdate -d
3.  To update virus and other harmful application type commands below. You may choose one of this command:

sudo avgupdate --priority 1
sudo avgupdate --priority 2
sudo avgupdate --priority 3
sudo avgupdate --priority 4
sudo avgupdate --priority 5

Wednesday, November 28, 2012

Ubuntu: Creative Zen

Ubuntu - Creative Zen

Open Synaptic Package manager and search
Gnomad2
Install it.
 
ref: http://ubuntuforums.org/showthread.php?t=216191