FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-08-2012, 03:23 PM
Dave Woyciesjes
 
Default change permissions to copy pictures into backgrounds

On 05/08/2012 11:14 AM, Thomas Blasejewicz wrote:



(2012/05/08 1:12), Colin Law wrote:

On 7 May 2012 17:05, Thomas Blasejewicz<thomas@s7.dion.ne.jp> wrote:

(2012/05/06 0:26), compdoc wrote:

What is the try, that will allow me to do so?

Not sure I followed everything you were saying, but if you need to
copy or
modify system files, (or root owed files) type into a term window: gksu
nautilus&

Also useful: gksu gedit&

Can you just explain very carefully what you are trying to do. Tell
us where the files are at the moment and where you are trying to copy
them to. Don't talk about the "backgrounds" folder, tell us exactly
where you are trying to copy to.

Colin

Well, this is really simply.
I have a folder that contains pictures I took myself and like to use as
wallpaper for my computers.
I want (a) either make this folder the DEFAULT location the computer is
looking for when I instruct it to change the desktop image,
or (b) to copy my pictures into the ubuntu default folder (if this is so
difficult to change ...)

my pictures are located in:
/home/thomas/pictures/wallpapers
owner: Thomas Blasejewicz
group: adm
I changed the permission for ALL pictures to "read and write", but that
did not help.

the "default folder" for wallpapers appears to be:
/usr/share/backgrounds
owner: root
group: root

* There was the question "why go through all this trouble?" I asked
myself this very question MANY times!
Maybe it is this crazy obsession of mine, that if something should be
very simple but I am still unable to succeed, "I want to know
(understand) why".
Apparently I am annoying many people with this attitude.
Please accept my apologies for that.
On the other hand, I am likely to continue asking stupid questions like
this one ...
Thomas

I'm not annoyed. Was just curious as to why, which you explained
clearly and makes sense. Thank.




--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-08-2012, 03:39 PM
Colin Law
 
Default change permissions to copy pictures into backgrounds

On 8 May 2012 16:14, Thomas Blasejewicz <thomas@s7.dion.ne.jp> wrote:
>
>
> (2012/05/08 1:12), Colin Law wrote:
>>
>> On 7 May 2012 17:05, Thomas Blasejewicz<thomas@s7.dion.ne.jp> *wrote:
>>>
>>> (2012/05/06 0:26), compdoc wrote:
>>>>>
>>>>> What is the try, that will allow me to do so?
>>>>
>>>> Not sure I followed everything you were saying, but if you need to copy
>>>> or
>>>> modify system files, (or root owed files) type into a term window: gksu
>>>> nautilus&
>>>>
>>>> Also useful: *gksu gedit&
>>>>
>>>> Can you just explain very carefully what you are trying to do. *Tell
>>>> us where the files are at the moment and where you are trying to copy
>>>> them to. * Don't talk about the "backgrounds" folder, tell us exactly
>>>> where you are trying to copy to.
>>>>
>>>> Colin
>
> Well, this is really simply.
> I have a folder that contains pictures I took myself and like to use as
> wallpaper for my computers.
> I want (a) either make this folder the DEFAULT location the computer is
> looking for when I instruct it to change the desktop image,
> or (b) to copy my pictures into the ubuntu default folder (if this is so
> difficult to change ...)
>
> my pictures are located in:
> /home/thomas/pictures/wallpapers
> owner: Thomas Blasejewicz
> group: adm
> I changed the permission for ALL pictures to "read and write", but that did
> not help.
>
> the "default folder" for wallpapers appears to be:
> /usr/share/backgrounds
> owner: root
> group: root

Are you sure it is not /home/thomas/Pictures/wallpapers? Case is
important in Ubuntu

Well that is very easy, open a terminal. If you don't know how to do
that then click the Super key (this often has the Windows logo on it)
and type terminal in the search bar and you should see the Terminal
icon appear, click on that. Then in the terminal type

sudo cp pictures/wallpapers/* /usr/share/backgrounds
you will be asked for your password. Obviously if it is actually
Pictures then use that.
The command sudo tells it to use root permissions to do the cp (copy)
command and the * means all files in that directory.


>
> * There was the question "why go through all this trouble?" I asked myself
> this very question MANY times!
> Maybe it is this crazy obsession of mine, that if something should be very
> simple but I am still unable to succeed, "I want to know (understand) why".

The reason people are confused about why you want to do this is that
you can easily choose pictures from your wallpapers directory in the
Change Desktop Background dialog. You have continuously failed to
explain why you don't just do that.

> Apparently I am annoying many people with this attitude.
> Please accept my apologies for that.
> On the other hand, I am likely to continue asking stupid questions like this
> one ...

No-one minds you asking questions, it is the fact that you have not
explained why the previous attempts to help have not satisfied you but
just keep asking the same question again.

Colin

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-08-2012, 04:11 PM
"compdoc"
 
Default change permissions to copy pictures into backgrounds

> owner: Thomas Blasejewicz

I don't understand that. In the Linux distros I've known, you cannot have a
user name that contains capital letters. Nor have I ever seen a username
containing 2 names separated by a space.

Maybe you're being too descriptive, and 'thomas' is the actual owner?


> the "default folder" for wallpapers appears to be:
>/usr/share/backgrounds
>owner: root
>group: root

If the folder is owned by root, then use sudo to move any files into that
folder, and change permissions if necessary...



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-08-2012, 04:22 PM
Mika Suomalainen
 
Default change permissions to copy pictures into backgrounds

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

08.05.2012 19:11, compdoc kirjoitti:
>> owner: Thomas Blasejewicz
>
> I don't understand that. In the Linux distros I've known, you
> cannot have a user name that contains capital letters. Nor have I
> ever seen a username containing 2 names separated by a space.
>
> Maybe you're being too descriptive, and 'thomas' is the actual
> owner?
>
>
>> the "default folder" for wallpapers appears to be:
>> /usr/share/backgrounds owner: root group: root
>
> If the folder is owned by root, then use sudo to move any files
> into that folder, and change permissions if necessary...
>
>
>

You can create users and groups with capital letters if you use
- --force-badname flag with adduser.

- --
Mika Suomalainen
gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728
Key fingerprint = 24BC 1573 B8EE D666 D10A AA65 4DB5 3CFE 82A4 6728
http://mkaysi.github.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPqUhbAAoJEE21PP6CpGco64AP/1ro8c6aHHaAfxFfBT/ipsy+
hq4GbT9LSbCEZILjOptKSGl8O4Q4f8OsDG/DaOUrsCo1O+7NJpwRKQGHtp5VUHE1
+GeeGjZSBcT9JCAKGS1petA+75FWeLCLCMb+gDfwAgjTepKtXI DZ55i88i5HD20S
UbU3sZuE/cnwK0+E+jXGXJPHaFcPr+ugRiVSlfwdsBa2EAGrkF6yYC8nU6P iMnr1
UNmxZWJhHPf5t1ydP5SXsY6j81dku2eKcFVys4VLCPMJv32soO ovs3Tp5fQXOPj9
Sbx4uSPL3QQbfpvZMoQ6+qWl/qFLYUyKtmtjhwFjayatNPUqp7ZbyqX0Mfb0AhfE
uWkyjtkb+6u0wG4q+kOlPxIf7LtDlY6KEz7BC8SQ6tLJy9PmJ/J2NLUm7p1pW8tJ
D4M2aZGiRctrby9EvZhQDXLD9SlMhlYt+0yOvp7Y2+JzVSj7jY jfZUiwZQ3Hka1g
mT+86HVYFASdx2JuRpfcSdv9hYJkFJXF1cB5/O+CMm0D7whvyFPccJ38+0c2Llxk
r/n6cUXBjHBz2FCBNWaEjkgDMY9v2oUz0RsP9M3N+hNBILFtj9NN px8DUV7K30e6
J8nUn2hJU/C83KHY8W7nq2EGqbkAeA8VJQ/k2UJReYJreKoZKZnZ9qpHYrGrK6/t
3EI7PohcZysE8yY+yx7U
=eMsC
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-08-2012, 04:39 PM
Thomas Blasejewicz
 
Default change permissions to copy pictures into backgrounds

(2012/05/09 1:11), compdoc wrote:

owner: Thomas Blasejewicz

I don't understand that. In the Linux distros I've known, you cannot have a
user name that contains capital letters. Nor have I ever seen a username
containing 2 names separated by a space.

Maybe you're being too descriptive, and 'thomas' is the actual owner?



the "default folder" for wallpapers appears to be:
/usr/share/backgrounds
owner: root
group: root

If the folder is owned by root, then use sudo to move any files into that
folder, and change permissions if necessary...

Click on the "Pictures" folder that was already there (I did not create
it) and look at properties:

thomas - Thomas Blasejewicz
THAT is what I get on my screen as "owner"

>> "use sudo to move any files ..."
I am trying (for hours already), but have no success at all.

hold on ... I have just (for reasons unknown) succeeded in copyint my
pictures.

Fine.

BUT, they do NOT show up when I open "Appearance -> Look -> Wallpapers
Only those "default images" show.
Why?



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-08-2012, 08:53 PM
Colin Law
 
Default change permissions to copy pictures into backgrounds

On 8 May 2012 17:39, Thomas Blasejewicz <thomas@s7.dion.ne.jp> wrote:
> (2012/05/09 1:11), compdoc wrote:
>>>
>>> owner: Thomas Blasejewicz
>>
>> I don't understand that. In the Linux distros I've known, you cannot have
>> a
>> user name that contains capital letters. Nor have I ever seen a username
>> containing 2 names separated by a space.
>>
>> Maybe you're being too descriptive, and 'thomas' is the actual owner?
>>
>>
>>> the "default folder" for wallpapers appears to be:
>>> /usr/share/backgrounds
>>> owner: root
>>> group: root
>>
>> If the folder is owned by root, then use sudo to move any files into that
>> folder, and change permissions if necessary...
>>
> Click on the "Pictures" folder that was already there (I did not create it)
> and look at properties:
> thomas - Thomas Blasejewicz
> THAT is what I get on my screen as "owner"
>
>>> "use sudo to move any files ..."
> I am trying (for hours already), but have no success at all.
>
> hold on ... I have just (for reasons unknown) succeeded in copyint my
> pictures.
> Fine.
>
> BUT, they do NOT show up when I open "Appearance -> Look -> Wallpapers
> Only those "default images" show.
> Why?

You are doing it again, completely ignoring some posts and not
explaining why you can't just use the Change Background app to select
pictures from the Pictures folder (which I see /has/ got a capital P
even though you posted it previously lower case. Perhaps that is why
you were having problems.

Few people care whether putting pictures into /usr/share/backgrounds
makes them appear automatically as most just browse from the Change
Background app and select them from wherever they are on the PC.

Colin

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-09-2012, 06:11 AM
Patrick Asselman
 
Default change permissions to copy pictures into backgrounds

On Wed, 09 May 2012 00:14:58 +0900, Thomas Blasejewicz wrote:

(2012/05/08 1:12), Colin Law wrote:
On 7 May 2012 17:05, Thomas Blasejewicz<thomas@s7.dion.ne.jp>
wrote:

(2012/05/06 0:26), compdoc wrote:

What is the try, that will allow me to do so?
Not sure I followed everything you were saying, but if you need to
copy or
modify system files, (or root owed files) type into a term window:
gksu

nautilus&

Also useful: gksu gedit&

Can you just explain very carefully what you are trying to do.
Tell
us where the files are at the moment and where you are trying to
copy
them to. Don't talk about the "backgrounds" folder, tell us
exactly

where you are trying to copy to.

Colin

Well, this is really simply.
I have a folder that contains pictures I took myself and like to use
as wallpaper for my computers.
I want (a) either make this folder the DEFAULT location the computer
is looking for when I instruct it to change the desktop image,
or (b) to copy my pictures into the ubuntu default folder (if this is
so difficult to change ...)

my pictures are located in:
/home/thomas/pictures/wallpapers
owner: Thomas Blasejewicz
group: adm
I changed the permission for ALL pictures to "read and write", but
that did not help.

the "default folder" for wallpapers appears to be:
/usr/share/backgrounds
owner: root
group: root

* There was the question "why go through all this trouble?" I asked
myself this very question MANY times!
Maybe it is this crazy obsession of mine, that if something should be
very simple but I am still unable to succeed, "I want to know
(understand) why".
Apparently I am annoying many people with this attitude.
Please accept my apologies for that.
On the other hand, I am likely to continue asking stupid questions
like this one ...
Thomas


It's always good to ask questions :-)

Part of the answer probably lies in the background of Linux. It is
designed as a multi-user system. That is why security of files is always
used. Think of a system with 50 users, and 3 of those area allowed to
change system settings. You don't want all of those users changing
pictures in a shared directory. This is where the ownership of files
comes in, and users and user-groups.


Mind you, this old design is not always handy. Even the founding father
of Linux has been pulling his hair out asking why he needed
administrator rights to setup a wifi connection on his laptop. But
computers are still stupid machines, so the laptop does not know it is
only serving a single user who changes only the wifi bit of the network
settings. It is in the design of the system.


With this in mind, hopefully you can understand a bit better why things
work the way they do.


Best regards,
Patrick Asselman

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-09-2012, 09:52 AM
Thomas Blasejewicz
 
Default change permissions to copy pictures into backgrounds

(2012/05/09 5:53), Colin Law wrote:
You are doing it again, completely ignoring some posts and not
explaining why you can't just use the Change Background app to select
pictures from the Pictures folder
Thank you for pointing that out. I did figure out before posting my
question, that I CAN get my pictures from elsewhere, but ...

in my original post I also wrote:
"I would love to have the option (apparently not available) to CHOOSE
the default folder for my wallpapers. If that is not possible, I would
like at least to be able to copy a

little something into the default folder."
The reasons for my personal preferences are not really of any concern here.

On the Ubuntu website one of the first things you see, is:

http://www.ubuntu.com/ubuntu/features
"Your Ubuntu, your way
Enjoy the simplicity of Ubuntu's stylish, intuitive interface. Ubuntu
gives you a clean and streamlined experience that you can really make
your own."


I SIMPLY (simplicity!) asked how to do one little thing MY way. Just as
the site suggests I CAN do.


Since this is not about technical matters any more, I would prefer, with
your permission, not to pursue the subject any further.

Sorry for the inconvenience.
Thomas Blasejewicz

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-09-2012, 09:55 AM
Thomas Blasejewicz
 
Default change permissions to copy pictures into backgrounds

(2012/05/09 15:11), Patrick Asselman wrote:

It's always good to ask questions :-)

Part of the answer probably lies in the background of Linux. It is
designed as a multi-user system. That is why security of files is
always used. Think of a system with 50 users, and 3 of those area
allowed to change system settings. You don't want all of those users
changing pictures in a shared directory. This is where the ownership
of files comes in, and users and user-groups.


THANK YOU!!!
Now, THAT explains a lot and makes it easy to accept, that I cannot do
here what I originally wanted to do.


No further questions.
Thomas Blasejewicz


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-09-2012, 11:09 AM
Gilles Gravier
 
Default change permissions to copy pictures into backgrounds

Hi!

On 09/05/2012 11:55, Thomas Blasejewicz wrote:
>
> (2012/05/09 15:11), Patrick Asselman wrote:
>> It's always good to ask questions :-)
>>
>> Part of the answer probably lies in the background of Linux. It is
>> designed as a multi-user system. That is why security of files is
>> always used. Think of a system with 50 users, and 3 of those area
>> allowed to change system settings. You don't want all of those users
>> changing pictures in a shared directory. This is where the ownership
>> of files comes in, and users and user-groups.
>
> THANK YOU!!!
> Now, THAT explains a lot and makes it easy to accept, that I cannot do
> here what I originally wanted to do.

Imagine that one of those 50 users decides they want a porn wallpaper
and puts it in the system folder. Now imagine that out of those 50
users, say 20 or so are very young kids, and that each of them wants to
put a nice and friendly wallpaper on their own home screen and start
browsing the list of available system wallpapers. Imagine explaining
that to a judge afterwards.

No. You don't really want that. You want only responsible (in the sense
of responsible of managing the machine, and making judgement calls as to
what is appropriate to share) to be able to do things that impact all
other users. And you want these actions to be accounted for (logged).

Hence the permissions issue. Not an issue. A design feature for system
security and integrity.

Gilles.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:44 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org