Undetectable Humanizer: Lifetime Subscription
Transform AI-Generated Text into Human-Like, High-Ranking Content & Bypass Even the Most Sophisticated AI Detectors
Get 95% Deal

Display Thunderbird Email Attachments With Their Full Name

Martin Brinkmann
Nov 29, 2010
Updated • Dec 16, 2012
Email, Thunderbird
|
15

I'm not sure why the developers of the Thunderbird email client have made the decision to limit the visible characters of email attachments in the desktop email application. Attachments in the email client are displayed with a maximum of 14 characters in the beginning, a few dots and one character in the end. That's problematic if the file extension gets hidden by that, or if the user wants to know what file that is before double-clicking or saving it.

If you look at the example on the screenshot below you see that it is not possible to identify the file extension or full name of the email attachment. Sure, you can hover the file to see the full name of the attachment, but imagine having to do that not for one but for multiple files, every day.

thunderbird attachment name

email attachment

The first thing that I did to find out if there was a setting for this was to look in the email client's options, but the results were frustrating. No option, not even in the config editor. Second best bet was an extension, and again the search was fruitless.

The last option was to make changes to the userchrome.css file to manipulate the display in the email program. And this works. Here is what you need to do.

Locate your Thunderbird profile directory on your computer system. You can check Mozillazine for detailed information on how to locate the Thunderbird profile folder. In short:

  • Windows XP / 2000: C:\Documents and Settings\\Application Data\Thunderbird\Profiles\
  • Windows Vista / 7: C:\Users\\AppData\Roaming\Thunderbird\Profiles\\
  • Linux: ~/.thunderbird// or ~/.mozilla-thunderbird
  • Mac OS: ~/Library/Thunderbird/Profiles// or ~/Library/Application Support/Thunderbird/Profiles//

Now that you know where the profile folder is located you need to open it in a system file browser. Locate or create the chrome folder in the root Thunderbird profile folder and locate or create the file userchrome.css in there. The easiest way to create the userchrome.css file is to create a simple text document and rename it. Ensure that the file extension is .css and not .txt.

Open the file afterwards and add the following line to it:

#attachmentBucket, .attachmentBox {min-width: 25em;}

The important parameter is 25em at the end. This defines the width of the attachment area for each attachment in Thunderbird. Depending on the attachment names you get you may want to increase or decrease the value to make the box wider or smaller.

thunderbird larger attachment names

You need to restart Thunderbird before the changes become visible. As you can see in the example from my system, the email client now displays the attachment's name in full.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. MikeB in Japan said on April 6, 2012 at 6:23 am
    Reply

    this hint is really useful but
    is there a similar hack for the attachment pane in composing mail window?

  2. Manne said on January 12, 2012 at 5:11 pm
    Reply

    short description what works for me with TB 8 on Ubuntu 11:

    file: ~/.thunderbird//chrome/userChrome.css

    content:
    #attachmentBucket, attachmentitem {
    width: auto !important;
    max-width: none !important;
    }

    1. Manne said on January 12, 2012 at 5:14 pm
      Reply

      eeehm, now I know why this post is so confusing, it dos not escape > and <

      the file path is meant to be:

      file: ~/.thunderbird/<generated profile name>/chrome/userChrome.css

  3. Telle said on November 9, 2011 at 3:32 pm
    Reply

    Although it was still working fine with Thunderbird 7,
    It seems not to be working with Thunderbird 8.
    Did anyone find a solution to get non-trunkated attachment names for Thunderbird 8 ?
    Thanks in advance for your help.

    1. jaywk said on November 21, 2011 at 7:42 pm
      Reply

      For TB8 replace “.attachmentBox” with “attachmentitem” without the quotes.

      1. Telle said on November 21, 2011 at 11:02 pm
        Reply

        Thanks Jaywk,
        That works on my Thunderbird 8 ! (by replacing “.attachmentBox” with “attachmentitem”)
        Many thanks for this tip!

  4. CookieRevised said on August 29, 2011 at 8:14 pm
    Reply

    No need to ‘guess’ the proper width (as described in the article “25em”) . Simple make the width automatic:

    .attachmentBox {
    width: auto !important;
    max-width: none !important;
    }

    1. Martin Brinkmann said on August 29, 2011 at 8:19 pm
      Reply

      Great tip, thanks.

  5. Jeremy said on June 17, 2011 at 4:54 pm
    Reply

    This method is all very flexible and great for improving the way Thunderbird shows what you have attached to a newly written email, but is there not a setting that can trick it into displaying the attachment size of the file?

    So far Attachment Sizes for Thunderbird add-on doesn’t work with TB version 3.1.10

    It’s very remiss of the Thunderbird writers to leave such an important feature off an updated version of Thunderbird. If the program doesn’t have the same facilities plus a few more, then the update was a waste of everyone’s time including the person doing the updating of the software.

  6. baby hats said on January 17, 2011 at 10:39 am
    Reply

    I manage my emails with opera.

  7. Paula G. said on November 30, 2010 at 3:11 pm
    Reply

    Wow, I had forgotten about this frustration since I stopped using t-bird. My new client, TrulyMail, does this by default. It also shows me an appropriate icon, instead of just a white page.

  8. nico said on November 29, 2010 at 9:16 pm
    Reply

    Martin,

    The file is to be named “userChrome.css” (not “userchrome.css”)
    (without quotes)

    1. Martin said on November 29, 2010 at 9:56 pm
      Reply

      Nico thanks for the tips, Windows accepts both names. I suppose it is different if you use Linux or Mac.

  9. Thomas said on November 29, 2010 at 9:01 pm
    Reply

    Thanks for sharing. I always did the mouse over and did not think about it…

    Now my userchrome.css looks like:

    input {
    color: orange !important;
    }

    /*header-view-button-box {
    display: none !important; }

    .attachmentBox {
    width: auto !important;
    max-width: none !important;
    min-width: 15em !important;
    }*/
    #accountManager {width: 80em !important; height: 58em !important;}

    /*change color of toolbarbutton text for black Windows theme */
    .toolbarbutton-text { color: white !important; }
    .checkbox-label { color: white !important; }
    .headerName { color: white !important; }
    .emailDisplayButton { color: grey !important; }
    .groove-top { color: white !important; }
    .chromeclass-toolbar-additional { color: white !important; }
    .toolbox-top { color: white !important; }

    /* Make Folders having Unread_Messages distinct from others */
    treechildren::-moz-tree-cell-text(hasUnreadMessages-true, newMessages-false)
    { color: green !important; }
    /* Change Folder Display to indicate New Message(s) arrived */
    treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true)
    { color: orange !important; font-weight: bold !important; }

    /* Display Attachments With Their Full Name */
    #attachmentBucket, .attachmentBox {min-width: 25em;}

    Don’t know yet, if it will be displayed right ^^ There are also some disabled items in…

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.