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