The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do I view a jpeg? dsstamps UNIX for Dummies Questions & Answers 0 05-14-2008 10:25 AM
Man Viewer 3.0 iBot UNIX and Linux RSS News 0 03-06-2008 12:20 AM
ftp selected jpeg files from unix filesystem mhbd UNIX for Dummies Questions & Answers 3 12-12-2007 11:57 PM
Migration of binary file from Sunos 5.8 to Sunos 5.9 Arvind Maurya UNIX for Advanced & Expert Users 1 07-12-2005 03:23 AM
Convert Jpeg to useable Unix Pics HSTheDuck UNIX for Dummies Questions & Answers 1 06-15-2005 01:31 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2008
Registered User
 

Join Date: Sep 2006
Posts: 18
Jpeg viewer on SunOS 5.8

I was wondering what program can i use instead of mozilla to view a picture on a sun solaris system running SunOS 5.8.
To view a pic i'm currently doing it this way:
xterm -sb -fn screen-bold -g 60x30+0-0 -title '%s window - pls quit window upon completion ' -e mozilla file:///usr/sailing.JPG

Also instead of using xterm can i just call this program and select where on the screen i would like the picture to pop up using maybe some xy cordinates.
Thank you.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-14-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 679
There's a bunch of third party apps that can do this for you. Xv is pretty good, as is imageview.

To have them pop up on a given display from the commandline, you don't need to run an xterm first.
Just make sure your DISPLAY environment variable is set correctly (alternativly, most X applications will accept a "-display <display:number>" flag instead.
To select where it should be displayed on the screen, select which display number via the -display flag (eg 0.0 0.1 etc). To select where on the given screen, most apps will accept a -geometry flag with four optional parameters:
Width
Height
X coord
Y coord

eg To display a 640x480 window 20 pixels from the left side of the screen and 30 pixels down on 'mydisplay':
Code:
xv -display myhost:0.0 -geometry 640x480+20+30 sailing.jpg
eg To display a 640x480 window 50 pixels in from the right side of the screen and 10 pixels from the bottom:
Code:
xv -display myhost:0.0 -geometry 640x480-50-10 sailing.jpg
Reply With Quote
  #3 (permalink)  
Old 02-15-2008
Registered User
 

Join Date: Sep 2006
Posts: 18
Thanks
In what directory would i find some of these programms and is there a default programm that gets loaded on sunOS 5.8 ?

Last edited by wisher115; 02-15-2008 at 09:45 AM.
Reply With Quote
  #4 (permalink)  
Old 02-15-2008
Registered User
 

Join Date: Jul 2007
Posts: 93
Also try:

Code:
 /usr/dt/bin/sdtimage
Reply With Quote
  #5 (permalink)  
Old 02-15-2008
fdc fdc is offline
Registered User
 

Join Date: Oct 2004
Location: Providence
Posts: 17
I use xv. You can find it for Solaris 8 / SPARC here:

Freeware List for SPARC and Solaris 8
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0