Ubuntu: Autostart for Empathy IM Client

So Empathy is the new default IM client in Ubuntu Karmic. I personally like the tight integration of IM and my online status in the Gnome desktop. It’s just strange, that it does not automatically start when I log in or at least offer me a convenient way to make it so. So here’s a clean way to fix this:

sudo cp /usr/share/applications/empathy.desktop /etc/xdg/autostart
sudo chmod a+r /etc/xdg/autostart/empathy.desktop

Now you have an item for Empathy in “System – Preferences – Startup Applications” to en- or disable. I then also added the “-h” switch to the command to hide the contact list when it starts.

empathy

Edit: added sudo to command line to prevent confusion like this ;)

Edit2: added the chmod line as suggested by Steve-o in the comments, thanks!

  • email
  • PDF
  • Google Bookmarks
  • Yahoo! Bookmarks
  • del.icio.us
  • Twitter
  • Reddit
  • Digg
  • Ping.fm
  • Slashdot
  • Facebook
  • MySpace
  • Technorati
  • NewsVine
  • Tumblr
  • StumbleUpon

9 Responses to “Ubuntu: Autostart for Empathy IM Client”

  1. David writes:

    Thanks for that! Useful information.

  2. Mercutio22 writes:

    Thanks!

  3. Steve-o writes:

    I also had to update the permissions for anyone read,

    sudo chmod a+r /etc/xdg/autostart/empathy.desktop

  4. Forrest writes:

    Thanks, this was just what I was looking for!

  5. Darkbyte writes:

    Nobody sees the big ADD button in the right ???
    Maybe easy ???

  6. Florian writes:

    Sure, we see it; and it would work by just adding a new application entry with “empathy” as command as well.

    However, since Ubuntu actually HAS a .application for empathy with descriptions in x languages and a nice icon and what not… why not use it? and why isn’t it in the list in the first place?

    That is one small but significant detail Canonical has to take more care about when they want average users to adopt Linux on their desktops.

  7. M. Hogerheijde writes:

    I would suggest linking to the .desktop files. That way, when an upgrade changes the /usr/share/applications/*.deskop file (for example new translations are added or something) the /etc/xdg/autostart/*.desktop file changes automatically!

    Also when programs are uninstalled, the link will become invalid. Don’t know if the startup manager picks up on this, but still.

  8. Raoul Bhatia writes:

    thanks! :)

  9. Brandon writes:

    I’m completely new to Linux and this worked great except can someone inform me what an ‘”-h” switch’ is/or how I would use it in this context (so I can hide the contact list but still sign in).

    Thanks

Leave a Reply