Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2003, 04:06 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Warsaw
Distribution: Slackware 9.0
Posts: 11
Rep:
|
Viewing PDF in console?
Hello All!
I'm a newbie to Linux as many of you.
My question is:
is it possible to view PDF files in console mode without the necessity to run X Window? Also I would like to know if it is possible to view images, play movies etc.
I'd be very grateful for any information.
Best regards,
Sebastian
|
|
|
07-13-2003, 04:10 PM
|
#2
|
Member
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544
Rep:
|
Yes, you will need X.
Cheers--
Charles
|
|
|
07-13-2003, 04:20 PM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
I haven't gotten around to trying but there's zgv (I think that's what it's called) and others for viewing images. Lynx, w3m, links, others for surfing. Workbone for playing CDs. You can do most things without X. Not sure about your specifics, though. Check software sites with a 'console' filter, or something like, on your searches and you'll turn up some cool non-X apps. I mean, like I say, this doesn't help your question, but just to let you know there's whole world of non-X out there. 
|
|
|
07-13-2003, 04:23 PM
|
#4
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Rep:
|
The only way that I am sure of to view PDFs in console is to use "ps2ascii file.pdf > file.txt; less file.txt". That works only if the pdf has text, and you will not be able to view any images in the pdf.
As for your second question(s): I believe thet you can use mplayer in the console with framebuffer to view movies, and there are some programs that allow you to view images in the console, as well, but I do not know their names.
Ian
|
|
|
07-13-2003, 04:35 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: Warsaw
Distribution: Slackware 9.0
Posts: 11
Original Poster
Rep:
|
Hi again!
Maybe I should've done that before I posted my message, but I'm after a long day's work and it just didn't cross my mind... You'll have to forgive me.
Anyway I googled for "+view +PDF +console" and here's what I found:
Vimal Joseph posts :
>> Use pdftotext to view pdf files from console
There is no such package as `pdftotext' but a search shows that it is
contained in the `xpdf-utils' package.
gnuhead:~# dpkg -S pdftotext
xpdf-utils: /usr/bin/pdftotext
xpdf-utils: /usr/share/man/man1/pdftotext.1.gz
Tnx anyway and now inside mc, I am able to read a pdf file without
firing up X...
So - it is possible to view PDFs without starting X'es.
I'm off to check that.
Bye for now. You'll hear from me yet ;-)
Sastian
|
|
|
All times are GMT -5. The time now is 12:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|