Archive for the 'Mac' Category
Yesterday night I tried to connect the iPod to Linux. I tried some programs but none was working decently; but the good news is that you don't really need any special program "made for iPod" to do this.
For the guys who do not know about iTunes and iPod/iPhone foolishnesses, the problem is that when [...]
Suspend/Resume in Karmic /2
7 Comments Published by Luigi November 25th, 2009 in Linux, Hardware, MacPreviously I wrote that suspend/resume was not working in Karmic on my MacBook Pro 5.1, and I posted a solution. Now I found a better solution from the Apple Users forum on Ubuntu. The advantage is that with this fix, the suspend/resume is much faster.
First you need to revert the change I suggested previously.
Then... (copied [...]
Suspend/Resume problem in Ubuntu Karmic 9.10 running on MacBook Pro 5.1
8 Comments Published by Luigi November 20th, 2009 in Linux, Hardware, Mac, ErrorsI updated today from Jaunty to Karmic and, as effect, I had Suspend/Resume/Hibernate broken. But reboot and shutdown works; before with Jaunty the reboot was frequently crashing.
To fix the Suspend/Resume, I modified /boot/grub/menu.lst to add the kernel option acpi=noirq
Example:
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 5daec709-2655-4d7c-9968-969143e31fbd
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=5daec709-2655-4d7c-9968-969143e31fbd ro quiet splash acpi=noirq
initrd /boot/initrd.img-2.6.31-14-generic
quiet
Other problem I found during the distro upgrade:
sound is [...]
MacBook International Keyboard and Linux
0 Comments Published by Luigi September 3rd, 2009 in Linux, Hardware, MacI bought my Mac with the "International Keyboard". Which layout should you use on Linux?
The keyboard layout looks like this one:
As far as I know the "USA Macintosh" is the one that fits better, but still you have the §± and `~ keys inverted. To fix this I've added to Gnome Session Startup this [...]
Mighty Mouse: reverse horizontal scrolling workaround on Ubuntu Linux 9.04
0 Comments Published by Luigi September 1st, 2009 in Linux, MacThe reverse horizontal scrolling problem is due to some old compatibility quirk on Apple's mouse that was using reversed scroll, and the problematic code is still there in newer kernels. See the bug: 291408.
If your mighty mouse scroll ball is horizontally reversed, it can be solved in this way:
- open file /var/lib/bluetooth/xx:xx:xx:xx:xx:xx/did
- change yy:yy:yy:yy::yy:yy 0002 [...]
Skype 2.1.0.47 beta released, and amd64 packages available!
0 Comments Published by Luigi August 31st, 2009 in Linux, Software, MacSince the 24th of August a new beta of Skype is available.
Some little look and feel changes, contact groups support, nothing really new, except for the native 64bit support. And I hope it will be more stable.
Download it from here: http://www.skype.com/download/skype/linux/
I updated it because the old 32bit version recently is very unstable on my system. [...]
Talking on Skype with two friends (we'll call them "I" and "B"):
Luigi: try this:
$ gnome-screenshot --interactive
B: If I had linux
I: nice, but the PrtSc key works as well
…in combination with Alt it captures only the active window
Luigi: the same for Windows, but you do not have PrtSc on a MacBook...
… you just press apple-alt-ctrl-shift-fn-5
… [...]
Google Chrome on OSX and Linux: it’s Crossover Chromium
0 Comments Published by Luigi June 26th, 2009 in Linux, MacGoogle Chrome is a fast and secure browser, enhanced for web 2.0 applications, available on Windows systems since long time now. Recently it has been published a Linux and OSX port, using Crossover, and it's freely downloadable. It has been called Crossover Chromium, see the FAQs. It's not a "production" browser, but just a [...]
Very shortly:
$ cd # go in your home folder
$ vim .vimrc # edit your preferences for vim
...add following line at the end of the file and save:
syntax on
...if still it doesn't work add also this line:
set term=ansi
Now vim should [...]
It seems that man pages on OSX are misaligned with the commands sometime.
Example:
From
$ man ps
I read:
-e Identical to -A.
But look how identical they are:
luigi@noname:~$ ps -e
PID TT STAT TIME COMMAND
12332 s000 S+ [...]
Search
About
You are currently browsing the NewInstance weblog archives for the 'Mac' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
Archives
- January 2010 (2)
- December 2009 (1)
- November 2009 (3)
- September 2009 (2)
- August 2009 (4)
- July 2009 (1)
- June 2009 (2)
- May 2009 (4)
- April 2009 (2)
- March 2009 (7)
- February 2009 (5)
- January 2009 (2)
- December 2008 (1)
- November 2008 (8)
- October 2008 (12)
- September 2008 (3)
- August 2008 (2)
- July 2008 (6)
- June 2008 (16)
- May 2008 (2)
- April 2008 (3)
- March 2008 (6)
- October 2007 (1)
- September 2007 (1)
- August 2007 (5)
- July 2007 (6)
- June 2007 (6)
- May 2007 (1)
- March 2007 (1)
- February 2007 (2)
- January 2007 (1)
- December 2006 (2)
- November 2006 (4)
- October 2006 (7)
- September 2006 (1)
- August 2006 (2)
- July 2006 (6)
- June 2006 (3)
- February 2006 (1)
- January 2006 (1)
- December 2005 (5)
- November 2005 (2)
- October 2005 (2)
- September 2005 (7)
- August 2005 (2)
- July 2005 (8)
- June 2005 (12)
Categories
- Books (7)
- Eclipse (10)
- Errors (2)
- Firefox (7)
- Hardware (14)
- Horror Code (8)
- Internet (17)
- Java (85)
- JavaScript (8)
- Life, universe and everything (29)
- Linux (44)
- Mac (18)
- Software (25)
- Speeches and Conferences (8)
- Web (19)
- Windows (16)
Latest
- Syntactic sugar and Java arrays.
- 3G USB Stick on Ubuntu
- Ipod touch with Linux
- Karmic and Luks: USB drive encryption made (almost) easy
- Suspend/Resume in Karmic /2
- Suspend/Resume problem in Ubuntu Karmic 9.10 running on MacBook Pro 5.1
- MacBook International Keyboard and Linux
- Mighty Mouse: reverse horizontal scrolling workaround on Ubuntu Linux 9.04
- Skype 2.1.0.47 beta released, and amd64 packages available!
- Linux RAM Disks

