{"id":327,"date":"2008-05-29T19:34:38","date_gmt":"2008-05-30T00:34:38","guid":{"rendered":"http:\/\/unitstep.net\/?p=327"},"modified":"2008-05-29T19:35:29","modified_gmt":"2008-05-30T00:35:29","slug":"fixing-the-small-title-bar-text-in-gnome-with-compiz-enabled","status":"publish","type":"post","link":"https:\/\/unitstep.net\/blog\/2008\/05\/29\/fixing-the-small-title-bar-text-in-gnome-with-compiz-enabled\/","title":{"rendered":"Fixing the small title bar text in GNOME with Compiz enabled"},"content":{"rendered":"
If you’re running GNOME and have enabled Compiz effects<\/a>, you may have noticed that title bar text – the descriptions at the top of windows – have inexplicably got smaller. This problem is especially relevant and noticeable in Linux Mint<\/a> and other Ubuntu-based <\/a> distributions, as I learned when setting up a machine for my Mom to use. You can see an example of the small\/broken title bar text size below. (This was with the default settings)<\/p>\n A quick fix would be just to increase the title bar font size in the appearance settings, but this would result in larger-than-normal title bar text if you were to disable the Compiz effects. This smaller text is actually a slight bug, and can be fixed by entering the command As with all tedious tasks, the best way to accomplish them is with a script. Here’s a nice workaround.<\/p>\n <\/p>\n It turns out other people were having the same problem as I. Searching lead to a thread which suggested the Combining the two, I came up with this. Simply follow these steps and the fix should automatically be enabled after every time you login.<\/p>\n Create a file and name it something like “compiz-fix”. Open it in your favourite text editor (nano<\/a> is my current favourite, after dealing with systems at work that only have vi<\/a>).<\/p>\n Enter the following lines:<\/p>\n These two commands enable the fix to work. Here, we’re waiting\/sleeping for 10 seconds after login to make sure that Compiz has time to start up – or else the <\/a><\/p>\n
compiz --version<\/code> in the terminal. After doing this, you’ll see the title bar text increase back to the normal size – invoking
compiz<\/code> seems to cause the manager to reset the size back. However, the changes do not persist after a reboot or after logging back in and it’s impractical to have to do this every time. <\/p>\n
compiz --version<\/code> command<\/a> and another which suggested using a bash script<\/a>. <\/p>\n
\n
Make the script file<\/h4>\n
sleep 10\r\ncompiz --version<\/code><\/pre>\n
compiz --version<\/code> command will have no effect. You may have to change the sleep period on your system depending on how long it takes to login, but 10 seconds should be enough.\n<\/li>\n
Make the script executable<\/h4>\n