2

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
TEXT
${execi 30 cat /home/user/Documents/todo.txt}

1 Answer 1

3

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

1
  • Thanks, text_buffer_size was what I needed.
    – takeshin
    Apr 18, 2010 at 18:45

You must log in to answer this question.

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