Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I want to know how the thumbnail is created for pdf and text files in linux. As we all know in Ubuntu text files icon(thumbnail)is created dynamiclly depends on ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    4

    thumbnail for PDF/text file in ubuntu

    Hi

    I want to know how the thumbnail is created for pdf and text files in linux.
    As we all know in Ubuntu text files icon(thumbnail)is created dynamiclly depends on file content.
    It shows files first four lines as a icon.As File content changes for first four lines the icon also changes.
    Also same is for PDF file.It shows first page as a icon(thumbnail).

    If anyone know how this works,Please help me.

    Thanks in advance.

  2. #2
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I think the poster is asking how the program which creates/displays thumbnails works, not how to make a thumbnail.

    I don't know specifics. In general, file managers either have built in functions or use external programs that can read the particular file format and create a small image from it, which is then cached in some hidden directory - I think usually in ~/.cache. But wherever they are, they filemanager can look there for the images to display.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Here is some info on XFCE's file manager, Thunar, and its thumbnailers.

    thunar-thumbnailers [Xfce Goodies]

    And GNOME
    Installing a Thumbnailer Program

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...