[SOLVED] Storing a rotated picture works in Cinnamon, but not in Mate.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Storing a rotated picture works in Cinnamon, but not in Mate.
When I started with Linux Mint I used Cinnamon.
I rotated a picture and saved it, which worked allright.
To compare Cinnamon with Mate I have now Mate installed.
But when I open a picture and try to rotate it, it does not work.
Why can I save a rotated picture in Cinnamon, but not in Mate?
Cinnamon/Mate is the desktop environment. The desktop environment does not rotate or save pictures.
When you open a picture, it is being opened in another program, and chances are whatever program Mate defaults to cannot save the rotated picture, while whatever program Cinnamon defaults to can.
We need a lot more details to provide any more information than that...what type of picture are you opening/saving? What program is it being opened in?
Cinnamon defaults to "Gnome Image Viewer".
Mate defaults to "Eye of MATE".
Both have a rotate button in the toolbar, and both look almost the same.
Which leads me to believe you may need to describe in a little bit more detail what you mean with
Quote:
But when I open a picture and try to rotate it, it does not work
I suspect that you are actually using a tool which is able to rotate images, but fails because of other reasons.
Are you maybe rotating successfully, but getting an error message when trying to save the rotated image? If that is the case, please post what the message says.
Or does the tool suggest to have saved successfully but when you open the image again it's not rotated as you would expect?
Additional helpful information would be:
Which Release of Linux Mint are you using?
Which image viewer are you using? You can find out by going to Help->About in the viewer's menu.
Where is the image located that you are trying to save? I am asking because if it is located somewhere where you do not have write permissions that may well be the reason why you can't save it. You can right-click the file and choose "properties", then select the "Permissions" tab. Are you the owner of the file? Do you have read / write access?
Hereby I hope to answer all your questions.
1. My OS is Linux Mint Mate 17.
2. Looking at the image properties I do have read and write access.
3. The image is on the desktop.
4. Double clicking on the image starts "Eye of MATE 1.8.0", with which, according to the menu, you can browse and rotate images.
5. When I click on the rotate icon it does rotate the image without any errors.
6. When I want to terminate Image Viewer it does ask me if I want to save changes to the image before closing.
7. When I push the Save button I donīt get an error so I would expect everything to be all right, but I see immediately on the image icon on my desktop that it has not been rotated.
Maybe I'm nitpicking--yes, I am, but details matter--after noticing the unchanged icon, have you clicked on it to make sure the picture itself is still unchanged?
Have you tried rotating the picture in another program, such as the GIMP (on the menu, Image-->Rotate or Tools-->Transform-->Rotate). That might help narrow down the scope of the problem.
After the rotate command and "saving" the JPG file in "Eye of MATE Image Viewer" (OS MATE 32) the picture still had the original position when I opened it again.
Though I did not get an error message when "saving" the file, file properties did not changed, so apparently saving had not taken place.
Rotating in GIMP went alright and when I saved the GIMP image as a PNG file I could also rotate the PNG image in "Eye of Mate Image Viewer".
So it looks like that the "Eye of Mate Image Viewer" cannot rotate JPG files, but can rotate PNG files. Could that be so?
Because I was curious how this happened in Cinnamon 64 I have installed Cinnamon 64 alongside Mate 32 (both LTS 17 version) on my PC.
The same JPG file that could not be rotated in "Eye of MATE Image Viewer" could be rotated in the "Eye of GNOME Image Viewer" of Cinnamon 64.
You might wonder why I use the Mate 32 version, while I also use the Cinnamon 64 version.
Reason is that I want to install Mate 32 on older computers and so I can compare it with the Cinnamon 64 version on my own PC.
I reproduced this in a virtual machine running Mint 17 Mate. This seems to be a bug indeed. Funny thing is I also installed other image viewers. gpicview says "Bogus virtual array access" in the terminal it was launched from when trying to save a rotated picture. gthumbview even crashed when trying to rotate a jpeg. Pretty weird...
After uninstalling Eye of mate and installing Eye of Gnome and Eye of gnome debug symbols it finally worked.
And see if this helps... I should say I fiddled around with other viewers a bit, so I can't be 100% sure what eventually fixed it. But it would seem reasonable that the above suggestion could help.
Note you might have to adjust your settings for jpg images to be opened by eog (Eye of Gnome) by default now. You can do this by right-clicking a file, then choosing properties, then go to "opens with" and choose the eog image viewer...
I didn't even have to adjust the settings for JPG files.
I don't know anything about termial code, so what happened in the terminal window I haven't got an idea.
So one final question: do you have a suggestion for a Newbie to learn a bit more about this?
Thanks very much.
So one final question: do you have a suggestion for a Newbie to learn a bit more about this?
Thanks very much.
In this particular case you could search the web for the commands that solved your problem and try understanding them.
By the way you should *always* do this before running any commands someone tells you to run.
In general it's always the same: Search the web for problems you are having, and try to understand the solutions offered. Read man-pages. And obviously come here for help when you are stuck...
The command line is useful for remote support because it is easier to give instructions then trying to guide you through GUI dialogs. Plus cli instructions are typically more generically applicable to different systems.
I have noticed that not all programs want to save files back to the same directory that the file came from. I wonder if Eye of Mate is saving the picture that you got from 'Desktop' and (after you have rotated it) saving it to "pictures' or 'photos'. Or changing the name so as not to delete the the original.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.