The Unix getent command does not exist in OSX. Starting from 10.5 (Leopard), the administrative databases have changed from Netinfo to DirectoryService, and the main tool for looking things in DS is dscl (see also this article at afp548.com).
For example, to query a user by UID with getent, you would run:
getent passwd <uid>
With dscl, you [...]
[Read more →]
Tags: Linux · Mac · Tips & tricks · unix
Gnome has a button that you can add to a panel to show/hide the
desktop, but there doesn’t seem to be a way to bind that action to a
key. Today I learned about the wmctrl program, which
can perform many window-manager operations, so I put together this
simple script which toggles the “show the desktop” state:
#!/bin/bash
# Toggle the [...]
[Read more →]
Tags: Linux · Tips & tricks
Version 2.0-gamma of Thinking Rock has been released for Linux. I have written an ebuild for it, you can find it here: https://bugs.gentoo.org/show_bug.cgi?id=154978.
[Read more →]
Tags: GTD · Linux · Productivity · Software
I have been wanting to learn Ruby, and
I recently started playing with FUSE, for
creating file systems in user space in Unix.
And a couple of days ago, Marcel asks
me if I knew of any blogging client that would allow complete offline
editing of the posts as files, and then synchronize them. That was
enough to plant the seed [...]
[Read more →]
Tags: Blogging · Linux · Programming
October 22nd, 2006 · 1 Comment
I recently managed (accidentally, just by upgrading X.org) to get accelerated graphics working on my T43p Thinkpad running Gentoo. So now I get all the nice Xscreensaver GL hacks running at full speed - with one little problem: I have my system configured for dual-head mode (internal screen and external monitor) using MergedFB, with both [...]
[Read more →]
Tags: Linux · Tips & tricks
Thanks to the always-useful Thinkwiki, I am now able to hot swap the Ultrabay in my T43p, which makes it possible to exchange, for example, the DVD-RW drive for an additional hard disk, without having to reboot or even put the machine to sleep. Essentially, just follow the instructions on Thinkwiki, which boil down to [...]
[Read more →]
Tags: Linux · Tips & tricks
I recently reinstalled Gentoo Linux on my Thinkpad, using a second disk, with my old disk mounted in the UltraBay slot. I found that I could not enable DMA on the old disk, which made most operations (for example, copying my quite large home directory) unbearably slow. I just found the solution in the always-useful [...]
[Read more →]
Tags: Linux · Tips & tricks
Evolution 2.6.1 had been driving me mad recently - every few minutes, CPU utilization would go up to 100% for about 20 seconds, slowing down everything in my system, and then go back to normal. Today I found the cause: I had enabled “Periodically synchronize contact information and images from gaim buddy list” (in Mail [...]
[Read more →]
Tags: Linux · Tips & tricks
Some time ago I switched my server (a G4 Mac) from MacOSX to Gentoo Linux. In the process, the secondary internal disk (where I keep the mail storage, among other things) remained formatted as HFS+, because it made the transition easier. However, I kept having problems with it. For example, if the machine shut down [...]
[Read more →]
Tags: Computing · Linux · Mac