Ubuntu 9.10 karmic koala repositories with Medibuntu

27 10 2009

The actuall repositories of karmic koala contain all softwares you need for your ubuntu, from media players to graphics tools to games …and more, the installation now is getting more easy with the ubuntu software center where with a simple click you can find hondred of softwares and click to install, but if we look how many softwares we will have to add repositories and then add keys before to install, or the ones that we will have to download from official website of the software ? So many examples exist, like opera , google earth, w32codecs, skype , realplayer and more .

 


To make life easy, you need just to add Medibuntu repositories, so what is Medibuntu ?

Medibuntu is a packaging project dedicated to distributing software that cannot be included in Ubuntu for various reasons, related to geographical variations in legislation regarding intellectual property, security and other issues:

  • patentability of software, algorithms, formats and other abstract creation
  • legal restrictions on freedom of speech or communication
  • restrictions on the use of certain types of technical solution, such as cryptography
  • legal restrictions on imports of software technology, requiring for example specific permissions
  • etc.

Now after you adding Medibuntu repositories you will be able to install many software(Google earth, Opera , Sun Java ,Acrobat Reader…) that are not included in the ubuntu software center and you will stop wasting time looking for for the right package and from where to download the package … because you will be able to install the package by simple typing :

sudo apt-get install <package name >. 

 

Now let`s see how to ad Medibuntu repositories :

1- Add the Medibuntu repository.

echo deb http://packages.medibuntu.org/ karmic free non-free | sudo tee -a /etc/apt/sources.list

2- Add the verification key

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add – && sudo apt-get update

Now you will be able to install softwares by simple using this command :

sudo apt-get install <package name >




Windows 7 Transformation Pack for Gnome & Ubuntu

22 10 2009

Win7-Transformation-Pack-for-Ubuntu_2

Here is a theme package of windows 7 for the people that like to change the look of their ubuntu looks like Windows7, for me is not usefull because i like how looks ubuntu .

This Package contains:

GDM theme*
Icons Theme*

GTK Theme
Wallpapers
Sounds
Gnomenu theme*
Panel Backgrounds*
Cursor theme
DockBar

For sound will not be installed , you will have to copy them to /usr/share/sounds ,this will replace the sounds of ubuntu.

Download Win7 Transformation Pack for Ubuntu

and downlowd WallpaperPack





How to Set Up Conky On Ubuntu Jaunty 9.04 !

20 10 2009

I was not using Conky at Ubuntu Jaunty until now, because i am too lazy to even edit pre defined conky configs : ).Today i found a couple of simple and cool conky configs so i want write a blog post at the same time i am installing and editing my conky.

Yep we are going to use the conky config at the screenshot you see(it is not taken from my desktop, i am installing it same time i am writing this blog post :) ).Also i will give the ultimate conky source which is located at the ubuntuforums.You can find different configs with screenshots, you can solve your issues at that thread also.

Let’s add the repository first :

For Ubuntu Jaunty :

$sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-jaunty.list -O /etc/apt/sources.list.d/m-buck-conky-jaunty.list

For Ubuntu Intrepid :

$sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-intrepid.list -O /etc/apt/sources.list.d/m-buck-conky-intrepid.list

For Ubuntu Hardy :

$sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-hardy.list -O /etc/apt/sources.list.d/m-buck-conky-hardy.list

Add the repository public key :

$wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-key.gpg -O- | sudo apt-key add -

Now update your repository list and install packages we need :

$sudo apt-get update && sudo apt-get install conky

Download this config file to your home directory :

$cd && wget -c http://dl.getdropbox.com/u/83257/.conkyrc

Create “scripts” directory under your home directory and download the scripts (extract, copy there) under scripts directory :

PS : Before entering that damn long commands,you should know that i did not zip those files, sorry for the long commands : ) I am just configuring/installing it same time i am blogging :)

$cd && mkdir scripts && cd scripts && wget -c http://dl.getdropbox.com/u/83257/conkyscripts.zip && unzip conkyscripts.zip && rm conkyscripts.zip && mv conkyscripts/*.* ~/scripts/ && rm -rf conkyscripts

Now download the fonts and move them to ~/.fonts directory :

$cd && wget -c http://dl.getdropbox.com/u/83257/conkyfonts.zip && unzip conkyfonts.zip && cp ~/conkyfonts/*.* ~/.fonts/ && rm -rf ~/conkyfonts && rm conkyfonts.zip

Now open your .conkyrc file (you will re-open it a lot :) ) :

$gedit ~/.conkyrc

And look for this line :

${execpi 300 python ~/scripts/gmail_parser.py yourgmailusername yourgmailpassword 3}

Change yourgmailusername and yourgmailpassword with your Gmail username and password.(be sure nobody is using your computer with your username because the password and the username is not encrypted as you can see!Be warned, it is not secure to write your username and password to a plain file.However you can remove that line, so you can disable the gmail feature at the config.)

If you want to use the Gmail feature, you also need to install this package :

$sudo apt-get install python-feedparser

Let’s continue…If you want to use HDD temperature and Cpu temperature feature, you also are going to install hddtemp and lm-sensors packages :

$sudo apt-get install hddtemp lm-sensors

When installing hddtemp, a couple of questions will be asked.Start the daemon at boot, and hit enter when it asks for IP and Port.Also configure your lm-sensors with $sudo sensors-detect command.(If you do not understand anything at configuration screen, just enter YES to everything.)

Now for weather part, you have to follow this link and enter your zip code OR your city.You will be forwarded to an URL like (This is for Ankara, Turkey and i am not living there.I just entered a random city from Turkey :) )

http://weather.yahoo.com/forecast/TUXX0003.html

Copy the location ID (in this example : TUXX0003 ) end edit pogodynka.sh :

gedit ~/scripts/pogodynka.sh

Search for kod=USID0025 at that file and replace the ID with yours.(I do not know who wrote this script either it’s language.Do not blame me, at screenshot it looks simple and cool :) )

Before saving the file.If you want to use Celsius instead of Farenheit :

Find this line :

w3m -dump http://weather.yahoo.com/forecast/"$kod".html | grep -A21 "Current" | sed 's/DEG/°/g' > $plik

And replace it with :

w3m -dump http://weather.yahoo.com/forecast/"$kod"_c.html | grep -A21 “Current” | sed ’s/DEG/°/g’ > $plik

Save it.Now create an empty file at your home directory called weather :

$cd && touch weather

PS : I also gave chmod 777 to weather file, since i did not see any images near weather.

Now, you can customize your .conkyrc file for your needs.Default conkyrc file monitors eth1 as network.I changed it to eth0.You can also make another line for wlan0 or so
${font PizzaDude Bullets:size=16}v${font} Up: ${upspeed eth0} Kb/s
${font PizzaDude Bullets:size=16}r${font} Down: ${downspeed eth0} Kb/s

${font PizzaDude Bullets:size=16}M${font} Upload: ${totalup eth0}
${font PizzaDude Bullets:size=16}S${font} Download: ${totaldown eth0}

We need to add conky to start up now.Instead of just adding conky command to your start up, i advise you to make a script with sleep (look below) since i had problems with compiz at Ubuntu Intrepid :

I am creating a conky_start.sh file under home directory and add it to start up

$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.sh

And add these lines to that file and save it :

#!/bin/bash
sleep 30 &&
exec conky -d -c ~/.conkyrc &
exit

Now go to System > Preferences > Start Up Applications (Start Up Applications is renamed at Ubuntu Jaunty, older Ubuntu versions like Intrepid uses different name, if i remember correctly, it is sessions.)

Click Add.Name it Conky Start Up or what ever you want.For command browse the conky_start_sh.

Reboot your box and have fun!

You can always visit this thread to get some help, new configs etc.





How to Get Windows 7 Like Taskbar {DockbarX}

20 10 2009

I used dozens of docks on Linux and Windows, and as you know there are really good docks like AWN, Gnome-Do with docky interface, cairo dock, kiba-dock and so on linux.Today i tried DockbarX and fall in love :) . It is like Windows 7’s taskbar except windows’ previews, and you can use it with AWN (i did not try this but i will write the installation guide).Since i am using one gnome panel, it is better for me to delete all the docks i have and add it to my top panel (I am using 12″ notebook with Ubuntu Karmic Koala so i gain more visual space with this task bar ;) ).You can read the features and changelog from here.You can use experimental or stable build, you can install it from Scott Barnes’s Launchpad repository, or you can compile latest branch.Since it is actively developed, the package at Launchpad repository is a little old and at this howto we will compile(we won’t even compile, just a couple of cp commands :) ) it from branch.

For the ones who want to install ubuntu package or from repository, here is Scott’s repository :

https://launchpad.net/~dockbar-main/+archive/ppa

For the others who want to install from the branch, let’s start :

We are going to create a SVN/DockbarX directory on your home, and install required packages :

$mkdir -p ~/SVN/DockbarX
$sudo apt-get install bzr python-gnome2-desktop python-numpy

Now navigate to ~/SVN/DockbarX and download the branch :

$cd ~/SVN/DockbarX && bzr branch https://code.launchpad.net/~dockbar-main/dockbar/experimental && cd experimental

Instead of compiling we will move a couple of files, and create some directories etc :

$sudo cp dockbarx.py /usr/bin/
$sudo cp GNOME_DockBarXApplet.server /usr/lib/bonobo/servers/

Now we will create a folder (~/.dockbar) and copy launcher_icon.png to this folder.For sistem wide installation you can copy it to /usr/share/pixmaps/dockbar (create if it does not exist : $sudo mkdir -p /usr/share/pixmaps/dockbar ) :

$mkdir ~/.dockbar && cp launcher_icon.png ~/.dockbar

After this, right click to a gnome panel, and select “Add to Panel”.Then select Dockbar Applet and click “Add”.You can move it to anywhere you want and you can find its preferences menu via right clicking the applet.

Here are some screenshots from Karmic Koala with Windows 7 theme (default properties , i did not touch anything at preferences for now.If it looks ugly, please blame the author of the Windows Vista icon pack :) ) :

AWN installation guide (i did not try this, i am taking it from gnome-look’s page) :
1. Do a normal install (no need to add dockbarx to panel if you don’t want to, of course).

2. Copy everything from the AWN folder to ~/.config/awn/applets
3. Remove original taskbar/launcher applet from awn (optional, but recommended)
4. Set ‘Icon offset’ parameter to 0!
5. Restart AWN
6. Add DockBar applet

7. if you need wallpaper  downlowd WallpaperPack click here





Howto Install Foxit PDF Reader On Ubuntu

20 10 2009
If you are familiar with PDF files, you probably heard a lot about Foxit PDF Reader on Windows OS.There is also a linux binary available for a couple of months, but i forgot to write a blog post about it : ) .I prefer it over Acroread because of its fast speed and size.Here are some features of Foxit Reader before we begin to install it to our box :

* PDF Viewing
Includes Zoom In/Out which changes the page view by the percentage you would like. Page Move which moves pages forwards and backwards and Rotation which enable users to rotate clockwise or counter clockwise the book screen by 90-degree increment.
* Text Selection Tool
The Text Selection tool enables users to select horizontal and vertical text or columns of text in PDFs. The selected text will be copied to the clipboard automatically and pop up a prompt message box.
* Snapshot Tool
Use snapshot tool to copy individual images, text or both from PDFs to the clipboard, other applications, and other files. Then the text and images are pasted as an image.
* Work with friendly Bookmarks and Page Thumbnails
The navigation panel on the left side helps you browse through the PDF, which displays two navigation panels, bookmark panel and a page thumbnail panel. This allows users to jump to a specific place in the document with bookmarks or page thumbnails.
* View Document in Full Screen
In Full Screen mode, the document pane fills the entire screen, with Menu Bar, Toolbar, Status bar, Bookmarks and Page thumbnails hidden behind. But it provides a fixed toolbar which supports basic page view function: Rotation, Zoom In/Out, etc.
* Automatically Scroll
View documents without using the mouse or keystrokes and allowing users to choose a different scroll mode such as continuous scroll, as well as time-lapse scroll. Moreover, you can press the Shift key while scrolling the mouse wheel to control speed.
* Text View
Text View allows the user to preview the whole text content from a PDF file in Foxit Reader.
* Search PDF
Search for specific text you want to locate in PDF’s. The searched items will be highlighted at which point you can click Find Again or press F3 to continue searching.
* Support Hyperlinks
Support internal and external hyperlinks. Click links with the hand tool to take you to another location in the current document or other PDF documents, or other websites.
* Optimized Rendering
Supports progressive rendering and significantly reduces the response time from the user interface events.
* Add unembedded Chinese/Japanese/Korean characters support
It can properly display PDF documents containing Chinese/Japanese/Korean fonts on Linux platform.
* Improved print quality with anti-aliasing feature
Effectively fix the aliasing issue in the output file by replacing the previous bitmap output format with the postscript output one.
* Add Preview/Next view feature
Go back or forward one page view by pressing the Preview/Next view button
* Add Save as feature
Allow users to save a copy of PDF

Installation :

Navigate to this page and download the debian package (.deb).Install it via double click or at terminal via $sudo dpkg -i filenameofthedeb.deb . You can run Foxit Reader via Applications > Office > FoxitReader or FoxitReader command.

To make it your default PDF reader / viewer application, right click to a pdf file and select Properties.Then navigate to Open With tab and select FoxitReader

PS : The debian package tested on Ubuntu Jaunty and Karmic Koala put it probably works on all debian based distros.





Dr.Web® anti-virus for Linux (GUI based)

28 09 2009

Dr.Web Security Suite for Unix Appliance and  Dr.Web® anti-virus for Linux (GUI based) is a group of modular solutions that can be installed on appliances running Unix-family (Linux/FreeBSD/Solaris(x86) operating systems. The solutions work as a corporate Internet-gateway – a proxy-server used to provide access to the Internet to intranet users.

Depending on your licensing scheme and the set of selected plugins solutions of Dr.Web Security Suite for Unix Appliance can perform the following tasks:
process incoming and outdoing mail and filter out viruses and spam;
scan http and ftp traffic for viruses;
detect and remove any malicious objects;
parse e-mails and analyze each component of a message;
filter e-mail according to white and black lists;
process correctly archived files of most known formats including multi-volume and self-extracting (SFX) archives;
notify recipients or other selected users on results of scanning using templates ensuring that provided information is easy to read
collect statistics regarding all activities of the system;
protect its own plug-ins against failures.
Benefits
Dr.Web means its own technologies and anti-virus laboratory
Dr.Web anti-virus technology has been developed since 1992 and is owned by Doctor Web.
here are few anti-virus vendors in the world with their own technologies for detecting and curing malware, a virus monitoring service and an analytical laboratory. It provides a rapid response to latest threats and allows solving any problems of customers in a few hours.

Large enterprise network experience
Dr.Web solutions for small and medium-sized companies and large corporate networks with dozens of thousands of computers have been developed and improved since 1992. The State Duma of Russia, its Defense and Foreign ministries FSB (Federal Security Service) and many other enterprises, educational institutions and research departments trust anti-virus solutions from Doctor Web.

Openness of the solutions
As usual, Doctor Web makes its contribution to development of open source anti-virus products. Solutions included in Dr.Web Security Suite for Unix Appliance have an unlimited potential for expanding their functionality. Virtually any user with a sufficient skill can implement a desired feature using the source code and the SDK supplied with the software.

Exceptional scalability
Dr.Web Security Suite for Unix Appliance can perfectly suite needs of a small company with just one e-mail server and meet the unlimited e-mail filtering requirements of transnational telecoms or Internet service providers, Its efficiency, flexibility of settings and capability of filtering huge volumes of e-mail traffic “on-the-fly” can comply even with highest demands.

Optimal configuration
Configuration of servers with preinstalled Dr.Web Security Suite for Unix Appliance is the result of thorough optimization. Solutions match requirements of a customer perfectly. Flexible licensing system allows a company to pay only for functionality it is going to use. A server based on Dr.Web Security Suite for Unix Appliance is a high-performance solution at a best price.

Reliable protection
State-of-the art technologies ensure high-speed scan of traffic that doesn’t after Internet access speed and runs unnoticed by users. The solutions feature latest Dr.Web technologies that sheilf user machines from malware and spam. Automatic updating system allows maintaining a high level of security.

High productivity and stable operation
Multi-thread scan feature enables Dr.Web Security Suite for Unix Appliance processing simultaneously large amounts of data. Well-designed modular structure makes it impossible for an attacker to disable a solution. Well-known low system requirements of Dr.Web products allow running them on any server hardware.

Easy installation
Dr.Web Security Suite for Unix Appliance fully complies with the “plug and play” principle making installation and maintenance extremely easy even for an inexperienced user. The installation procedure was designed to exclude any possible configuration errors by staff and reduces time of deployment to several minutes. Installation of an appliance doesn’t affect configuration of computers in a corporate network.

Flexible configuration and easy administration
Dr.Web Security Suite for Unix Appliance allows implementing any protection scheme tailored to the security policy of your company. The solutions have flexible configuration system so virtually any required set of rules can be created by a system administrator. All actions related to the network security are logged. The logged data can be used to analyze network health and pinpoint vulnerabilities. The convenient user alert system that issues virus warnings and notifies a user upon loading of a web-page containing malicious code will assist you in conforming to the security policy of your company.

Frequent updating
An add-on to the Dr.Web virus database is released when new entries are added as often as several times per hour. Hot add-ons are released immediately after a new threat has been analyzed. The global virus monitoring network delivers latest samples of viruses from all over the world. Users retrieve updates from several servers located on different parts of the globe.

Read the rest of this entry »





Dr.Web LiveCD !

28 09 2009

Dr.Web LiveCD is a software product that features a standard Dr.Web scanner.

Dr.Web LiveCD is an anti-virus emergency aid disk that would restore a system that became non-operational due to activities of malware and help copy important information to a removable data-storage device or to another computer. If a workstation or a server running Windows\Unix won’t boot from a hard drive, Dr.Web LiveCD will clean a system of suspicious and malicious files and will also try to cure infected objects

How does it work?

  1. Download the image of Dr.Web LiveCD.
  2. Wirte the image to a CD or DVD. If you use Nero Burning ROM you need to do the following:
    • Insert a blank CD/DVD into your CD/DVD drive
    • Click on the “File” menu and select “Open”
    • Browse through the folders to the location of the image file and select it.
    • Press the “Burn” button and wait while the file is being written to the disk
  3. Make sure that the CD/DVD drive or any other device with Dr.Web LiveCD is set as the first boot device.
  4. As loading starts a dialogue window will prompt you to choose between the standard and safe mode.

  5. Use arrow keys to select a desired mode and press [Enter]:
    • In order to use the scanner with the GUI choose Dr.Web LiveCD (Default)
    • If you’d like to start the scanner using the command line (console) select Dr.Web LiveCD (Safe Mode)
    • Choose Start Local HDD, if you want to boot from the hard drive instead of Dr.Web LiveCD
    • Select Testing Memory to launch the Memtest86+ utility
  6. If Dr.Web LiveCD (Default) is selected, all available disk drives will be detected automatically. The operating system will also try to connect to the local network if available.

  7. When the system is loaded, check disks or folders you want to scan and press Start

  8. You can also contact the support service of Doctor Web if you need extra help. Fill out a support-request form on the web site of the company
  9. The Midnight Commander file manager is used to work with files you need to copy to a safe location
  10. If the operating system failed to configure access to your network, you can do it manually using Networks Configure Manager. Start->Settings->Networks Configure manager

For more information about Dr.Web LiveCD read the Dr.Web LiveCD user manual

Download Dr.Web LiveCD





BlueProximity in Ubuntu !{Exclusive}

21 09 2009

blueproximity-255615-1246524124This software helps you add a little more security to your desktop. It does so by detecting one of your bluetooth devices, most likely your mobile phone, and keeping track of its distance. If you move away from your computer and the distance is above a certain level (no measurement in meters is possible) for a given time, it automatically locks your desktop (or starts any other shell command you want).

Once away your computer awaits its master back – if you are nearer than a given level for a set time your computer unlocks magically without any interaction (or starts any other shell command you want).

BlueProximity is availible in the Ubuntu repositories, and is very easy to install and set up:

sudo aptitude install blueproximity

Before you run BlueProximity for the first time, make sure your Bluetooth is set up on your computer, and you have paired your cellphone with your desktop.  You can find general Bluetooth options under System > Preferences > Bluetooth.

When you’re ready to run BlueProximity, you can find it under Applications > Accessories > BlueProximity.  BlueProximity runs in the background, and displays a small icon in the taskbar to show its status.  Click on the icon to configure its settings.

In the “Bluetooth Device” tab, you can choose the cellphone or device to pair with and monitor.

  • If you don’t see your cellphone in the list, press “Scan for Devices”.  Make sure your cellphone’s bluetooth is on and discoverable.
  • When your device shows up, you can click on it and press “Use Selected Device”.
  • You can also select the “RFCOMM Channel”, although the default channel, 7, worked for me.  If you have trouble, you may try “Scan channels on device”.

In the next tab, “Proximity Details”, you set the distance and times to lock and unlock your computer.

  • The distance is a numeric value between 0-255 which is a rough range of how far your cellphone is from your computer.  It doesn’t correspond to any specific unit of measure, so you’ll need to test it out to get a feeling for it.
  • At the bottom of the tab, “Measured atm” displays the current distance, as well as the minimum and maximum distances that have been detected.  You can use this as a guide.
  • The duration corresponds to the number of seconds your cellphone needs to be outside of the distance before your computer will lock.  You may need to use some trial and error to find the right value.
  • The “Unlocking” options operate just like the “Locking” options, but opposite.  When your phone is detected within the specified distance for the complete duration, your computer will unlock.

The final preferences tab, “Locking”, controls how BlueProximity will lock and unlock your computer.  It has options for the exact commands which will be invoked, as well as logging options.  Basically, BlueProximity will call gnome-screensaver-command to control the screensaver– turning it on and off appropriately.  For this to work though, you will also need to set up a screensaver.

To check your screensaver settings, go to System > Preferences > Screensaver.

  • In the left pane, choose a screensaver to use.  I prefer ElectricSheep.
  • The option “Activate screensaver when computer is idle” doesn’t apply to BlueProximity, and BlueProximity will work even without it checked.  This refers to whether you want your screensaver to also turn on after a given period.
  • Similarly, the option “Lock screen when screensaver is active” refers to the normal screensaver timeout, and won’t affect BlueProximity.

Once you’ve got BlueProximity and your screensaver configured, everything should be ready to go!  Simply walk away from your computer and watch it automatically fade into your screensaver.  Walk back, and the desktop should automatically wake up.

It’s a pretty fun toy, although not the most useful.  However, for those like myself who tend to walk away from the computer without locking it, you can feel a little better when you have your cellphone in your pocket.

You could also configure what commands to run other then the defaults via the “Locking” tab. Enjoy!





How to install Ubuntu multimedia codecs

21 09 2009

How to install all multimedia codecs in ubuntu

and kubuntu

very easy

Ubuntu Linux [1] is a Debian-based, desktop Linux distribution whose name
means “humanity to others.” The philosophy behind this GNU/Linux
distribution and the great selection of packages make you feel good that
you’re using it. The lack of multimedia support, however, leaves your
digital media desires unsated.

in the terminal :

sudo apt-get install ubuntu-restricted-extras

have fun :)





Create your own distro with Product Creator

21 09 2009

Once again, we are going to talk about Kiwi.

Kiwi is an Imaging System, a part of the greater openSUSE Build Service, a complex, omnipotent imaging/virtualization solution that allows you to create any which kind of operating system images, fully customizable and deployable in a vast range of formats, based on your own installation, the vanilla openSUSE or any other Linux distribution.

Kiwi can achieve these tasks using XML templates, as it is geared toward power users who like automation and scripting. However, Kiwi also supports work by the means of much simpler, much friendlier GUI frontends called Image Creator and Product Creator.

Creator_main

Donwload PDF version of this document
The YaST Product Creator is suitable for creating the following types of images:

  • Custom installation media
  • Add-on products
  • Live ISO images
  • USB stick images
  • Xen images
  • Virtual disk boot images

The YaST Product Creator has some limitations:

  • Creates only images for the installed architecture
  • Creates images only from sources added with the YaST Installation Sources module or from newly created add-on products
  • Does not support creation of bootable add-on product images

The YaST Product Creator provides configurations for all types of images. These configurations can be used as a good base for most situations. If you need a special configuration and are not familiar with the add-on configuration or editing and creating a KIWI configuration, see Creating Add-ons and en.opensuse.org/KIWI