Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

2009-11-17

Ubuntu 9.10 can not recognize intel sound card

At my LG P1 with an Intel sound card (Realtek ALC888 Intel 82801), after upgrading to Ubuntu 9.10 Karmic Koala, i had no sound.
The sound card wasn't even detected!

After running Google for a FEW hours, i discovered how to put the sound working without had to:
qaz@blue:~$ sudo alsa force-reload
or any other command.

Step1:
$ sudo apt-get remove sl-modem-daemon
Step2:
$ sudo apt-get install linux-backports-modules-alsa-karmic-generic
Step3:
$ sudo gedit /etc/modprobe.d/alsa-base
And add:
options snd-hda-intel model=lg # for other brands: search google with "options snd-hda-intel model="; try laptop; And/or visit this page.
Then reboot!


Tags:
qaz@blue:~$ lspci
(...)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
(...)


qaz@blue:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 

2008-09-17

MPD: Music Player Daemon

About:

Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. MPD is designed for integrating a computer into a stereo system that provides control for music playback over a local network. It also makes a great desktop music player, especially if you are a console junkie, like frontend options, or restart X often.

@ MPD homepage

Overview:

I wont explain what it is - everyone knows it's a media player - ops i just did it.
I'm here to show you how to install it. It can be a little bit confusing.

Installation/Configuration:

# apt-get install mpd sonata
Now, the hard tash. It's necessary to configure mpd before any use of it. To start, edit the file /etc/mpd.conf. I recomend to make a backup copy just in case.
# cp /etc/mpd.conf /etc/mpd.conf.backup
# nano /etc/mpd.conf

  1. REQUIRED PATHS & OPTIONAL PATHS
    In this step it's necessary to configure the respective directories where are locatedyour music files. In the field music_directory add your music's directorie (it's only to possible to add one) and in the rest cpy the exemple.
    ######################## REQUIRED PATHS ########################
    # You can put symlinks in here, if you like. Make sure that
    # the user that mpd runs as (see the 'user' config parameter)
    # can read the files in this directory.
    music_directory “/home/os.meus.documentos/music”
    playlist_directory “~/.mpd/playlists”
    db_file “~/.mpd/tag_cache”
    log_file “~/.mpd/mpd.log”
    error_file “~/.mpd/errors.log”
    pid_file “~/.mpd/pid”

    ################################################################
    #
    ######################## OPTIONAL PATHS ########################
    #
    # If specified, MPD will save its current state (playlist,
    # current song, playing/paused, etc.) at exit. This will be
    # used to restore the session the next time it is run.
    #
    state_file “~/.mpd/state”
    #
    ################################################################
  2. DAEMON OPTIONS
    Add you user(in my case it's qaz) in the field user. Uncomment the rest.
    ######################## DAEMON OPTIONS ########################
    #
    # If started as root, MPD will drop root privileges and run as
    # this user instead. Otherwise, MPD will run as the user it was
    # started by. If left unspecified, MPD will not drop root
    # privileges at all (not recommended).
    #
    user “qaz”
    #
    # The address and port to listen on.
    #
    bind_to_address “localhost”
    port “6600″

    #
    # Controls the amount of information that is logged. Can be
    # “default”, “secure”, or “verbose”.
    #
    log_level “default”
    #
    ################################################################
  3. AUDIO OUTPUTS & MIXER
    Uncomment the the text lines wich represent your audio output. Im my case it's alsa.
    ########################## AUDIO OUTPUT ########################
    #
    # MPD supports many audio output types, as well as playing
    # through multiple audio outputs at the same time. You can
    # specify one or more here. If you don't specify any, MPD will
    # automatically scan for a usable audio output.
    #
    # See
    # for examples of other audio outputs.
    #
    # An example of an ALSA output:
    #
    audio_output {
    type “alsa”
    name “My ALSA Device”

    # device “hw:0,0″ # optional
    # format “44100:16:2″ # optional
    }
    #
    # An example of an OSS output:
    #
    #audio_output {
    # type “oss”
    # name “My OSS Device”
    # device “/dev/dsp” # optional
    # format “44100:16:2″ # optional
    #}
    #
    # An example of a shout output (for streaming to Icecast):
    #
    #audio_output {
    # type “shout”
    # name “My Shout Stream”
    # host “localhost”
    # port “8000″
    # mount “/mpd.ogg”
    # password “hackme”
    # quality “5.0″
    # bitrate “128″
    # format “44100:16:1″
    # user “source” # optional
    # description “My Stream Description” # optional
    # genre “jazz” # optional
    # public “no” # optional
    #}
    #
    # Force all decoded audio to be converted to this format before
    # being passed to the audio outputs.
    #
    #audio_output_format “44100:16:2″
    #
    ################################################################
    #
    ############################# MIXER ############################
    #
    # MPD needs to know what mixer settings to change when you
    # adjust the volume. If you don’t specify one here, MPD will
    # pick one based on which ones it was compiled with support for.
    #
    # An example for controlling an ALSA mixer:
    #
    mixer_type “alsa”
    mixer_device “default”
    mixer_control “PCM”

    #
    # An example for controlling an OSS mixer:
    #
    #mixer_type “oss”
    #mixer_device “/dev/mixer”
    #mixer_control “PCM”
    #
    # If you want MPD to adjust the volume of audio sent to the
    # audio outputs, you can tell it to use the software mixer:
    #
    #mixer_type “software”
    #
    ################################################################
  4. OTHER OPTIONS
    Uncomment this two lines:
    ######################### OTHER OPTIONS ########################
    #
    # The metadata types MPD will recognize.
    #
    metadata_to_use “artist,album,title,track,name,genre,date,composer,performer,disc”
    #
    # Enable this if you wish to use your MPD created playlists in
    # other music players.
    #
    save_absolute_paths_in_playlists “no”
    #
    ################################################################
  5. Outher configurations
    Stay as they are. To avoid any doubts,here is my final result.

Now, add your user( mine is qaz) at mpd group (can't explain why this step).

# groupadd mpd
# gpasswd -a qaz mpd

Make sure the folder ~/.mpd doesn't need root privileges.

To create data base (this can take a while):
$ mpd --create-db
In this moment we have mpd completed instaled and configurated.
$ mpd

Frontend:

We still need a frontend. I choose Sonata.

Sonata is an elegant GTK+ music client for the Music Player Daemon (MPD).

@ Sonata Homepage

Sonata's Screenshot. Click in the image to see more pics.

Sonata also needs some configuration. But first let us open it:
$ sonata
Go to Preferences, in the tab MPD add you datasi. My case:

  • Name: qaz
  • Host: localhost
  • Port: 6600
  • Password: (em branco)
  • Music dir: /home/os.meus.documentos/music/

If necessary kill both process (killall) e start mpd & sonata again.

References:
» Techzone/Zwame
» ArchLinux Wiki
» MPD homepage

My files:
» http://dotfiles.org/~uterrorista/%2Fetc%2Fmpd.conf

FeedBack:
Have a question? Please submit a comment :P

2008-04-14

One step forward, two steps back

In Feisty, agere et131x - Ethernet card of my LG P1 - was automatically installed.
Today with Hardy 8.04 and new versions of kernel, there is no 'out of the box'!

One step forward, two steps back! Hrr

To install it:

Download et131x-1.2.3-2.tar.gz (or more recent ) here.

$ sudo apt-get install build-essential linux-headers-$(uname -r)
go to the unpackaged et131x folder
$ make
$ sudo make modules_install
$ insmod et131x.ko
$ sudo depmod
$ sudo modprobe et131x


There might me some errors... close your eyes!
Reboot.

The audio card - Realtek LC880 - was never fixed. I only have audio on phones!

Create new file:
$ sudo gedit /etc/modprobe.d/snd-hda-intel
Paste and save:
options snd-hda-intel model=lg
Reboot!

Links:
»Drivers: et131x

2008-03-07

Set the battery in conky correctly

Configure the battery at Conky can be a nightmare looking for this solution at web 'cus there isn't very information about it. I already had this problem...


ACPI battery number is given as argument, at 'funtions' battery, battery_bar and battery_percent. By default the argument is BAT0. But if it doen't work, let's find out the correct argument:

  • Open the terminal and type:
$ ls /proc/acpi/battery

  • There can be various kind of output:
CMB0
BAT1
BAT0
...etc

My output was: CMB0

  • Open the .conkyrc file and edit to (examples):
${battery CMB0}
${battery_bar CMB0}
${battery_percent CMB0}


Obviously, replace CMB0 with the output you received earlier.

2008-02-17

My fonts @ Arch Linux

Screenshot:



Need to install:

pacman -S artwiz-fonts ttf-ms-fonts
# artwiz-fonts is not really necessary but is a 'nice pack'.


Attention:
Installing ttf-ms-fonts gives me a damm big bug! My fonts at the login became huge. Size 100 at lest. Use at you own risk...

2008-02-16

Yaourt

What is it?
"A pacman frontend for Archlinux"
Yaourt is a command line interface program which complete pacman for installing software on Archlinux. Written by Julien Mischkowitz.

Screenshots:



Installation:
  • Edit:
    # nano /etc/pacman.conf
  • And add:
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686

    Or
    [archlinuxfr]
    Server = http://repo.archlinux.fr/x86_64
  • Update & install:
    # pacman -Sy yaourt
Yaourt + sudo:
  • Edit:
    # nano /etc/sudoers
  • Edit it to something like this:
    # User alias specification
    User_Alias POWERUSER=user

    # Cmnd alias specification
    Cmnd_Alias YAOURT=/usr/bin/pacman, /usr/bin/pacdiffviewer

    # User privilege specification
    root ALL=(ALL) ALL
    POWERUSER ALL=(ALL) YAOURT
Utilization:
  • Search and install
    yaourt [keywords]: quick search + install
    yaourt -S [packages] : install package, Compile it from AUR if needed
    yaourt -Ss [keywords] : search on repos and on AUR (with notice for already installed packages)
    yaourt -Sb [packages] : install a packages by compilation from sources (abs)
    yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
    yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
    yaourt -Qo [progname] or [filename] : shows the package which provides the program or the file
  • Updgrade:
    yaourt -Syu : complete update and upgrade of the system (onlys from repos)
    yaourt -Syu --aur : complete update and upgrade, even for packages coming from AUR
    yaourt -Sybu --aur : complete update and upgrade by compilation of all packages (repos and AUR)
    yaourt -Su --devel : update and upgrade of cvs/svn/mercurial/git packages
  • Cleaning:
    yaourt -C : editing and merging of .pacnew/.pacsave
    yaourt -Cc : removal of all .pacnew/.pacsave
    yaourt -Qt : search for orphaned packages
    yaourt -Cd : search for obsolete repos
  • Other options:
    --export [directory] : exports compiled packages for gensync
    yaourt -S --aur [packages] : forces compilation from AUR for a packages which is also in repos
    yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
    yaourt -B : backup the pacman database
Read more at:
» http://archlinux.fr/yaourt-en/
» http://wiki.archlinux.fr/howto:archlinux:yaourt

2008-02-06

Java + Compiz

Start by downloading this patch for the jre engine, and then move it to the path of the folder and uncompress it.

$ cd /path/of/the/patch/
$ tar -xf patch.tar
$ cd patch


Now You will do a backup off rt.jr. Usually the path to rt.jr is /usr/lib/jvm/java-6-sun/jre/lib/. I suppose that you are using the latest sun java version.

$ sudo cp /usr/lib/jvm/java-6-sun/jre/lib/rt.jar /usr/lib/jvm/java-6-sun/jre/lib/rt.jar.old
$ sudo cp /usr/lib/jvm/java-6-sun/jre/lib/rt.jar rt.zip



Now you will apply the patch:

$ zip -f rt.zip sun/awt/X11/*
$ sudo cp rt.zip /usr/lib/jvm/java-6-sun/jre/lib/rt.jar


After that you will be able to run any application who use java, like mercury messenger.

2008-01-05

Solution for Compiz + Matlab

  • * You only need to edit the matlab bin file by paste just after the "#!/bin/sh" command:
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/
  • You will find the matlab bin file on:
/path to matlab/bin/matlab
  • Now edit matlab bin file:
$ gedit /path to matlab/bin/matlab
  • The result after editing the file would be something like this:
#!/bin/sh
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/
#
# Name:
# matlab script file for invoking MATLAB
#
bla bla bla

  • Save and run Matlab ;)

2007-12-17

Alias - how to

Definition (alias [ˈeiliəs] noun):
a false name

Example: What alias did the crook use this time?
Arabic: إسْم مُسْتَعَار
Chinese (Simplified): 化名
Chinese (Traditional): 化名
Czech: falešné jméno
Danish: alias; dæknavn
Dutch: alias
Estonian: valenimi
Finnish: peitenimi
French: faux nom
German: der Deckname
Greek: ψευδώνυμο
Hungarian: álnév
Icelandic: falskt nafn, tökuheiti
Indonesian: nama palsu, nama lain
Italian: pseudonimo

Japanese: 偽名, 通称
Korean: 별명
Latvian: pieņemts vārds
Lithuanian: slapyvardis, pravardė
Norwegian: dekknavn
Polish: pseudonim, fałszywe nazwisko
Portuguese (Brazil): pseudônimo
Portuguese (Portugal): pseudónimo
Romanian: supranume
Russian: кличка; прозвище
Slovak: falošné meno
Slovenian: lažno ime
Spanish: seudónimo
Swedish: alias
Turkish: sahte a
source: dictionary.com


Alias command definition:

Alias is a built-in shell command that allows you create shortcuts/synonyms for other shell commands.

How to make an alias:
  • Sintax
alias [name=['command']]
  • example - make an alias for clear command:
$ alias cl='clear'
  • description: now when you type cl at your terminal, is the same thing as type clear. This can be used for more and/or long stings..
  • other alias:
$ alias p='pwd'

$ alias x="exit"

$ alias folderx='cd /home/your_user/Desktop/folderx'


How to remove an alias:

  • Sintax
unalias [alias_name]
  • example - remove an alias for clear command:
$ unalias cl

Note:

When the computer is rebooted all alias will be lost.
How to prevent it? All alias must be added to .bashrc file located at your user folder (example: /home/uterrorista/.bashrc)
  • example:
$ gedit /home/uterrorista/.bashrc
  • paste:
alias cl='clear'
etc...
  • now you have to 'compile' your .bashrc file
$ source .bashrc
  • Now cl alias it's saved..
My tutorial:

Make an alias to create other alias..
  • Edit .bashrc
$ cd
$ gedit .bashrc

  • and paste (replace your_user_name with your nick session):
## Add new alias and compile i
alias aalias='gedit /home/
your_user_name/.bashrc && source /home/your_user_name/.bashrc'
  • compile
$ source .bashrc
  • Now you can add the alias you want just simple doing:
$ aalias
  • add (for example. you can make now your desired alias):
## One folder up
alias up='cd ..'

## Clear screen
alias cl='clear'

alias ff='find . -name $*'
alias untar='tar zxvf'
alias p='pwd'

alias ls="ls --color=auto"
alias ll="ls -l --color=auto"
alias la="ls -l -a --color=auto"

alias x="exit"

alias compilar='sudo ./configure && sudo make && sudo make install'

alias apti='sudo apt-get install'
alias aptud='sudo apt-get update'
alias aptug='sudo apt-get upgrade'

alias aptar='sudo apt-get autoremove'
alias aptr='sudo apt-get remove'

alias aptc='sudo apt-get clean'
alias aptac='sudo apt-get autoclean'


function today {
echo "Today's date is:"
date +"%A, %B %-d, %Y"
}


  • Note: you if have noticed i have a function on my .bashrc file - function today. To run it type: today.
  • to remove an alias: just edit the .bashrc file (aalias) and remove/delete the alias you don't need anymore..
Be free to submit a comment and post your alias..

2007-12-08

Bluetooth @ ubuntu - kdebluetooth/kbluetooth

I've some difficulties connecting my Nokia 6820 to the Laptop (maybe it was just my ignorance...)
And know i've a band new Sony Ericsson M600i.

The question survived : How to send files to my phone?

I was using the default gnome bluetooth manager... That was not enough..
I did some research and found out that Kde bluetooth manager was (much) better.

Screenshots



How to use

  • Launch kbluetooh
    An icon will appear at Notification area.
  • Click and you'll get the window previously showed..
    Then the Computer will automatically scan for bluetooth devices(e.g: M600i.box). Remember to turn on your bluetooth's phone.
  • Click on M600i.box icon, then File transfer/Obex File Transfer.
  • Now check your mobile phone. A message asking permission to pair the phone with computer should pop up. Accept it. And enter 'pair code'. At your computer will pop up a window asking the same 'pair code'.
Now you have the two devices are paired. You can explore your mobile content. Copy/Drag files wherever you want to.
Note: depending your mobile phone model you'll still need to check your phone to accept the connection everytime you explore a different folder at your computer.


Install
  • Direct link:
install
  • or console:
sudo apt-get install kdebluetooth

  • Note: you will need to install konqueror and obexftp at least..
    Don't know if any more dependences are necessary because I've KDE installed on my computer.

2007-11-11

Gnome-art

Today I found a very simple way to personalize our Gnome.
I've discovered Gnome-art.

Screenshot:



Description:
This is the graphical frontend for art.gnome.org. Backgrounds and all themes can be downloaded and previewed. Backgrounds, icon themes and splash screens can be installed directly.

Under the menu Art we can find:
> Backgrounds
>> Gnome
>> Other
>> All

> Desktop theme
>> Application
>> Window Border
>> Icon

> Other Themes
>> Login Manager
>> Splash Screens
>> GTK + Engine


Instructions:
Just select one of the Art's categories. Then gnome-art starts caching thumbnail previews. Now we can choose, preview and install whet we want/like. Very simple to use.
Note: Caching thumbnails can take some minutes.

Installing (3 methods)
  • (1)direct link
install
  • (2)console
$ sudo apt-get install gnome-art
  • (3)synaptic package manager
gnome-art


2007-10-12

Open DNS

> Open DNS

The Domain Name System (DNS) is fundamental to the Internet. You use the DNS every time you do anything online including sending email and browsing the Web. Most networks use the DNS provided by their ISP or run their own small DNS server. OpenDNS is better.

"OpenDNS allows us to easily block unwanted sites and provide a safer, more productive environment. It has a smart interface that provides granularity of control across multiple connections, and the statistics are easy to use and provide insight into our DNS traffic."
— Terrell Johnson , Network Administrator , Sunsweet

> Intall
  • STEPS:
$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
$ sudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers 208.67.222.222,208.67.220.220;
# save and exit
$ sudo ifconfig eth0 down && sudo ifconfig eth0 up
#note: in your system may not be
'eth0' for example in my PC it is eth1.

url: link


2007-07-01

NetworkManager in systray

When NetworkManager's icon doesn't appear in systray (a.k.a Notification Area) you can add it yourself.
(I think it works on all desktop environments)
  • Go to:
Applications » Settings » Sessions
  • Click 'add' and type:
Name e.g: 'Networkmanager'
Command put: 'nm-applet –sm-disable &'
  • And now restart X (ctrl+alt+backspace)

2007-06-28

Touchpad - Configure it!

Feisty Fawn lacks the ability to personalize the Synaptics Touchpad. Here are a few tips. These can be also applied to other distros.

Backup xorg.conf
  • First of all, backup your xorg.conf
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup


Enable/Disable Touchpad
  • Edit you xorg.conf
$ sudo gedit /etc/X11/xorg.conf
  • find «Identifier "Synaptics Touchpad"» and change it to: ("SHMConfig" "true")
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "true"
EndSection
  • Disable: (go to terminal and type:)
$ synclient TouchpadOff=1
  • Enable:
$ synclient TouchpadOff=0

Disable Touchpad while typing
It's annoying when a person is typing and touch accidentally in the touchpad. This tip disables the touchpad for 'x' seconds when you press a key. It needs the configuration(xorg.conf) carried through in the previous tip to work.
  • Go to terminal and type: (disables touchpad for 1 second)
$ syndaemon -i 1 -d

visit syndaemon page for more info

Gsynaptics
Gsynaptics allows to configure your Touchpad. It enables/disables touchpad/tapping and configure scroll movements.
(click on screenshot to enlarge)
  • Install:
$ sudo apt-get install gsynaptics
  • Run at terminal:
$ gsynaptics
  • Or go to System » Preferences » Touchpad

Note: for KDE » ksynaptics

Add these tips to startup
If you like some of these tips, and you pretend to use it every time, just add it to start up.
  • Go to System » Preferences » Sessions:
Click New,
Name: 1sec touchpad
Code: syndaemon -i 1 -d

repeat procedure to any desire program..

2007-06-22

Compiz + Beryl = Compiz Fusion (repository)

Note: Fusion is a new project merging Compiz with Beryl.
Screenshot:


(click to enlarge)

To install:

  1. First remove compiz and beryl.
$ sudo apt-get remove beryl*
$ sudo apt-get remove compiz*


  1. Open Terminal and edit sources.list:
$ sudo gedit /etc/apt/sources.list
  1. Add to file:
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
  1. Save and get back to Terminal and type:
$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get install compiz-#gnome or kde
$ sudo apt-get install compizconfig-settings-manager
$ sudo apt-get install compizconfig-backend*
$ sudo apt-get install compiz-fusion-*
  1. Remove the existing directories
$ rm -fR ~/.beryl*
$ rm -fR ~/.emerald*
$ rm -fR ~/.compiz*
  1. Run Compiz
$ compiz --replace

Post update: 16.00 - 2007Jun25

Add Compiz Fusion to startup:
  1. Go to System » Preferences » Sessions and add:
compiz --replace

Edit: 22.00 - 2007Jun25

2007-06-10

TLS problems

TLS does not seem to work and I have tcl/tk 8.5. How can I fix it ?
  • Open Terminal and type:
$ sudo gedit /usr/lib/tls1.50/pkgIndex.tcl
  • and change the line :
"package ifneeded tls 1.5"
  • to
"package ifneeded tls 1.50"

2007-06-02

A Better Looking Firefox



  • Open the Terminal and type:
$ wget http://users.tkk.fi/~otsaloma/art/firefox-form-widgets.tar.gz

$ tar -xvzf firefox-form-widgets.tar.gz

$ sudo cp /usr/lib/mozilla-firefox/res/forms.css /usr/lib/mozilla-firefox/res/forms.css.bak

$ cat firefox-form-widgets/res/forms-extra.css | sudo tee --append /usr/lib/mozilla-firefox/res/forms.css > /dev/null

$ sudo cp -r firefox-form-widgets/res/form-widgets /usr/lib/mozilla-firefox/res

$ rm -rf firefox-form-widgets
  • Reboot Firefox if open..

2007-05-29

Change your mouse cursor

Ubuntu comes by default with a 'classic' white cursor.
After a while it becomes boring. Let's change it!

Go to Gnome-Look and e.g. download the FedoraCore6 cursor.

Install mouse cursor:
  • Extract the zip/tar.gz content to the folder /home/'your username'/.icons
  • Then go to System » Preferences » Mouse
  • Go to Pointers tab (just like the picture) and select the new pointer/cursor.
If you know more cool cursors, please submit a comment.

2007-05-19

Did you liked my fonts at the previously post?

My fonts are:

To install Lucinda Grande font (Mac font):
  1. Go here and download them;
  2. Extract the zip content;
  3. Open Terminal and go to the folder that you extracted the zip content and type:
$ sudo mkdir /usr/share/fonts/truetype/ttf
$ sudo cp *.ttf /usr/share/fonts/truetype/ttf
$ sudo cp *.TTF /usr/share/fonts/truetype/ttf
  1. Then go to System » Preferences » Font and select the fonts/font_rendereing/size just like my image, if you wish so.
That's all...

Improved subpixel font rendering for Feisty

First of all, you can the final results:

Image Hosted by ImageShack.us

So, if you like it, let's start:
  1. Open a Terminal
  2. WindowType the following

$ sudo gedit /etc/apt/sources.list

  1. Add the following lines to the end of the file:
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts


for amd64 binaries use RAOF's repository:
deb http://raof.dyndns.org/falcon feisty experimental

deb-src http://raof.dyndns.org/falcon feisty experimental

  1. Save and Exit Gedit
  2. Run from the terminal window
$ sudo aptitude update
$ sudo aptitude install libfreetype6 libcairo2 libxft2

  1. Config: (my settings: Native, Automatic, No bitmapped)
$ sudo dpkg-reconfigure fontconfig-config
$ sudo dpkg-reconfigure fontconfig


Source/Support: Ubuntuforums.org