Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure conky on Ubuntu, because I need to display my todo list on the desktop.

The the file is displayed, but the text is truncated (not rectangular, just after some character limit).

How to display the whole file?

Here is my setup:

# Text alignment, other possible values are commented
alignment top_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384

# stuff after 'TEXT' will be formatted on screen
${execi 30 cat /home/user/Documents/todo.txt}
share|improve this question
up vote 2 down vote accepted

Pipe the text to the fold command:

${execi 30 cat /home/user/Documents/todo.txt | fold -w N}

where N is the number of columns of text that you want to display.

Try also changing the values of the options text_buffer_size and/or max_user_text before the TEXT line in your conkyrc file

share|improve this answer
Thanks, text_buffer_size was what I needed. – takeshin Apr 18 '10 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .