Philippines, Technology, Mobile, Android, Games, Mac, Linux, WordPress
Google+TwitterLinkedinFacebook
Subscribe
HomeLinux / UbuntuCreating your own Gwibber theme

Creating your own Gwibber theme

One of the social sites I like is twitter.com. I’ve heard about identi.ca but really haven’t tried it yet. Recently, I came across a twitter client that runs on Ubuntu that I liked a lot. It’s called Gwibber. It’s actually not just a Twitter client but also supports identi.ca, laconi.ca, digg, ping.fm, facebook and some other stuff.

It’s very easy to use and can handle multiple accounts so I’d probably try out identi.ca now that I use Gwibber. One of the things I like about Gwibber is that it lets you have your own customized theme. If you know basic HTML and CSS, it’s actually easy to customize.

The easiest way to make a custom Gwibber theme is to actually copy an existing theme into the ~/.local/share/gwibber/ui/theme directory of your home directory. You can find several examples of Gwibber themes under the /usr/share/gwibber/ui/themes/ directory.

For example you can copy the default Gwibber theme to a theme called “mytheme” by doing:

cp -av /usr/share/gwibber/ui/themes/default ~/.local/share/gwibber/ui/theme/

After copying the files, what you need to edit is the theme.html file in your newly created mytheme directory. Here’s a sample content of the file:

gwibber-theme-file

 

The look and feel of your tweets are controlled by the CSS settings inside the file. Here’s several familiar tags to help you get started on customizing your Gwibber theme:

body – controls the whole window client screen under gwibber. You can change things such as backgound, even setup your own background image, even the color and size of your fonts.

a – the a tags control the links. In twitter twits, these can be those tinyurl links you find in the messages.

.message – controls the way the actually messages will be rendered

.time / .time a – for the time tags in your twits

.title – is for the title text for your twits.

.imgbox – for the photos/images. You can even put some fancy stuff like reflections because gwibber uses the Webkit engine to render the theme

Here’s the gwibber theme I did for myself. You can download it from here.

Responses

  1. The copied theme (or the directory-name) under ~/.local/share/gwibber/ui/theme/ doesn’t appear in the theme selection at the preferences in gwibber. What’s wrong?

  2. @Sbl – I had the same issue. Your user theme directory should be ~/.local/share/gwibber/ui/themes/ (“themes” not “theme”)

  3. Hi! Thanks a lot for the tutorial, I just created a new theme for Gwibber – gwibbiquity check it out – http://ideamonk.blogspot.com/2009/08/gwibbiquity-theme-for-gwibber.html :)

Leave a Reply

  • Hi, I'm Gerry. Welcome to my blog and sites about mobile, technology, The Pinoy, #crazyidea, games, WordPress, Ubuntu, Mac, iOS, Android, Symbian... I started sites like Ortigas Online and iMakati which focuses on local community information. Read more about Gerry
    Status (Twitter, Linkedin, Facebook...)

    Just found out that the Android-based HTC Sensation XL phone is now in the Philippines for about Php 28,000.

  • Visit my other sites

    • Apps & Games

      Reviews, news of mobile apps & games for Android, iOS, Blackberry, Symbian...

    • Connected Phone

      The computer is the mobile phone. The always connected phone evolution.

    • Mobile/Web Development

      Mobile/Web apps, development, services for Android, iPhone & WordPress.

    • Pinoy Me

      Pinoy businesses, enterprises, startups, professionals all over the world

    • Java Midlet

      Java mobile apps & games - news, reviews, tips, mobile phone & devices

  • PINOI Sites

    Are you interested in putting up your own PINOI-enabled local community site? Contact me

    • PINOI

      Enabling local communities on the Internet

    • Makati

      iMakati.com is a site that provides information about Makati City.

    • Ortigas

      Community site that provides information about the Ortigas Center.