Obatron

Another obatron site on the web…

Browsing Posts in Technology

Fixing inability to shutdown/reboot from gnome menu

One of the updates seemed to disable my ability to shutdown or reboot my Gentoo box from the System menu. The fix was to modify the file /etc/dbus-1/system.d/ConsoleKit.conf.

I had to add the line:

<allow send_interface="org.freedesktop.ConsoleKit.Manager"
          send_member="GetSessions"/>

I added it just before the following line because organizationally it made sense to me, but it really shouldn’t matter as long as it’s within the <policy context=”default”> section.

<allow send_interface="org.freedesktop.ConsoleKit.Manager"
       send_member="GetSessionForCookie"/>

Had to reboot via a root login, and afterwards, everything seems to work as expected.

I’ve long wanted to sync my Adium chat logs across the computers I use. There have been numerous methods that were “meh” at best. But then I had the idea of just creating a Log folder in my Dropbox folder and linking the Adium Log folder to it. This is what I did:

  1. Quit Adium
  2. Start up a terminal
  3. Type “cd Library/Application\ Support/Adium\ 2.0/Users/Default/”
  4. Type “cp Logs/* ~/Dropbox/Logs”1
  5. Type “mv Logs Logs.orig”
  6. Type “ln -s ~/Dropbox/Logs .”

Now, I have not tested what happens when you have two instances of Adium running at the same time, I suspect there will be issues when logged into the same IM accounts (for those that allow that), but I don’t seen a need to do that really…


1 Substitute the location of your Dropbox folder and the name you gave your Logs folder.