Ubuntu 10.10 -- A Perfect 10?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
Hrm...

Google Chrome magically disappeared. LoL!

But, I got Conky working...

conky-10.10.png

Oh, well, that's good enough for one day... :awe:
 

KeypoX

Diamond Member
Aug 31, 2003
3,655
0
71
how to customize conky? I like yours alot, but would also like cpu, gpu temp.
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
nice machine name, dude. They DO rule us, you know....
Sorry! I just noticed your post...

I've named my machines after GhostBuster characters, since well into the last century. LoL!

I don't know why I do -- but, I do.

Probably some sort of psychological defect... :awe:
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
how to customize conky? I like yours alot, but would also like cpu, gpu temp.
I don't mind sharing my scripts, and so forth, but we probably should start another thread for that.

Basically, it a mixture of Conky & ConkyForecast, with added fonts and appropriate coding in 'conky.rc'.
 

SickBeast

Lifer
Jul 21, 2000
14,377
19
81
So I found out that I couldn't install Maverick from USB because of a bug in a text file. I fixed it and got it up and running, but there was no mouse cursor! I read that it's an issue that hasn't been solved yet. I'm going to have to wait it out. I had the same problem in Lubuntu 10.10 Alpha 3. It's too bad because the new Lubuntu looks amazing. I love the new theme.
 

SickBeast

Lifer
Jul 21, 2000
14,377
19
81
So I revived my desktop PC with a 600W OCZ PSU that I got for $35, and I managed to get Ubuntu 10.10 on it up and running. I actually wanted to use 10.04, but it wasn't compatible with my computer.

Anyhow, I actually really like Maverick. I'm using the new BTRFS file system with compression and Firefox opens up practically instantly now whereas it took 3-5 seconds with EXT4.

That aside there's not much difference between 10.10 and 10.04.
 

KeypoX

Diamond Member
Aug 31, 2003
3,655
0
71
Vin please post some direction to how to achieve your conky.

I have been using conky colors, but still ike yours better :)

Do you know if you ahve the weather applet on a panel if it conflicts with conky?
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
VinDSL what are you using to generate your conky weather?

Vin please post some direction to how to achieve your conky.
Alrighty then. Let's do a quick n' dirty tutorial... :)

I'm using 2 programs -- Conky & conkyForecast. Both are available in the Ubu Software Center 10.10. I'm not sure about other distros.

In order to suck the weather data into conkyForecast, you need to setup a (free) account on weather.com aka The Weather Channel.

You will need the XOAP Registration Service numbers, from your account on weather.com, to feed weather data to conkyForecast, e.g. Conky.

To get these XOAP numbers, you will need to go into your weather.com Profile and setup an "XML Data Feed". This is very easy to do. They will send your public/private keys via email.

You will also be using your Location ID, from weather.com.

The registration screen looks like this...

xoap.png


These numbers will be used in your conkyForecast.config file...

Code:
XOAP_PARTNER_ID = <ID FROM WEATHER.COM GOES HERE>
XOAP_LICENCE_KEY = <KEY FROM WEATHER.COM GOES HERE>


As far as putting it all together is concerned, I do things a little differently than others.

I don't like running all over my system files to tweak Conky & conkyForecast. I like to do it from a single file -- .conkyrc

Here's what my .conkyrc looks like...

Code:
#################
##    VinDSL   ##
#################

####
## Use XFT?
#
use_xft yes
xftfont LiberationSans:size=9
xftalpha 0.1
text_buffer_size 2048

####
## Update interval in seconds.
#
update_interval 1.5

####
## This is the number of times Conky will update before quitting.
#  Set to zero to run forever.
total_run_times 0

####
## Create own window instead of using desktop (required in nautilus)?
#
own_window yes
own_window_type override
own_window_transparent yes
# own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

####
## Use double buffering? Reduces flicker.
#
double_buffer yes

####
## Minimum size of text area.
#
minimum_size 245 0
# maximum_width 250

####
## Draw shades?
#
draw_shades no

####
## Draw outlines?
#
draw_outline no

####
## Draw borders around text?
#
draw_borders no

####
## Draw borders around graphs?
#
draw_graph_borders no

####
## Text alignment.
#
alignment top_right

####
## Gap between screen borders and text.
#
gap_x 15
gap_y 30

####
## Subtract file system buffers from used memory?
#
no_buffers no

####
## Set to yes, if you want all text to be in uppercase.
#
uppercase no

####
## Number of cpu samples to average.
#  Set to 1 to disable averaging.
cpu_avg_samples 2

####
## Number of net samples to average.
#  Set to 1 to disable averaging.
net_avg_samples 2

####
## Force UTF8? UTF8 support requires XFT.
#
override_utf8_locale yes

####
## Add spaces to keep things from moving around?
#  Only affects certain objects.
use_spacer right

####
## My colors
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black

TEXT

##################
##     LOGO     ##
##################
${voffset -33}${color2}${font OpenLogos:size=103}v${voffset -66}${goto 179}${font UbuntuTitleBold:size=20}${color4}10.10

##################
##    SYSTEM    ##
##################
${voffset -15}${font Arial:bold:size=10}${color4}SYSTEM ${color8} ${hr 2}
${voffset 4}${color2}${font OpenLogos:size=10}u${voffset -4}$font${color6} $sysname $kernel $alignr $machine
${voffset 2}${color2}${font StyleBats:size=10}A${voffset -1}$font${color6} Intel P4 Extreme Edition $alignr${freq_g cpu0} GHz
${voffset 2}${color2}${font StyleBats:size=10}q${voffset -1}$font${color6} Uptime $alignr${uptime}
${voffset 2}${color2}${font StyleBats:size=10}o${voffset -1}$font${color6} File System $alignr${fs_type}

##################
##  PROCESSORS  ##
##################
${font Arial:bold:size=10}${color4}PROCESSORS ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}k${voffset -2}$font${color6} CPU1  ${cpu cpu1}&#37;
${color7}${cpubar cpu1}
${voffset 2}${color2}${font StyleBats:size=10}k${voffset -2}$font${color6} CPU2  ${cpu cpu2}%
${color7}${cpubar cpu2}

##################
##    MEMORY    ##
##################
${font Arial:bold:size=10}${color4}MEMORY ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}l${voffset -2}$font${color6} RAM $alignc $mem / $memmax $alignr $memperc%
${color7}$membar

##################
##     HDD      ##
##################
${font Arial:bold:size=10}${color4}HDD ${color8}${hr 2}
${voffset 2}${color2}${font StyleBats:size=10}x${voffset -2}$font${color6} ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color7}${fs_bar /}
${voffset 2}${color2}${font StyleBats:size=10}4${voffset -2}$font${color6} SWAP $alignc $swap / $swapmax $alignr $swapperc%
${color7}${swapbar}

##################
# TOP PROCESSES ##
##################
${font Arial:bold:size=10}${color4}TOP PROCESSES ${color8}${hr 2}
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 1} $alignr ${top mem 1} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 2} $alignr ${top mem 2} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 3} $alignr ${top mem 3} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 4} $alignr ${top mem 4} %
${voffset 2}${color1}${font StyleBats:size=10}h${voffset -3}$font${color6} ${top_mem name 5} $alignr ${top mem 5} %

##################
##   NETWORK    ##
##################
${font Arial:bold:size=10}${color4}NETWORK ${color8}${hr 2}
${voffset 2}${color2}${font PizzaDude Bullets:size=10}a$font${color6} IP on eth0 $alignr ${addr eth0}
${voffset 4}${color2}${font PizzaDude Bullets:size=10}T$font${color6} Down $alignr ${downspeed eth0}
${color2}${font PizzaDude Bullets:size=10}N$font${color6} Up $alignr ${upspeed eth0}
${voffset 4}${color2}${font PizzaDude Bullets:size=10}T$font${color6} Downloaded: $alignr  ${totaldown eth0}
${color2}${font PizzaDude Bullets:size=10}N$font${color6} Uploaded: $alignr  ${totalup eth0}

##################
##   WEATHER    ##
##################
${font Arial:bold:size=10}${color4}WEATHER ${color8}${hr 2}
${voffset 4}${goto 55}${color1}${font Weather:size=40}y${voffset -8}${font RadioSpace:size=32}${color3} ${execpi 600 conkyForecast --imperial --location=<YOUR LOCATION FROM WEATHER.COM>}
${voffset -20}${font LiberationSans:size=20}${color4}$alignc${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=CT}
${goto 60}${font ConkyWeather:style=Bold:size=40}${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=WF}${goto 130}${font ConkyWindNESW:style=Bold:size=40}${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=BS}
${voffset -28}${goto 50}$font${color3}Feels like ${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --centeredwidth=4 -iu}${goto 140}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=WS}
${voffset 10}${goto 43}$font${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=1 --shortweekday}${goto 109}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=2 --shortweekday}${goto 172}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=DW --startday=3 --shortweekday}
${goto 33}$font${color3}${font ConkyWeather:size=32}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=WF --startday=1 --endday=3 --spaces=2}
${voffset -30}${goto 31}$font${color3}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=1 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=1 --hideunits --centeredwidth=4 -iu}${goto 97}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=2 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=2 --hideunits --centeredwidth=4 -iu}${goto 162}${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=HT --startday=3 --hideunits --centeredwidth=4 -iu}/${execi 600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --imperial --datatype=LT --startday=3 --hideunits --centeredwidth=4 -iu}

##################
##     TIME     ##
##################
${font Arial:bold:size=10}${color4}TIME ${color8}${hr 2}
${font RadioSpace:size=32}${color3}$alignc${time %l:%M%p}
${voffset -31}$font${color3}$alignc${time %A},$font${color3}${offset 5}${time %d %b %Y}
${voffset 3}$font${color4}$alignc Rise ${execi 3600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=SR --startday=1} | Set ${execi 3600 conkyForecast --location=<YOUR LOCATION FROM WEATHER.COM> --datatype=SS --startday=1}


As you can see, I'm using several custom fonts in .conkyrc...

  • Arial
  • ConkyWeather
  • ConkyWindNESW
  • LiberationSans
  • OpenLogos
  • PizzaDude
  • RadioSpace
  • StyleBats
  • UbuntuTitleBold
  • Weather

If you want the look n' feel of my script, you'll need to download/install these fonts on your machine .


One last thing...

I delay the startup of Conky on boot. If I don't do this, 99% of the time Conky will look wonky (or not load at all).

I like Conky to automagically startup at boot (with a delay)...

I add this command to my startup routine...

Code:
sh /home/vindsl/.config/autostart/conky-start-delayed.sh

Here is the content of conky-start-delayed.sh...

Code:
#!/bin/bash
sleep 10 && conky;

That's about the size of it... :awe:
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
Oh, BTW, I got compiz-fusion-extras working last night. :biggrin:

Looks like the devs have the x-server problem(s) sorted out...

10.10-fusion.png
 

lxskllr

No Lifer
Nov 30, 2004
57,504
7,699
126
Thanks for that Vin. I took a quick look at Conky, but decided against it due to the complexity. I may give it a shot using your script, and modifying it to suit me. I pick things up easier when I have a template to start with, instead of starting from scratch.
 

KeypoX

Diamond Member
Aug 31, 2003
3,655
0
71
I think I used Synaptic in 10.04.

You can always get the latest version here: Conky Hardcore PPA

It's very popular. You shouldn't have a hard time finding it...

That worked thanks.

BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<REMOVED>&key=<REMOVED>&unit=m
#BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
PROXY_HOST =
PROXY_PORT = 8080
PROXY_USERNAME =
PROXY_PASSWORD =

Do i put in zip code in LOCATION?

Also location of conkyrc? Home dir?

I havent messed with conky much before. Just using colors, and gui lol.
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
That worked thanks.

BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<REMOVED>&key=<REMOVED>&unit=m
#BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
PROXY_HOST =
PROXY_PORT = 8080
PROXY_USERNAME =
PROXY_PASSWORD =

Do i put in zip code in LOCATION?

Also location of conkyrc? Home dir?

I havent messed with conky much before. Just using colors, and gui lol.
Okay, first of all, you don't use your zip code for your location.

Let's say you live in a town called Phoenix...

To determine your location ID, use this link:

http://xoap.weather.com/search/search?where=PHOENIX

The results are...

Code:
<!-- This document is intended only for use by authorized licensees of The  --> 
<!-- Weather Channel. Unauthorized use is prohibited.  Copyright 1995-2010, --> 
<!-- The Weather Channel Interactive, Inc.  All Rights Reserved.            --> 
<search ver="3.0"> 
  <loc id="USAZ0166" type="1">Phoenix, AZ</loc> 
  <loc id="USMD0313" type="1">Phoenix, MD</loc> 
  <loc id="USNY1125" type="1">Phoenix, NY</loc> 
  <loc id="USOR0269" type="1">Phoenix, OR</loc> 
  <loc id="USAZ0167" type="1">Phoenix/Deer Valley Municipal Arpt, AZ</loc> 
</search>

If the results don't look like the above example, right-click the web page and 'view the page source' (or however your browser phrases it).

Choose your poison! The Phoenix, AZ location ID would be USAZ0166, et cetera.

Looks like you already figured out where to put the location ID in .conkyForecast.config

Place the location ID in the .conkyrc script too, where indicated (several instances).

Example:

Code:
${voffset 4}${goto 55}${color1}${font Weather:size=40}y${voffset -8}${font RadioSpace:size=32}${color3} ${execpi 600 conkyForecast --imperial --location=<YOUR LOCATION FROM WEATHER.COM>}

Using the example above ( USAZ0166 ) the line should read...

Code:
${voffset 4}${goto 55}${color1}${font Weather:size=40}y${voffset -8}${font RadioSpace:size=32}${color3} ${execpi 600 conkyForecast --imperial --location=USAZ0166}

When you're done editing /usr/share/conkyforecast/conkyForecast.config you need to copy it to your /home directory and rename it to .conkyForecast.config, e.g. with a dot in front of it, to hide it.

Yes, .conkyrc goes in your home directory. In my case, /home/vindsl

.conkyForecast.config goes in your home directory too.

Speaking of .conkyForecast.config, your snippet looks odd.

Maybe it's because you didn't wrap it with UBB code tags in your post.

As long as it works, that's all that matters... ;)
 
Last edited:

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
BTW, I like to keep my conkyForecast fonts segregated from the system fonts.

conky-fonts.png

It's easier to keep track of them that way... :awe:
 

P4man

Senior member
Aug 27, 2010
254
0
0
Im not having much luck with 10.10 so far. Struggeling to get it installed on both my laptop and desktop (both of which happily run 10.04.). Tried all alpha releases and a daily build, but I cant get in to gnome even in a live session. Here is hoping the beta willl work for me...
 

SickBeast

Lifer
Jul 21, 2000
14,377
19
81
Im not having much luck with 10.10 so far. Struggeling to get it installed on both my laptop and desktop (both of which happily run 10.04.). Tried all alpha releases and a daily build, but I cant get in to gnome even in a live session. Here is hoping the beta willl work for me...
Try burning them to CD instead of running them from USB if that's what you've been doing.

I've had similar issues. Just keep trying a daily build every week to see if it solves it.
 

VinDSL

Diamond Member
Apr 11, 2006
4,869
1
81
www.lenon.com
SOURCE: Originally Posted by NVNews.net
256.52 (prerelease) for Linux x86/x86_64 released

  • Fixed a bug that prevented XvMC from initializing in most cases.
  • Added support for xorg-server video driver ABI version 8, which will be included in the xorg-server-1.9 series of releases.
  • Fixed a bug that caused extremely slow rendering of OpenGL applications on X screens other than screen 0 when using a compositing manager.
  • Fixed a regression introduced after 256.35 that caused stability problems on GPUs such as GeForce GT 240.
  • Fixed a slow kernel virtual address space leak observed when starting and stopping OpenGL, CUDA, or VDPAU applications.
  • Fixed a bug that left the system susceptible to hangs when running two or more VDPAU applications simultaneously.

The 256.52 NVIDIA Accelerated Linux Graphics Driver Set for Linux/x86 is available for download via FTP.
The 256.52 NVIDIA Accelerated Linux Graphics Driver Set for Linux/x86_64 is available for download via FTP.

Please see the README (x86 / x86_64) for more information about this release.

Please note: This NVIDIA Linux graphics driver release supports GeForce 6xxx and newer NVIDIA GPUs, GeForce4 and older GPUs are supported
through the 96.43.xx and 71.86.xx NVIDIA legacy graphics drivers. GeForce FX GPUs are supported through the 173.14.xx NVIDIA legacy graphics drivers.

Please also note: If you encounter any problems with the 256.52 NVIDIA Linux graphics driver release, please start a new thread and include a detailed
description of the problem, reproduction steps and generate/attach an nvidia-bug-report.log.gz file (please see http://www.nvnews.net/vbulletin/showthread.php?t=46678 for details).

This new driver allowed me to remove the IgnoreABI Section from xorg.conf.

conky-fixed.png

Worked a treat! :thumbsup: