Ubuntu :: Thumbnail For PDF / Text File In Ubuntu

Feb 24, 2010

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).

View 5 Replies


ADVERTISEMENT

Software :: Seeking 'tiny Text' Page Thumbnail Utility

Jan 20, 2010

Can anyone help me with accomplishing the following: software writes to STDOUT --> filter --> PDF or PS "tiny text" thunbnail. Where "label" means something that fits on a biz card or smaller and remains readable. Here is an example,I want a "paper label" for data DVD media, or to include in the case with a carry-around USB drive.I can make content with ls -lh and similar utils with some post processing, but the resulting text file prints too large.A biz card has a similar form factor to a letter page only much smaller, so I need a filter of some sort.Process the text into postscript(ps) or PDF "tiny text" page thumbnail.Print this thumbnail label and store it with the media.I can also use the online page thumbnails as index into an archive or catalog.

Can some TEXT--TO--PS or TEXT--TO--PDF expert help work out how to accomplish this sort of thing?What do most people do about keeping an index or catalog of offline media (CD, DVD, USB drive) contents? (I know that "don't bother" is a popular option.)

View 1 Replies View Related

Ubuntu :: Created A "bkl-thumbnail" Home Dir And Has Been Caching Image Thumbnail

Oct 5, 2010

I have this bkl-orbiter daemon running for something that apparently needs it (wacom drivers maybe).

It created a "bkl-thumbnail" home dir and has been caching image thumbnails.

Any way to keep it from doing that? Or find out why it's doing it?

View 4 Replies View Related

Ubuntu :: 'Add File' Window Does Not Allow Thumbnail Viewing?

Mar 3, 2011

When I use any application to upload an image, the dialogue box opens for me to select my file, but I can't view my images as thumbnails. Instead it reverts to List view and displays the columns with the file name, last modified etc data. This is very frustrating when dealing with images. I'm a photographer and handle many hundreds of images.

View 1 Replies View Related

Ubuntu :: No Thumbnail For Flv File Though Present For Mp / Avi & Mp4 Files

Oct 13, 2009

I have ubuntu 9.04x64 edition.i have installed gstreamer0.10-plugins-bad,gstreamer0.10-plugins-ugly,gstreamer0.10-ffmpeg so all video & audio files are played by totem.But why there is no thumbnail for flv files though in nautilus preview I have set always & file size upto 4GB.

View 7 Replies View Related

Software :: Preview / Thumbnail / Screenshot Generator Of A Video File

Feb 27, 2009

I have some videos I am looking to share and post to a couple of places. I am looking to preview to the potential downloaders the file quality, plus some statistical info. In Windows Media Players Classic, as shown in my example here, you have the length of the video, file size, file name... and in each frame preview you have a time stamp stating at what part of the video the from is from.is there a program in linux that can do this for me? That can generate the same (or maybe more) info automatically?

View 3 Replies View Related

Ubuntu :: Sort The Output To A Text File So That It Prints To The Text File At 1 Process Per Line?

Feb 6, 2011

im trying to output a list of running processes via a shell script. At the moment i got this which outputs the processes to a text file called out.

echo $(ps aux) >>out

The problem is though, the processes are all just one big block of text which makes it hard to read. Does anyone know how to sort the output to a text file so that it prints to the text file at 1 process per line? I know its probably simple but im very new to linux.

View 5 Replies View Related

Programming :: Remove Lines In A Text File Based On Another Text File?

Jan 28, 2009

I have a text file called file1.txt containing many lines eg.

line1
line2
line3
line4
line5
line6

Then i have another text file called file2.txt contains

3
5
6

Is there a command to remove the lines in file1.txt based on the keywords in file2.txt? note: It should remove line3,line5,line6 based on 3,5,6

View 10 Replies View Related

Ubuntu :: Add / Remove Bits Of Text From A Text File

Dec 6, 2010

I am looking for a way to keep a log and make if then statements if a line exitsts in the log. I also am looking for a way to make a simple loop, like goto line number, and I also am wondering how to add/remove bits of text from a text file (plugins line in server.properties)

View 5 Replies View Related

Fedora :: F14 Gnome Text/plain Versus Text/html File Type

Apr 2, 2011

I put a text file on my desktop and added a couple lines of text with gedit. File type shows text/plain. Double-click opens the file in gedit which is what I want. I'm using the file to temporarily hold some snips of code that I copy from file to file, but when I copy some html into the file and save it, now file properties show it's text/html and a double-click opens the file in firefox, which isn't what I want. Is there some way to keep the file type from changing itself?

View 6 Replies View Related

General :: Replace Text In One File With Text From Another File Using Sed?

Apr 28, 2010

How could I replace text in one file with text from another file using sed?

The text in each of the files would be surrounded by a starting and ending delimiter or a starting tag, say like /* */ so to easily find them.

View 8 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related

Programming :: Adding Lines Of Text To Beginning Of Text File

Jan 19, 2009

I need to insert 3-4 lines of text to the beginning of a text file. The file is a largish MYSQL dump, the result of a backup shell script. This shell script should insert the required text.I've wrestled with sed, but lost.

View 2 Replies View Related

Programming :: Delete Line Of Text From Text File Via Shell?

Jan 13, 2010

I have to delete a certain line of text from the a textfile via ubuntu's shell scripting.I have done research, and it seems that most people advocate the usage of sed /d option. sed makes does not edit the text file. Hence, most options I discovered involved the use of a temporary variable/textfile and then overwriting the old file with the temporary new file. Is there anyway whereby I can bypass the use of temporary storage containers? I hope there is any magical combination of commands to edit the file directly.

View 3 Replies View Related

Programming :: Exporting Glade Text View To Text File?

Jan 8, 2011

I want to display something in my text view widget in glade using c code. that's all right.
now I need to attach a save button beneath the text view.so that on click the text view content should save as a txt file..

View 8 Replies View Related

Programming :: Formatting Fields And Text Being Displayed From Text File?

Feb 9, 2011

I want to display the contents of a particular log file (simple text file, I mean in Linux). But there is a problem: The contents need to be organized in a fixed format. Have a look at this log file:

sampleLog.txt

Code:

User Name: XYZ
Reported Problems Description: Blah! Blah! Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah!

[code]....

So, while displaying the contents of above file on a web page, I want to format the field names found in the log file: User Name:, Reported Problems Description:, and Remarks:. These fields may contain a variable length of text and no specific line number is assumed for them to appear on.

The desired output should look like this:

User Name: XYZ
Reported Problems Description: Blah! Blah! Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah! Blah!Blah!

[code]....

Well, what I am trying to do may sound wierd to some of you. The filed "Reported Problems Description:" can possible contain text which embeds colon (.

View 15 Replies View Related

Programming :: Add Text Before Line Number In Text File?

May 3, 2010

a sed command to add a text before line number in text file? I have text file with 500 lines, and i want to add 3 more lines with text after line 300, OR before line 302, isn't no problem.

View 16 Replies View Related

Ubuntu :: Set VLC As Thumbnail Generator For Videos In Nautilus?

Apr 29, 2010

Is there a way to put VLC as default thumbnail generator for Videos in Nautilus?. I removed totem from system because i never use it..

View 1 Replies View Related

Ubuntu :: Thumbnail Previews Stopped Previewing?

Oct 14, 2010

when I freshly installed 10.10 on release date my AVI files were showing thumbnail previews fine as I had pretty much every AVI with a thumbnail to it.

Got some more AVI files today and now they are all just a blank icon (the standard film strip one). Anyone know a way I can fix this?

View 4 Replies View Related

Ubuntu :: Disable Thumbnail Caching In Nautilus?

Oct 22, 2010

Is it possible to disable caching of thumbnails in nautilus but still have them on? I tried linking .thumbnails to /dev/null but that just disabled them completely.

View 1 Replies View Related

Ubuntu :: Thumbnail Preview Is Too Small - Increase Size?

Oct 21, 2010

im using gimp, and im trying to draw something from a photo. but the thumbnail preview is too small. i have to keep opening the photo to see new details.

View 6 Replies View Related

Ubuntu :: Stop Automatic Thumbnail Creation And Storage?

Jan 31, 2011

I was lurking about my hidden files and noticed the ".thumbnails" directory. I had been browsing the web for about an hour and had opened some image files from my drive.HOLY CRAP! I had over 2000 thumbnails in that directory! Every time an image is displayed, a thumbnail of it is created? Really? Seriously, I don't care what the reason behind this "feature" is, how do I stop it? It is simply unnecessary and a waste of disk space.

View 9 Replies View Related

Ubuntu :: Convert A Text File To .BIN File?

Apr 13, 2010

i working with a simulator tool that i need to pass to it a file in .BIN format, basically i need to convert from a tex plain file to BIN file How can i do that? there is some command(s) that allow me do

View 2 Replies View Related

Ubuntu :: Check For That) Then Add The Name Of That File To A Text File?

May 5, 2010

i am writing a script for my ubuntu server and basically i want it to download a file that i specifically type in then take that file put it in a certain folder (note file may or may not be archived so i'd have to check for that) then add the name of that file to a text file.i know sounds strange but this is what i got so far:

Code:
#!/bin/bash
echo "-----Star of Script-----"
echo "Please enter URL:"
read URL
cd testdir
wget $URL
//extraction here + delete original archive (rar,zip,anything :S)
echo name_of_file >> list.txt
echo "-----End of Script-----"

View 6 Replies View Related

Ubuntu Multimedia :: Cannot Preview Black Screen / Could Not Generate Thumbnail?

Oct 3, 2010

At some point after one of the many updates I do to my system, I seem to have lost the ability to preview myself on cam. Simply put, software like CamStream and Cheese just give me a black screen when I open it up. So, I cant see how I look on cam and what's in or out of the shot. If I tell Cheese or Camstream to capture a still, there is no problem. In fact, that is the only way I can determine what the camera is seeing of me and my background.

The only "solution" is to either have Cheese takke my pic and determine from there (as just mentioned), or go on a video chat room and have it use my camera to give me a real-time look at what the camera is aimed to. As someone who creates webcam videos for upload, and sometimes needs to move the camera while still live, this is not convenient so I hope to fix it.

Here are the command line outputs Im getting:

Cheese:

Code:
** (cheese:3704): WARNING **: could not generate thumbnail for /home/lixen69y2k/Webcam/2010-08-25-101226.ogv (video/ogg)
** (cheese:3704): WARNING **: Icon 'video-ogg' not present in theme
Camstream:

Code:
W: CamStream version 0.27 starting.
>> void CCamStreamApp::ReadConfigFile()
<< void CCamStreamApp::ReadConfigFile()
code....

Could not grab image (select timeout): Resource temporarily unavailable.Seems that GUVCview gives me the best articulation of what the problem is. I have both a built-in webcam for my laptop as well as a USB one. Both seem to have this problem so I know its a case of some part of my software being the trouble.

View 9 Replies View Related

Ubuntu :: Thumbnail View For Open/save Dialog Boxes?

Jan 3, 2011

after googling around there doesnt seem to be a fix for this its madness

you go to open/save a file, the box comes up - and i'f im looking for a picture theres no thumbnail view?

i have hundreds of pictures in some folders and theres no way to tell which is which i have to click each one for the preview

is there nothing for this in the software center?

View 1 Replies View Related

Ubuntu Multimedia :: Some Video Files Display Thumbnail Preview In Nautilus And Others Don't / Why Is So?

Jan 15, 2011

I'm not too sure what causes this. But why do some video files display a thumbnail preview in Nautilus and others don't? See screenshot below.

View 1 Replies View Related

Server :: Scp Truncate Text File Busy - Copying File Is Not A Running Binary?

Jun 14, 2010

I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems

Code:
# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]

[code]...

View 3 Replies View Related

Programming :: Script To Copy Paste Text From One File To Another (overwriting Part Of The File)?

Apr 19, 2011

I have a .txt-file with ~50.000 lines of numbers, generated by a mathematics program. From this file, I need line ~ 1.100 to line ~16.000 (these lines are always the same btw, this may make the solution easier, dunno) to be copy/pasted to another file, where the lines ~500 to ~15.000 (also, every time the same) should be overwritten by the aforementioned lines...I haven't found or come up with anything that works yet, mostly I find solutions to copy everything from one file to another but I can't find something to specifically overwrite a part of a file with part of another.

View 4 Replies View Related

Red Hat / Fedora :: Convert Plain Text File To Html File Without Using Perl?

Jun 9, 2010

I am looking for some source package which will convert plain text file to html file without using perl.

I mainly need to do this on an ARM platform, so if I get sources I can cross compile it.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved