Create Your Conky

This is my conky. Belows are the config.


background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
${font sans-serif:bold:size=8}${color yellow}SYSTEM ${hr 2}$color
$sysname $kernel $alignr $machine
Host:$alignr$nodename
AMD Athlon 64 X2 $alignr${freq_g cpu0}Ghz
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Battery:$alignr${battery}${battery_percent}%
${font sans-serif:bold:size=8}${color yellow}DATE ${hr 2}$color
${alignc 59}${font sans-serif:bold:size=26}${time %H:%M:%S}${font}
${alignc}${font sans-serif:bold:size=8}${Time %A %m %d %Y}
${font sans-serif:bold:size=8}${color yellow}PROCESSORS ${hr 2}$color
CPU1: ${cpu cpu1}% ${cpubar cpu1}
RAM:      ${alignc} $mem / $memmax $alignr $memperc%
SYSTEM: $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
SWAP:    $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${font sans-serif:bold:size=8}${color yellow}TEMPERATURE ${hr 2}$color
PCI adapter Temperature:$alignr${hwmon 1 temp 1} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
V. device Temperature:$alignr${acpitemp} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
HDA Temperature:$alignr${hddtemp} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
${font sans-serif:bold:size=8}${color yellow}TOP PROCESSES ${hr 2}$color
${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
${top_mem name 3}${alignr}${top mem 3} %
${top_mem name 4}${alignr}${top mem 4} %
${top_mem name 5}${alignr}${top mem 5} %
${font sans-serif:bold:size=8}${color yellow}WEATHER ${hr 2}$color
Update: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK last_update - }
Weather: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK weather - }
Temperature: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK temperature}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
Cloud: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK cloud_cover -}
Humidity: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK humidity}%
Preasure: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK pressure -}hPa
Wind: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_speed}km/h
Wind Direction: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_dir}
Wind Direction: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_dir_DEG}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}
${font sans-serif:bold:size=8}${color yellow}NETWORK ${hr 2}$color${if_existing /proc/net/route wlan0}$
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
Downloads:$alignr${downspeed wlan0}/s
${downspeedgraph wlan0 8,200 F57900 FCAF3E}
Total Downloads:$alignr${totaldown wlan0}
Uploads:$alignr${upspeed wlan0}/s
${upspeedgraph wlan0 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup wlan0}
${else}${if_existing /proc/net/route eth1}
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
Connection quality: $alignr ${wireless_link_qual_perc eth1}%
Downloads:$alignr${downspeed eth1}/s
${downspeedgraph eth1 8,200 F57900 FCAF3E}
Total Downloads:$alignr$${totaldown eth1}
Uploads:$alignr${upspeed eth1}/s
${upspeedgraph eth1 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth1}
${else}${if_existing /proc/net/route eth0}
$alignc ....Cable....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth0}
ESSID: $alignr ${wireless_essid eth0}
Connection quality: $alignr ${wireless_link_qual_perc eth0}%
Downloads:$alignr${downspeed eth0}/s
${downspeedgraph eth1 8,200 F57900 FCAF3E}
Total Downloads:$alignr$${totaldown eth0}
Uploads:$alignr${upspeed eth0}/s
${upspeedgraph eth0 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth0}
${else}${font sans-serif:bold:size=8}${font}Network Unavailable${endif}
For our refference only
Conky lua config base to conky Lucid

# Default Font.
use_xft yes
xftfont Droid Sans:size=9
override_utf8_locale yes

# Performance Settings.
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024

# Windows Configuration.
own_window_class conky
own_window yes
own_window_type conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes

# Border.
draw_borders no
border_margin 1

# Default background color of the window
own_window_colour 393834

# Default Color.
default_color B7B2AD
#default_color EFEEED

# Draw Framework.
draw_shades no

# Colors.
color0 DD3A21

# Dimension minimum size.
minimum_size 1440 0

# Position of Conky.
alignment bottom_left
gap_x 63
gap_y 0

# Texto
TEXT
${image ~/.conky/pix/frame.png -p 0,0 -s 1280x180}
${voffset 20}${font Droid Sans:style=Bold:size=12}${color0}${goto 256}FileSystem:${goto 512}LAN Network:${goto 768}Wireless Network:${goto 1024}Date:${font}${color}
${voffset 6}${goto 256}System (/):${goto 380}${fs_used /} / ${fs_size /}${goto 512}Up Speed: ${goto 612}${upspeedgraph eth0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${upspeed eth0}${font}${goto 768}${goto 768}Up Speed: ${goto 868}${upspeedgraph wlan0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9} ${upspeed wlan0}${font}${goto 1024}${time %I:%M:%S %p}
${goto 15}Kernel: ${goto 100}${kernel}${goto 380}${fs_bar 10,100 /}${goto 512}Down Speed: ${goto 612}${downspeedgraph eth0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${downspeed eth0}${font}${goto 768}${goto 768}Down Speed: ${goto 868}${downspeedgraph wlan0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${downspeed wlan0}${font}${goto 768}${goto 1024}${time %A}, ${time %d} ${time %B} ${time %Y}
${goto 15}CPU: ${goto 100}${cpubar cpu1 10,100}${font Droid Sans:style=Bold:size=9}  ${cpu cpu1}%${font}${goto 256}User (/Home):${goto 380}${fs_free /home} / ${fs_size /home}${goto 512}Total Sent: ${goto 612}${totalup eth0}${goto 768}Total Sent: ${goto 868}${totalup wlan0}
${goto 15}RAM: ${goto 100}${membar 10,100}${font Droid Sans:style=Bold:size=9}  $memperc%${font}${goto 380}${fs_bar 10,100 /home}${goto 512}Total Received: ${goto 612}${totaldown eth0}${goto 768}Total Received: ${goto 868}${totaldown wlan0}
${goto 15}SWAP:${goto 100}${swapbar 10,100}${font Droid Sans:style=Bold:size=9}  $swapperc%${font}${goto 512}IP Address: ${goto 612}${addr eth0}${goto 768}IP Address: ${goto 868}${addr wlan0}
${goto 15}UpTime: ${goto 100}${uptime}${goto 512}

* thanks to Noobslab

Install SopCast Web TV player with VLC1.1.x problem fixed in Ubuntu 10.10 Maverick

SopCast is a good on-line TV player on Ubuntu Linux,but it doesn’t start in Ubuntu with VLC 1.1.x version installed.
Fortunately,a new SopCast PPA created by Roberto @ LFFL fixed the problem,and you can easily get the SopCast Web TV player work again by installing SopCast from ppa:ferramroberto/sopcast.
Open a terminal window from Applications -> Accessories menu,run following commands to add PPA and install SopCast:

sudo add-apt-repository ppa:ferramroberto/sopcast
sudo apt-get update
sudo apt-get install sopcast-player
After that,launch SopCast from Applications -> Sound & Vedio -> SopCast Player.Navigate to Edit -> Preferences,under Media Player check “Use External Player” and type vlc in command box.(Make sure vlc media player installed first)


Now,search your favourate sop TV addresses on the web and watch via File -> Open


source http://ubuntuguide.net/install-sopcast-web-tv-player-with-vlc1-1-x-problem-fixed-in-ubuntu-10-10-maverick

SopCast Runner

SopCast Runner is ruby command line script for running streaming video in external player

Install
For Ubuntu Maverick 10.10:
add ppa repository
sudo add-apt-repository ppa:sabotatore/sopcast
install sopcast-runner package
sudo apt-get update && sudo apt-get install sopcast-runner 

USAGE
sopcast-runner [ChannelURL]
or
sopcast-runner [ChannelId] 

INTEGRATE
Integrate with Gnome browsers, such as Firefox or Google Chrome
gconftool-2 -s /desktop/gnome/url-handlers/sop/command '/usr/bin/sopcast-runner %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/sop/enabled --type Boolean true

CONFIG
You can change default player
sudo gedit /etc/sopcast_runner/sopcast_runner.conf

Installing Flock




Flock is a free, open source web browser based on Firefox.
Flock is still in development and will be officially released and added to the Ubuntu repositories in future.
For those who want to try Flock before then, there are two methods, using either a pre-packaged .deb, or a compressed file be downloaded and installed manually. A .deb package file may be found at getdeb.net/flock and installed using any standard package installation method, or you download and extract the program using the following method:

Install Flock


  • Download Flock page for Linux.
  • Right click the file, choose Extract Here
  • Right click the desktop, choose Create Launcher
    • For command, click Browser and chose the file called 'flock' in the folder you just extracted.

Install Flock (Multi-user Command line)


  • Download Flock page for Linux.
  • Change to the directory you downloaded it to, then extract Flock into /opt:
  • sudo tar -C /opt -xjvf flock-*.linux-i686.tar.bz2
  • Optionally, you can test Flock from the command line:
  • /opt/flock/flock-browser
  • Create link and menu:
  • sudo ln -s /opt/flock/flock-browser /usr/bin/flock
    sudo edit /usr/share/applications/Flock.desktop
  • Then enter or copy the following text and save the file:
  • [Desktop Entry]
     Comment=Flock Web Browser
     Exec=flock
     GenericName=Flock Web Browser
     Icon=/opt/flock/icons/mozicon128.png
     Name=Flock
     Path=
     StartupNotify=true
     Terminal=0
     TerminalOptions=
     Type=Application
     X-KDE-SubstituteUID=false
     X-KDE-Username=
  • Gnome users refresh panel:
  • killall gnome-panel
  • KDE users refresh kicker:
  • dcop kicker Panel configure
    Enjoy Flock! 

Wireless Problems

 Wireless troubleshooting procedure to be followed while creating a single, new question athttps://answers.launchpad.net/ubuntu/+addquestion

Please first connect your network card to the wireless router using an ethernet cable (also known as a LAN cable).

In order to gather essential troubleshooting information about your wireless card, please follow this procedure:

Step 1
Open Terminal from “Applications->Accessories->Terminal”

Step 2
Please copy-paste the following diagnostic command from thehttps://help.ubuntu.com/community/WirelessTroubleshootingProcedure website using Chromium or Firefox into the Linux Terminal. The command STARTS with the word sudo and ENDS with the word lsmod. So please copy-paste the ENTIRE diagnostic command below from Firefox into a Terminal, press <enter>, then enter password when sudo asks for password, then press enter again.

Tip: If you have a wheel mouse or 3 button mouse you do not need to type commands into the Terminal. Highlight the diagnostic command written on the page. Move your cursor anywhere in the Terminal and press the wheel or middle button. Automatic Copy and paste! No spelling mistakes! No Typos! No other errors!


sudo apt-get update; sudo apt-get install hwinfo grep; sudo lshw -C network; rfkill list; 

sudo iwlist scanning; cat /etc/network/interfaces; cat /etc/lsb-release; lspci -nn; lsusb; 

sudo lshw -short; uname -a; dmesg | egrep 'acx|at76|ath|b43|bcm|CX|eth|ipw|irmware|isl|lbtf|ndiswrapper|NPE|ound|prism|rtl|rt2|rt3|usb|witch|wl';  

iwconfig; grep b43 /etc/modprobe.d/*; grep wl /etc/modprobe.d/*; sudo hwinfo --netcard ; 

cat /var/lib/NetworkManager/NetworkManager.state; sudo lsmod

How to get RGBA support in Ubuntu 10.04

Figure 1



RGBA stands for Red Green Blue Alpha. When applied to the computer desktop it means a whole world more. It means full-blown transparency with the ability to control the transparency like never before. This feature was supposed to make it into Ubuntu 10.04, but because of some show-stopping issues, it was pulled. It is now slated to make it into 10.10 and, judging from how well it is working now, it will do just that.
If you’re curious as to what an RGBA-enabled desktop will look like, take a gander atFigure A. This is Ubuntu 10.04 with GNOME and RGBA support installed and enabled.
I’m sure there are many out there who are saying, “Who cares? It’s just eye candy!” But there are plenty of others saying, “Me too! I want!” (or some variation of that theme). Well, in this installment of the open source blog I will stand down from my soap box and show you how you can have this delicious eye candy on your Ubuntu 10.04 desktop as well.
What you will need
Outside of the necessary software, you will need a graphics card that will support full Compiz features. So if your desktop will not allow you to enable Extra features for compiz, either don’t bother with this or go get a new card that will. You will also need to enable Compiz with at LEAST Normal effects. With that set, you are ready to install.

Installation

Open up a terminal window and issue the following commands:

sudo add-apt-repository ppa:erik-b-andersen/rgba-gtk
sudo apt-get update && sudo apt-get upgrade 
sudo apt-get install gnome-color-chooser gtk2-module-rgba
sudo apt-get install murrine-themes
That’s it from the command line and the installation.

Enabling RGBA

There are a few steps to undertake in order to enable this feature.
Figure 2

  1. Click System | Preferences | GNOME Color Chooser. In this window, scroll until you see the Engines tab.
  2. Click the Global check box and then select Murrine from the dropdown.
  3. Now click on the Preferences button; scroll down until you see “Configuration of Enable/Disable RGBA support” (see Figure B), and make sure both check boxes are checked.
  4. Click OK and then click Apply in the main GNOME Color Chooser window. You can now dismiss this window.
The next step is to select an RGBA compatible theme. You installed these themes with the commands above. To do this, follow these steps:
  1. Right-click on your desktop and select Change Desktop Background.
  2. Click on the Themes tab.
  3. Click the Customize button.
  4. From the Controls tab scroll down until you find a Murrine them.
  5. Select a Murrine them and click Close.
  6. Close the Appearance Preferences window.
Now all you have to do is log out and log back in to enjoy full-blown RGBA support on your Ubuntu desktop!

No Sound Amarok

Install Xine (if it is not there)
sudo apt-get install phonon-backend-xine
Then,
sudo aptitude install libxine1-ffmpeg
Then you must restart Amarok.

If Still No Sound,
Open Amarok --> Setting --> Configure Amarok --> Playback --> Configure Phonon ( choose device)

if still No Sound,
System --> Preference --> Sound --> Hardware --> setting for the selected device  (choose one)

if still no sound then you should install all phonon package in Synaptic Package Manager or change another player..... ha  ha ha

Previous installation hasn't been completed

In applications>accessories>terminal type
sudo dpkg --configure -a
and
sudo apt-get -f install
If you get any errors from these commands,please post them here.Also if you get errors post output of
cat /etc/apt/sources.list

command for wifi wep/wpa cracker

1) Gerix Wifi Cracker Install

sudo python /usr/share/gerix-wifi-cracker-ng/gerix.py
2) Grimwepa install

java -jar grimwepa1.10a6.jar
3) Wifite Install

python wifite.py

Installing Compact-Wireless patched on Ubuntu Lucid

New package already patched for Ubuntu Lucid:

(for drivers rtl8187, zd1211rw, iwl3945, ath5k, rt73usb, partially injection for rt2800usb)
(include the patch to fix the problem in Airodump-ng --> "mon0 fixed channel: -1")

Code:


sudo rmmod rtl8187 zd1211rw mac80211 cfg80211
sudo mkdir /usr/src/drivers
cd /usr/src/drivers
sudo wget http://ubuntuone.com/p/ewj/.tar.bz2
sudo tar jxvf compat-wireless-aircrack-lucid-patched.tar.bz2
cd compat-wireless-aircrack-lucid-patched
sudo make
sudo make install
sudo make unload
- At this point, to use the driver RTL8187 with [b]ALFA- AWUS036H, load the appropriate module with this command:

sudo modprobe rtl8187
- While, for use of the new ALFA- AWUS050NH, load driver RT2800usb:

sudo modprobe rt2800usb


How To Import Winamp Equalizer Preset Into Linux Audio Players Like Audacious, XMMS, etc


Linux users always miss out on one feature that their Windows counterparts enjoy while listening to music. Most of the time, while listening to music using music players like Audacious, BMP, XMMS, etc in Linux, users misses out the equalizer presets that is present in most of the Windows music players like of Winamp, iTunes, Windows Media Player, etc.
For any die-hard music-aficionado who loves to listen to music and cannot compromise with quality, can never forgive a player that doesn’t comes with an equalizer preset. If you are a music lover who don’t likes to compromise with music and likes to have equalizer presets for fine tuning his music, there’s a simple trick to import the Winamp equalizer presets into your Audacious, BMP, XMMS, etc Linux music players.
Simply follow the steps below:
Run the following commands one by one in your terminal and you will have the equalizer presets of Winamp in your favorite Linux music player.
terminal
Step 1Download the Winamp equalizer presets using the following command in your terminal:

wget http://www.beastwithin.org/users/wwwwolf/code/xmms/winamp_presets.gz
Step 2: Import the downloaded Winamp equalizer presets into Audacious, BMP, and XMMS respectively using the commands as follows:

gunzip -c winamp_presets.gz > ~/.config/audacious/eq.preset
gunzip -c winamp_presets.gz > ~/.bmp/eq.preset
gunzip -c winamp_presets.gz > ~/.xmms/eq.preset
winamp equalizer presets imported in audacious
In case you don’t need all of them or haven’t installed any of the above mentioned player then you don’t have to run the command for that player. For example, if you don’t have BMP installed in your machine, then you don’t have to execute the command gunzip -c winamp_presets.gz > ~/.bmp/eq.preset into your terminal.

Install Jdownloader in Ubuntu 10.10/10.04/9.10 using Ubuntu PPA

JDownloader is open source platform independent and written completely in Java. It simplifies downloading files from One-Click-Hosters like Rapidshare.com or Megaupload.com - not only for users with a premium account but also for users who don’t pay. It offers downloading in multiple paralell streams, captcha recognition, automatical file extraction and much more. Of course, JDownloader is absolutely free of charge. Additionally, many “link encryption” sites are supported - so you just paste the “encrypted” links and JD does the rest. JDownloader can import CCF, RSDF and the new DLC files.
Install Jdownloader in Ubuntu 10.10/10.04/9.10




Open the terminal and run the following command
sudo add-apt-repository ppa:jd-team/jdownloader
sudo apt-get update 
sudo apt-get install jdownloader

compiz-fusion-plugins-extra

This is the full list of compiz packages I have installed (Intrepid):

compiz
compiz-core
compiz-dev
compiz-fusion-plugins-extra
compiz-fusion-plugins-main
compiz-fusion-plugins-unsupported
compiz-gnome
compiz-gtk
compiz-plugins
compiz-wrapper
compizconfig-backend-gconf
compizconfig-settings-manager
emerald
gnome-compiz-manager
libcompizconfig0
libemeraldengine0
libgnome-compiz-manager0
python-compizconfig

Ubuntu Tips And Tricks : Compiz Fusion

Compiz Fusion is available as a separate Windows Manager, to allow advanced desktop effects such as the rotating cube desktop. Many Ubuntu users choose to run Compiz, which is quite fast in Ubuntu. 
Install:

sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main
compiz-fusion-plugins-extra emerald librsvg2-common
To change to Compiz as the Window Manager:
System -> Preferences -> CompizConfig Settings Manager
Note: You must logout and log back in for the change to take effect.

Fusion Icon

Fusion Icon is a tray icon that allows you to easily switch between window managers, window decorators, and gives you quick access to the Compiz Settings Manager. This allows quick toggling of 3-D desktop effects (that may not be compatible with some applications).

sudo apt-get install fusion-icon
Applications -> System Tools -> Compiz Fusion Icon
You can then easily access CompizConfig Settings Manager from the icon.

 

Rotate the Compiz Cube


Set the CompizConfig Settings Manager to enable the "Desktop Cube" and "Rotate Cube" and "Viewport Switcher" options. Click on the icon for each to customize settings. For example, to change the appearance of the cube, click on the Desktop Cube icon to access its settings. You can set the hotkey buttons for rotating the cube in the "Viewport Switcher" settings. Otherwise, hold down the Ctrl+Alt+Left mouse button and drag the mouse (or touchpad) the direction you want to rotate the cube.
Remember, the cube rotates between desktops. It's not a cube unless you have at least 4 desktops running. You will not get a cube if you are only using 2 desktops (you will get a "plate"). You can still rotate the sides of the plate, of course, but it will not be a cube. (Recent users from the Windows OS may have no experience with the concept of simultaneous desktops, but they are nice once you learn how to use them).
When running Compiz fusion as the Windows Manager, you must change the default number of desktops from within CompizConfig Settings Manger. To enable 4 desktops:
CompizConfig Settings Manager -> General -> General Options -> Desktop Size -> Horizontal Virtual Size -> 4
When you start an application, you can assign it to any one of the 4 desktops by right-clicking the upper left corner of the application window and choosing the "To Desktop..." option. Rotating the cube shows the different desktops. You can also go to a desktop using the taskbar icon which shows the 4 desktop.

Find Us On Facebook

Related Posts Plugin for WordPress, Blogger... Linux Directory