Talent Scout.

musica No Comments »
italiano

Again a cover of Apologize by OneRepublic played and sung by a beautiful girl from LosAngeles: Tamar. She’s 21 years old, she has good voice and she’s skilled to play the piano. With this cover, she won an award for the best Apologize’s cover in a competition made by OneRepublic. Have fun.

Links
youtube.com
myspace.com

, , , ,


Compiz wont start.

linux No Comments »
italiano

After an update of my Debian SID, Compiz wont start regulary. Trying some commands, i see the following errors:

acido@hp:~$ glxinfo
Error: glXCreateContext failed

acido@hp:~$ compiz --replace
Fatal: Failed test: texture_from_pixmap support
Checks indicate that it's impossible to start compiz on your system.

acido@hp:~$ compiz-check
Checking for texture_from_pixmap... [FAIL]
Checking for non power of two support... [FAIL]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]

I have an nVidia video card and I use the proprietary drivers (so i don’t know if the same things happens with Ati or Intel video cards) and these errors happens by an upgrade of xserver-xorg package. You have to recompile yours drivers and that’s all.

, , , ,


Talent Scout

musica 2 Comments »
italiano

This is the time of David Sides: he is a exceptional pianist that play all song that we could hear on radio or see on MTV by ear. For you the song Apologize by One Republic.

Links
youtube.com
myspace.com

, , ,


HOWTO - su, sudo and gentoo.

linux 3 Comments »
italiano

By default, in Gentoo, su and sudo commands don’t works for normal user. Let’s see how to enable them

SU command

If you try to use this command, you can read this error:

shaka@gentoo /home/shaka $ su
Password:
su: Permission denied
Sorry.

login as root and digit the following command (substitute username with your user)

gentoo # gpasswd -a username wheel

SUDO command

gentoo # emerge -tav sudo

gentoo # nano /etc/sudoers

in this file you have to insert a line for each user which all commands that you would allow users hosts = (run-as) commands
where
users: username,
hosts: use ALL,
commands: all commands that you would allow to a user with the absolute path (es: /usr/bin/emerge, /usr/bin/ebuild)

Some usefull link about sudo config

http://www.gentoo.org/doc/en/sudo-guide.xml
http://gentoo-wiki.com/Sudo_config

, , ,


Convert audio file.

linux 1 Comment »
italiano

I had to convert some audio files. I use Ubuntu 7.10, but i think it could be the same in other distribution.

Install “nautilus-script-audio-convert” (a nautilus script to convert audio files in some different formats)
root~:# apt-get install nautilus-script-audio-convert nautilus-script-manager

Enable script manager
user:~$ nautilus-script-manager enable ConvertAudioFile

Restart Nautilus
user:~$ killall nautilus

Now, if you right-click on an audio file, in the menu you can see Script -> ConvertAudioFile. It could return an error if you don’t have the right codec.

These are some link where you can find codecs for the main audio format.

* lame: encode/decode file mp3 and wav - lame.sourceforge.net
* oggenc (vorbis-tools): encode file ogg - www.xiph.org/downloads
* oggdec (vorbis-tools): decode file ogg - www.xiph.org/downloads
* mppenc: encode file mpc - www.rarewares.org/mpc.html
* mppdec: decode file mpc - www.rarewares.org/mpc.html
* faac: encode file aac - www.audiocoding.com
* faad: decode file aac - www.audiocoding.com
* flac: encode/decode file flac - flac.sourceforge.net

To install these packages could be necessary install some dipendences. I didn’t have any problem to finde them on the Official Ubuntu Repository.

, , , ,


HOWTO - Install Gentoo.

linux 4 Comments »
italiano

After a break, i’m come back!
I’ve decided to install Gentoo on my HP Pavilion dv6000 series and I’ll try to share with you my progress. Gentoo has tons of good documentation but could always happen something strange that the guides dont talk about. I hope to write some usefull things.

gentoo-logo

I’m started from Gentoo 2008.0 beta Minimal taht you could find here. Burn the ISO and restart your machine (check that the boot from CD is activated).
Now you need to follow step by step the guide at Gentoo website.

When you have to configure and compile the Kernel, if you would do it easily, use the follow command

livecd etc # genkernel --menuconfig all

It is designed to take the pain out of the kernel compiling process, and supports most hardware by default.

Helpfull Link

Howto fdisk

, ,


HP Pavilion and audio problems with Debian

linux 3 Comments »
italiano

I’ve an HP Pavilion notebook (mod. dv6115eu). I’ve installed Debian on it and, listen to music, I’ve tries to insert the jack headphone but the sound come out from speakers yet!

The solution is pretty easy. Download from alsa website the alsa-driver source package.
To compile it, we have to install the right packages before

root~:# apt-get install build-essential linux-headers-generic libncurses5-dev automake autoconf

Here: ftp://ftp.alsa-project.org/pub/driver/ you can find the last source packages.
Make a folder and donwload the source packages

Extract the package

user:~$ tar xjf alsa-driver-X.tar.bz2

Compile and install it

user~:$ cd alsa-driver-X
user~:$ ./configure
root~:# make && make install

Edit /etc/modules and insert at the end of it this kernel module: snd_hda_intel.
Save the file and reboot: the headphone could be work right now!

, , , , , , ,


AWN - Howto make your own .deb

linux No Comments »
italiano

Today i’ve updated my AWN repository

deb http://www.arearelax.org/awn/ ./

with new packages made from awn0.2.1 version taken from Bazaar’s repository.
I’ve thinked that it could be helpfull if I write how you can do your own packages.

First of all install the packages for compile AWN and the dipendencies packages :

root:~# apt-get install build-essential automake1.9 autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev python-gtk2-dev gnome-common python-dev python-cairo-dev python-gnome2-dev python-gnome2-desktop gnome-panel python-glade2 librsvg2-common cdbs gnome-pkg-tools gtk-doc-tools valac

install bzr:

root:~# apt-get install bzr

go on your home folder and download AWN source from Bazaar:

user:~$ bzr co lp:awn

join in the new folder

user:~$ cd awn/

and make the packages

user:~$ dpkg-buildpackage -rfakeroot

come back at your home ( cd .. ) and you can find all packages that you need to install AWN

root:~# dpkg -i *.deb

That’s all. Have fun!

, , , ,


Start VNC at Boot

linux No Comments »
italiano

Sometimes could be useful to manage a PC from a remote computer. To do it VNC maybe is one of the best solutions.

It’s good if VNC starts at PC’s boot.

Some easy steps:

root:~# apt-get install vnc4server vnc4-common

To start a program at boot we have to insert the command to run it in the /etc/rc.local file.

root:~#nano /etc/rc.local

and insert the following row before exit 0. (exit 0 must be always the last row)

su - user -c "/usr/bin/vnc4server :1 -geometry 1024x768 -depth 16 > /tmp/vncserver.log 2>&1 &" &

This command let start vncserver automatically at boot in usermode and on a Display different from the main display.
You have to substitute in that row USER with your user and you can customize the command vnc4server like it’s good for you.
If you would run other programs with VNC, you have only to add other rows in rc.local like the follow row

su - user -c "DISPLAY=:1 /usr/bin/gkrellm &" &

, , ,


Skype and Debian

linux 4 Comments »
italiano

I’ve found some trouble to find the DEB version of Skype but after some research, i’ve found the solution and it’s pretty easy:

acido:~# wget http://www.skype.com/go/getskype-linux-deb
acido:~# su
hp:~$ dpkg -i skype-debian_1.4.0.118-1_i386.deb

With wget you download the latest version of Skype for your distro, like root you do the installation and you have finished!

EDIT: If you use the URL above, instead the first:

http://www.skype.com/go/getskype-linux-beta-deb

you can download Skype 2 beta version with video support.
Thanks a lot to po3ts for the advice.

, ,


WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login