Apr 302008
 

apple heronSome days ago I upgraded my Gibbons to Heron and I had to change some small thing to make everything work well.

First of all I had to change xorg.conf to make my touchpad works again, I think it is a problem related to the last realease of xorg, not to ubuntu.

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
# Option “AlwaysCore” “on”
Option “SendCoreEvents”
# Option “Device” “/dev/input/touchpad”
Option “Protocol” “auto-dev”
Option “LeftEdge” “10”
Option “RightEdge” “1120”
Option “TopEdge” “10”
Option “BottomEdge” “1050”
Option “FingerLow” “10”
Option “FingerHigh” “20”
Option “MaxTapMove” “220”
Option “MaxTapTime” “180”
Option “MaxDoubleTapTime” “250”
Option “MaxTripleTapTime” “250”
Option “SingleTapTimeout” “150”
Option “VertScrollDelta” “20”
Option “HorizScrollDelta” “50”
Option “VertTwoFingerScroll” “true”
Option “HorizTwoFingerScroll” “true”
Option “FastTaps” “false”
Option “TapButton2” “3”
Option “TapButton3” “2”
Option “MinSpeed” “0.1”
Option “MaxSpeed” “0.9”
Option “AccelFactor” “0.3”
Option “SHMConfig” “on”
EndSection

The second problem was orginated by wi-fi card. Obviously I had to recompile madwifi driver for the new kernel, but this time I followed a little different way.

sudo apt-get install build-essential subversion autoconf automake
svn co http://svn.madwifi.org/madwifi/trunk madwifi
cd madwifi
make
sudo make install-modules
echo -e ‘#!/bin/sh\n/sbin/iwpriv ath0 bgscan 0’ | sudo tee -a /etc/acpi/resume.d/99-madwifi-bgscan.sh
sudo chmod 755 /etc/acpi/resume.d/99-madwifi-bgscan.sh

Now I am using kubuntu with kde4 on my mbp and I think it is quite good even if kd4 still suffers of a lot of problems. But it is usable and I always like to try different and innovative things.

 Posted by at 23:27 - 019
Nov 272007
 

I miei gusti musicali sono strani, lo so, ma che volete farci. Di conseguenza è impossibile per me riuscire a trovare una suoneria per il cellulare vche non sia fastidiosa, anche se la suoneria migliore è sempre il buon vecchio squillo telefonico. Però lo squillo telefonico è un po’ troppo retrò, ogni tanto bisogna cambiare e allora ecco che mi ritrovo a dover convertire degli mp3 in aac. (Il formato audio compresso utilizzato su molti ceullari)

Il metodo più comodo per me è questo:

sox -i titolo.mp3 -t wav – | faac -q 75 -o titolo.aac –

sox converte da formato mp3 a wav buttando però l’output invece che in un file sullo standard out (opzione – subito prima del pipe, output che viene raccolto da faac nello stabdard input (opzione – in fondo al comando) e convertito in aac

Se invece volete editare il file, magari tagliarne qualche pezzo, lo potete fare graficamente in audacity, scegliendo poi si esportare utilizzando un programma esterno e immettendo nelle ozioni questa riha di comando:

faac -q 75 -o “%f” –

In questo modo esporterete direttamente in formato aac con qualità 75

 Posted by at 16:35 - 733
Nov 222007
 

Accessing your OS X home from GNU/Linux

To have complete access to your OS X home you need to have the same uid and gid ib both Linux and OS X.

Usually OS X assigns uid starting from 501, while (k)ubuntu assigns uid and gid starting from 1000. OS X gives the group staff (with gid 20) to all users.

Change your uid in OS X is quite simpe, but befor to do any change it is better create a new user with administrative rights, to be sure to be able to log in and administer your mac. Continue reading »

 Posted by at 23:26 - 018
Nov 162007
 

I forgot some other useful step to improve usabiity of your k|ubuntu on mac.

Mounting your OS X HD

First of all you have to find wich is the right HD parttion, for example using tools like QTParted. In my case the mac partition (HFS+) is sda2

Then you have to create a m ount point, for example /media/mac or everything else you want to use.

Now it’s time to try if you can mount the partition giving this command in your shell:

mount -t hfsplus -w /dev/sda2 /media/mac/

Now you should be able to access the OS X partition.

If you want to have the partition mounted at boot time you have to modify your fstab.

Find the uuid of your partition typing as root:

vol_id -u /dev/sda2

Then edit /et/fstab (as root) adding a line like this:

UUID=12345 /media/mac hfsplus defaults,rw,force 0 0

(Don’t type 12345 but the UUID you get from vol_id)

Now you can access your mac partition in read write mode.

 Posted by at 14:19 - 638
Nov 112007
 

HowIdidIt

Some easy steps to install kubuntu (ubuntu) on Mac

(This is a not complete tutorial, only a track of what I did to put LInux on my mac)

First of all I didn’t invent anything, I simply followed some good tutorials I found on the net, but i want to put all together here.

Step 0) Do a complete backup before to proceed, because you could loose all your data, now that you are advised… go on Continue reading »

 Posted by at 23:33 - 023