LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 14.2 will not allow change 'open with' property of image (https://www.linuxquestions.org/questions/slackware-14/slack-14-2-will-not-allow-change-open-with-property-of-image-4175668041/)

jrch 01-19-2020 05:41 PM

Slack 14.2 will not allow change 'open with' property of image
 
*OK so I 'SOLVED' the problem. But this should be unnecessary.

-----------------------------------------------
Still in Thunar (!) I 'copied' the file, making a new '...(Copy 1).png' file.
NOW the property 'open with - Geegie', which I had TRIED to make work in the original - came across and WORKS now (!!). It also works in the original.

As I said, this should not be necessary, and is by any definition a *bug*. But not worth the red tape to 'report' it.
------------------------------------------------

Using Slackware64 14.2 with xfce4. So my problem is with Thunar (file manager).

png image with me as owner, all privs. Set to open with GIMP.

I *CANNOT CHANGE* this. CANNOT make it 'open with Geegie' for instance, or any other viewer.

---
BUT - 'solved' as above.

jrc

termayto 01-19-2020 05:56 PM

In using KDE (or just using dolphin) you should be able to right click the file, click properties, then click the "File Type Options" button. From there you should be able to add, remove and change the order of programs used to open that file type by default.

In Xfce4 (or just using thunar) you should be able to right click on the file, click properties, then select from the "Open with:" list.

If that doesn't work, is it just this one file? just PNG files? or are you unable to change the default application for any files?

vtel57 01-19-2020 06:08 PM

Hmm... I have thousands of images that are .png on my system. I have no trouble at all opening them with Thunar/Geeqie. And I'm very sorry to hear that you don't care for The GIMP. There's good documentation out there for this app. Possibly you aren't aware of these sites:

https://docs.gimp.org/en/

https://www.gimp.org/

http://www.gimpology.com/

https://www.unixmen.com/30-great-tutorials-for-gimp/

https://www.gimpusers.com/

Getting back to your .png issues, though. I can't really help you without some more detailed information about what is actually happening when you try to open your .pngs. Can you post descriptions and/or screenshots? Where are your .pngs located on your system? In your /home/<username> directory or elsewhere? What permissions are set for these images? Any info you can give will help us help you.

Standing by...

vtel57 01-19-2020 06:18 PM

Quote:

Originally Posted by jrch (Post 6080490)
*OK so I 'SOLVED' the problem. But this should be unnecessary.


And I apologize for not completely understanding your issue here regarding the .png files.



Now that I see what you were talking about, I've tried on my own system to change the default viewer of .png images from Geeqie to Gwenview. All worked fine for me, so I'm just not sure what was causing the issue on your system.


Regards,


~Eric

Geist 01-25-2020 10:33 PM

For future reference:


To find out the 'mime type" of a file, if you don't know it yourself ( in this case a png ):
Code:

xdg-mime query filetype /tmp/a_png_file.png
This would return "image/png"

To find which application is currently the default for 'xdg-open' operations (aka, usually "most" things like double clicking stuff in a file manage)
For pngs, for example:
Code:

xdg-mime query default image/png
To set a default application:
In this case, open pngs with Krita
Code:

xdg-mime  default krita.desktop  image/png
Note: It might need a reboot, or at least a session restart (log out completely) to show the changes.
There is of course a better way for that but let's keep it like this for now, if you're a user who doesn't really care about keeping the computer up at all times.


All times are GMT -5. The time now is 05:51 AM.