====== Reducing the Height of the Interface in Thunderbird ====== ===== Introduction ===== Thunderbird is not well adapted to the small screen height of the EEE. In order to make it more vertically friendly, we will do three things: - Install a theme like miniBird. - Reduce the number of addresses in the Composer. - Globally reduce the font size. See also [[howto:shrinkfirefox|How to shrink firefox]] The resulting compose dialog will look like the following: {{howto:small_thunderbird_ed.png|}} (It is also possible to move the toolbar icons onto the menu bar. Just right click the toolbar, customize, then drag the icons to the menu bar. The toolbar can then be turned off in view toolbars. This tip can be applied to firefox too) ===== Installing a Smaller Theme ===== - Launch Thunderbird and go to the ''Tools->Add-Ons'' menu. - Click the ''Get Themes'' button. - On the webpage that comes up, scroll to the the Browse Themes by Category link and choose ''compact''. - Pick your favorite compact theme. I chose miniBird: https://addons.mozilla.org/en-US/thunderbird/addon/1064 - Download it and install it according to the instructions on the website (don't click the ''Install Now'' button or firefox will try to use the theme). - Restart Thunderbird to finish the installation. ===== Reducing the Number of To Addresses in Composer ===== The Thunderbird interface is completely customizable by XUL files that live inside special JAR files in the Thunderbird install directory. There is an easy way to do this, and a hard way. After either set of instructions, add the last 3 lines in the section below to your userChrome.css file. You do not have to change the font size if you do not want to. Note for [[ubuntu:eeexubuntu:home]] users: The path where the messenger.jar is stored is **/usr/share/thunderbird/chrome** instead of **/opt/thunderbird/chrome** ==== Easy Way ==== - Download http://www.cs.pitt.edu/~jmisurda/eee/tbird/messenger.jar - Copy it to ''/opt/thunderbird/chrome'' (You will need to be superuser to do this) and overwrite the original. * hit CTRL+ALT+T to open a terminal and if you downloaded it to the desktop, at the terminal type: ''cd Desktop'' * then type: ''sudo cp messenger.jar /opt/thunderbird/chrome'' * Or you can do it drag and drop from the file browser by choosing the menu item to show all filesystems and copy it to ''/opt/thunderbird/chrome/'' ==== Hard Way ==== - Make a backup of the ''messenger.jar'' file, so that it can be replaced if there is a problem:sudo cp /opt/thunderbird/chrome/messenger.jar /opt/thunderbird/chrome/messenger.jar.backup - Extract the existing ''messenger.jar'' from the ''/opt/thunderbird/chrome'' directory like so:unzip /opt/thunderbird/chrome/messenger.jar -d ~/messenger/ - Edit the XUL file for the composer dialogcd ~/messenger/content/messenger/messengercompose/ pico messengercompose.xul - Look for the line containing ''zip -r messenger.jar content - Copy this to the Thunderbird directory:sudo cp messenger.jar /opt/thunderbird/chrome/ ===== Changing the Overall Font Size ===== - ''cd ~/.thunderbird/'' - ''cd'' to the directory that ends in ''.default'' - ''cd chrome'' (If it does not exist, create it) - ''pico userChrome.css'' (If it does not exist, create it) - Change the contents to: *{ font-family: sans-serif !important; font-size: 8pt !important; } #MsgHeadersToolbar { min-height: 25px !important; } - The ''font-size'' can be anything you want. - The ''MsgHeadersToolbar'' section sets the composer window "To:" section to be smaller (in concert with the edited ''messenger.jar'') Note for [[ubuntu:eeexubuntu:home]] users: The path in the first step should be **~/.mozilla-thunderbird** instead. ===== Dealing with the addressbook card editing dialog ===== The dialog window used to edit a single address book card does not fit by default in the reduced screen-height of the EeePC. Even though the dialog itself can be resized to fit within the available screen, no scrollbar will ever appear, leaving the OK/Cancel buttons at the bottom out of reach. The simplest workaround to this problem is to move the dialog window (partially) outside of the upper limit of the screen, so that the OK/Cancel buttons become reachable: - press and hold the ALT key - click on any part of the dialog - except its title bar, and drag it up until its bottom edge is within view - release the ALT key - if the OK button is still not visible, resize the dialog by clicking on its bottom edge until it appears - repeat this process as many times as needed ===== Finished! ===== * Restart Thunderbird and admire your small-screen changes! * You may now delete the ''~/messenger'' directory you created to reclaim the space. ===== References ===== * http://forums.mozillazine.org/viewtopic.php?t=205662 showed how to change the number of "To:" rows in an older version of thunderbird * My (jonmisurda) experiences doing this * http://forum.eeeuser.com/viewtopic.php?id=3121 for comments/feedback