Open an image from a terminal
Solved
H2KMina
Posted messages
31
Registration date
Status
Membre
Last intervention
-
H2KMina Posted messages 31 Registration date Status Membre Last intervention -
H2KMina Posted messages 31 Registration date Status Membre Last intervention -
Hello,
I would like to know if there is a command to open a jpg or png image from a terminal, please.
(On Linux, of course)
Thank you
I would like to know if there is a command to open a jpg or png image from a terminal, please.
(On Linux, of course)
Thank you
3 réponses
Hello,
The list would be long if we had to enumerate them all. Here are a few:
etc.
--
_______________________________ ☯ Zen my nuggets ☮ ______________________________
Do something for the environment, close your windows and adopt a penguin… 🐧
The list would be long if we had to enumerate them all. Here are a few:
- eog
- display (requires imagemagick)
- feh
- fbi (TTY)
- xdg-open
etc.
--
_______________________________ ☯ Zen my nuggets ☮ ______________________________
Do something for the environment, close your windows and adopt a penguin… 🐧
Hello!
It depends on your "image viewer" ;-) What software do you use to view your images? From there, I'll tell you which command line to use to open the image with that software.
Have a great day!
Luc
--
The 3 biggest lies of a developer? The documentation will be done later... The program has no bugs... The specs are finished...
A people sacrificing their freedom for more security loses both.
It depends on your "image viewer" ;-) What software do you use to view your images? From there, I'll tell you which command line to use to open the image with that software.
Have a great day!
Luc
--
The 3 biggest lies of a developer? The documentation will be done later... The program has no bugs... The specs are finished...
A people sacrificing their freedom for more security loses both.
Well, since I've never been to Epitech (except for Prologin), I can't really tell you what it is :-D
Well... I dug a little into the subject, and it seems that OpenSuse is hiding behind Blinux. The default image viewer in OpenSuse is Gwenview
Try typing
man gwenview
in a terminal ;-)
EDIT: oh wait actually I don't know (I kind of mentioned it at the beginning of this post but I'll repeat)
Apparently, Epitech likes to change the provided software stack.
So... if it's not gwenview... ask your technical support what the image viewer is ;-) You'll just need to do a
man myFavoriteViewerThatILoveAndAdore
to see the options available in the command line ;-)
Well... I dug a little into the subject, and it seems that OpenSuse is hiding behind Blinux. The default image viewer in OpenSuse is Gwenview
Try typing
man gwenview
in a terminal ;-)
EDIT: oh wait actually I don't know (I kind of mentioned it at the beginning of this post but I'll repeat)
Apparently, Epitech likes to change the provided software stack.
So... if it's not gwenview... ask your technical support what the image viewer is ;-) You'll just need to do a
man myFavoriteViewerThatILoveAndAdore
to see the options available in the command line ;-)
And since it's a custom distribution, it would be ideal for him to ask directly those who set it up (Bocal d'Epitech)
See here for more information
Otherwise, were you planning to bring something...?
Then, his request is not clear ;-\
There is a difference between opening an image FROM a terminal (graphically) and opening an image IN a terminal.
To the question "What software do you use to view your images?", the answer "in my file managers it says open with image viewer" is not necessarily the most appropriate.
However, drowning it in a lot of possible answers (because yes, we're on Linux, so there are quite a few software options) is not, in my opinion, the best approach.
After all, teaching (or helping... the gap between the two terms is thin)... there's no miracle recipe.
I opted for "ask your technical support what the image viewer is", I think that's the best advice I can give him before providing him with the correct command line.