How to open an .png type image in Linux terminal?
Clash Royale CLAN TAG#URR8PPP
I just can't find the command to display a *.png image! I tried xdg-open
command but it failed:
[student@seqpapl1 Images]$ xdg-open adapter_content.png
xdg-open: no method available for opening 'adapter_content.png'
I am currently running ubuntu linux on the server.
ubuntu images xdg-open
add a comment |
I just can't find the command to display a *.png image! I tried xdg-open
command but it failed:
[student@seqpapl1 Images]$ xdg-open adapter_content.png
xdg-open: no method available for opening 'adapter_content.png'
I am currently running ubuntu linux on the server.
ubuntu images xdg-open
4
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something likeimgcat
depending on the answers to these questions.
– DopeGhoti
Jan 2 at 19:55
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20
add a comment |
I just can't find the command to display a *.png image! I tried xdg-open
command but it failed:
[student@seqpapl1 Images]$ xdg-open adapter_content.png
xdg-open: no method available for opening 'adapter_content.png'
I am currently running ubuntu linux on the server.
ubuntu images xdg-open
I just can't find the command to display a *.png image! I tried xdg-open
command but it failed:
[student@seqpapl1 Images]$ xdg-open adapter_content.png
xdg-open: no method available for opening 'adapter_content.png'
I am currently running ubuntu linux on the server.
ubuntu images xdg-open
ubuntu images xdg-open
edited Jan 2 at 20:35
Jeff Schaller
39.3k1054125
39.3k1054125
asked Jan 2 at 19:50
GenieGenie
12
12
4
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something likeimgcat
depending on the answers to these questions.
– DopeGhoti
Jan 2 at 19:55
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20
add a comment |
4
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something likeimgcat
depending on the answers to these questions.
– DopeGhoti
Jan 2 at 19:55
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20
4
4
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something like
imgcat
depending on the answers to these questions.– DopeGhoti
Jan 2 at 19:55
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something like
imgcat
depending on the answers to these questions.– DopeGhoti
Jan 2 at 19:55
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20
add a comment |
2 Answers
2
active
oldest
votes
Use mimeopen -d
to set the default application:
mimeopen -d image.png
sample output:
Please choose a default application for files of type image/png
1) ImageMagick (color depth=q16) (display-im6.q16)
2) GNU Image Manipulation Program (gimp)
3) Feh (feh)
Select your default application , next time you will be able to use:
mimeopen image.png
or:
xdg-open image.png
add a comment |
I finally found out that I can use FTP to download pictures and HTML files from the server and open them with my own PC.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492077%2fhow-to-open-an-png-type-image-in-linux-terminal%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use mimeopen -d
to set the default application:
mimeopen -d image.png
sample output:
Please choose a default application for files of type image/png
1) ImageMagick (color depth=q16) (display-im6.q16)
2) GNU Image Manipulation Program (gimp)
3) Feh (feh)
Select your default application , next time you will be able to use:
mimeopen image.png
or:
xdg-open image.png
add a comment |
Use mimeopen -d
to set the default application:
mimeopen -d image.png
sample output:
Please choose a default application for files of type image/png
1) ImageMagick (color depth=q16) (display-im6.q16)
2) GNU Image Manipulation Program (gimp)
3) Feh (feh)
Select your default application , next time you will be able to use:
mimeopen image.png
or:
xdg-open image.png
add a comment |
Use mimeopen -d
to set the default application:
mimeopen -d image.png
sample output:
Please choose a default application for files of type image/png
1) ImageMagick (color depth=q16) (display-im6.q16)
2) GNU Image Manipulation Program (gimp)
3) Feh (feh)
Select your default application , next time you will be able to use:
mimeopen image.png
or:
xdg-open image.png
Use mimeopen -d
to set the default application:
mimeopen -d image.png
sample output:
Please choose a default application for files of type image/png
1) ImageMagick (color depth=q16) (display-im6.q16)
2) GNU Image Manipulation Program (gimp)
3) Feh (feh)
Select your default application , next time you will be able to use:
mimeopen image.png
or:
xdg-open image.png
answered Jan 2 at 20:52
GAD3RGAD3R
25.8k1750107
25.8k1750107
add a comment |
add a comment |
I finally found out that I can use FTP to download pictures and HTML files from the server and open them with my own PC.
add a comment |
I finally found out that I can use FTP to download pictures and HTML files from the server and open them with my own PC.
add a comment |
I finally found out that I can use FTP to download pictures and HTML files from the server and open them with my own PC.
I finally found out that I can use FTP to download pictures and HTML files from the server and open them with my own PC.
edited Jan 2 at 22:03
answered Jan 2 at 21:18
GenieGenie
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492077%2fhow-to-open-an-png-type-image-in-linux-terminal%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
What terminal program are you using? On what sort of machine? In what environment? it's possible you could just install something like
imgcat
depending on the answers to these questions.– DopeGhoti
Jan 2 at 19:55
Are you remoting in to the server? Do you have an xterm session running?
– Joe Healey
Jan 2 at 20:33
Yes, I am remoting in to the server.
– Genie
Jan 2 at 21:20