Could not paste files

Hello,

I want to put an image into the usr/share/gimp folder but I get an error message.

Untitled

how can I get all permissions?

Hello,

As i see it you are on Gnome. In your opened Files, right click and chose Open as Administrator then enter your password. Now you will have permissions to write/paste files.

But, why not use your home directory for custom stuff for GIMP ?

But, why not use your home directory for custom stuff for GIMP ?

Because it’s the splash screen which I want to change from Gimp. The image you see when you start Gimp.

I right clicked on the folder where I want to put the file into it but there is no " Open as Administrator" option.

ok try this lets say you have the image you want to use in your pictures folder, open up terminal type in sudo mv ~/Pictures/[filename] usr/share/gimp/2.0/images

~ >>> sudo mv ~/Pictures/newsplash usr/share/gimp/2.0/images [1]
[sudo] password for orbital:
mv: cannot stat ‘/home/orbital/Pictures/newsplash’: No such file or directory
~ >>>

I think you mean /usr, not usr.

sorry typo sudo mv ~/Pictures/[filename] /usr/share/gimp/2.0/images missed out the / before usr

1 Like

~ >>> sudo mv ~/Pictures/newsplash /usr/share/gimp/2.0/images
[sudo] password for orbital:
mv: cannot stat ‘/home/orbital/Pictures/newsplash’: No such file or directory
~ >>>

you are missing the file type on the newsplash eg .png . jpg

~ >>> sudo mv ~/Pictures/newsplash.jpg /usr/share/gimp/2.0/images
[sudo] password for orbital:
mv: cannot stat ‘/home/orbital/Pictures/newsplash.jpg’: No such file or directory
~ >>> [1]

are you sure the name of the file is exactly newsplash.jpg has to be the same in the command

sas

I want to put newsplash.jpg to the Gimp /images folder.

Doh, internationalized folder names. I’m sure you can work that one out yourself!

I did that but it was the same result.

I’m sorry it actually worked when I typed this into the terminal:

sudo mv ~/Bilder/newsplash.jpg /usr/share/gimp/2.0/images

I have one question how can I delete the same file? I can’t delete with the key or right-click in that folder.

depends where the file is for example in that gimp folder sudo rm /usr/share/gimp/2.0/images/[file name]

1 Like

mv > move
rm > remove

and rename > ???

Files outside your home directory are owned by other users, most often root. So as explained by @bogdancovaciu earlier, you need super-user/administrator privileges. That’s what sudo is for when using commands.


mv [oldFile] [newFile]