Rajani's weblog

 
Filed under

ubuntu

 

ubunut 10.04 Lucid Lynx "panel not responding"

I upgraded from 9.10 to 10.04 and started facing a weird issue - sometimes the gnome panel doesnt load. 
I used to do a reboot until the panel loads properly.
Today even after the second reboot it didnt load properly. 
I did search and found that gnome-weather-applet is the culprit ( thats one of my fav apps :( ) 
I want to kill the gnome-panel and start it again. ALT+F2 didnt work for me

This is what helped me :

Right click the desktop and choose 'Create Launcher'.
Give it a name like Terminal the command is 'gnome-terminal'
Click OK

Now, run the terminal and kill the gnome-panel
$ killall gnome-panel
and start it
$ gnome-panel --replace
Your panel and system should be completely functional now minus the weather applet. 

(You can disable the weather applet next time the panel loads fine or boot with live cd and disable it) 
This is the bug  https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/482690

 

Filed under  //   Lucid-Lynx   bug   gnome-panel   not-responding   ubuntu   ubuntu-10.04  

Comments [0]

django makemessages - invalid multibyte sequence error

Today I was trying to run $ django-admin.py makemessages -a to pull the strings marked for translation from a django app.

I was getting the error invalid multibyte sequence

The problem was that the .po wasn't encoded properly. 

This is what helped me. 

(on ubuntu 10.04 Lucid Lynx)

1. file -i filename

  This would give you the MIME type of the file

2. $ iconv --from-code=ISO-8859-1 --to-code=UTF-8 iso.txt > utf.txt

  --from-code is what is returned from step 1

3. $ django-admin.py makemessages -a

 

Hurray no errorr now.

 

 

Filed under  //   django   file   iconv   makemessages   ubuntu   ubuntu-10.04  

Comments [0]

How to configure reliance netconnect broadband + on ubuntu 10.04 Lucid Lynx

install the packages usb-modswitch usb-modswitch-data

Add this to /etc/wvdial.conf

[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)

[Dialer netconnect]
Username = your device phone number
Password = password usually the device phone number
Phone = #777
Stupid Mode = 1
Inherits = Modem0

do # sudo reboot

now do # sudo wvdial netconnect 

It will dial and give you the ip address if successfully connected. Press CTRL+C to disconnect ( network manager may not detect it)

Filed under  //   Lucid-Lynx   reliance-netconnect   ubuntu   ubuntu-10.04  

Comments [1]

RT Installing Flash player from repository on Ubuntu 10.04 64-bit «

My previous post on this subject provided a quick way of getting Adobe Flash player working under Ubuntu 10.04. It used a rather nice shell script, which got Flash player working, but obviously at the expense of updates via the Ubuntu repositories. I’m now happy to report that I have Flash player working from the repositories. Here’s how to do it: 

  • Go to System -> Administration -> Software Sources and check the “Software restricted by copyright or legal issues (multiverse)” box.
  • Click on the Other Software tab and ensure that http://archive.canonical.com/ubuntu lucid partner entry exists. Your settings should look like the following images:
       Software Sources                                     Software Sources
    Software Sources                                               Software Sources
  • Click Close and allow  the repositories to update.
  • Now download and run this shell script, which will purge any  changes made by the previous previous shell script or attempted installations. It will then install Flash from the correct repository. To do this:
    • Extract the file to your home directory.
    • Open a Terminal window and type:
    chmod +x ~/new-64bit-flash-installer.sh
    ~/new-64bit-flash-installer.sh
  • Allow this to complete, and you should have a fully working 64-bit Flash player, which will be updated by the repositories.

 

Filed under  //   64-bit   flash   install   ubuntu  

Comments [0]

Getting Sound Working Properly on Ubuntu 9.10 karmic

killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound esound-clients libao2
sudo rm /etc/X11/Xsession.d/70pulseaudio

Filed under  //   tech   ubuntu  

Comments [0]

no more typing passwords on sudo :) ...thanks @adamheinz

sudo /usr/sbin/visudo
and add this line
username ALL=(ALL) NOPASSWD: ALL

Filed under  //   linux   passwd   sudo   tech   ubuntu  

Comments [0]