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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 02:25 PM
Man Viewer 3.0 iBot UNIX and Linux RSS News 0 03-06-2008 04:20 AM
ftp selected jpeg files from unix filesystem mhbd UNIX for Dummies Questions & Answers 3 12-13-2007 03:57 AM
Migration of binary file from Sunos 5.8 to Sunos 5.9 Arvind Maurya UNIX for Advanced & Expert Users 1 07-12-2005 07:23 AM
Convert Jpeg to useable Unix Pics HSTheDuck UNIX for Dummies Questions & Answers 1 06-15-2005 05:31 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-14-2008
wisher115 wisher115 is offline
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.
  #2 (permalink)  
Old 02-14-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
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

  #3 (permalink)  
Old 02-15-2008
wisher115 wisher115 is offline
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 01:45 PM..
  #4 (permalink)  
Old 02-15-2008
denn denn is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 96
Also try:


Code:
 /usr/dt/bin/sdtimage

  #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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0