Jump to content
Sign in to follow this  
Guest PauLLiK

fbgs, fbi and fbgrab [solved]

Recommended Posts

Guest PauLLiK

Hello, I'm new to the world of linux and just found out about these console programs.

fbi - open images in console
fbgrab - take a snapshot 
fbgs - open *.pdf documents in console

So i tried them out and none works as they should:

[paullik@localhost ~]$ fbi pic.png
using "DejaVu Sans Mono-16", pixelsize=16.67 file=/usr/share/fonts/TTF/dejavu/DejaVuSansMono.ttf
ioctl VT_GETSTATE: Invalid argument (not a linux console?)
[paullik@localhost ~]$ fbgs document.pdf

### rendering pages, please wait ... ###

GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 2770384 1077304 9361800 8057179 3 done.
using "DejaVu Sans Mono-16", pixelsize=16.67 file=/usr/share/fonts/TTF/dejavu/DejaVuSansMono.ttf
ioctl VT_GETSTATE: Invalid argument (not a linux console?)
[paullik@localhost ~]$ fbgrab con.png
Converting image from 16
Now writing PNG file

 

So in gwenview I can see the pic.png, in Okular I can read document.pdf -but you can see what errors i get when i try to open them in console.

And about fbgrab, it grabs my console but the image looks like that:

1278146320.png

Its the same if its *.jpg or whatever...

 

I'm running Mandriva 2009.1 Spring, x86.

MB:Asus P5VD2-MX SE

Video: Ati X1600 Series

[paullik@localhost ~]$ uname -a
Linux localhost 2.6.29.1-desktop-4mnb #1 SMP Mon Apr 20 18:57:56 EDT 2009 i686 Intel(R) Pentium(R) D CPU 3.00GHz GNU/Linux

Thanks in advance!

 

PS:

I'm not a native English speaker, so excuse my mistakes!

 

 

[moved from Software by spinynorman - welcome aboard :)]

Sorry, I tought this area is for advanced users and I didn't read the rest of the categories.-PauLLiK

Edited by PauLLiK

Share this post


Link to post
Share on other sites
Guest PauLLiK

The problem was that i was typing those commands in terminal and they must be typed in TTY1/2/3..., using CTTRL + ALT +F1/F2/F3...

Added [solved].

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...