is it possible to add new background images to the /usr/share/background ?
I tried to move images I downloaded from the Download directory as the user to the /usr/share/background but failed.
is it possible to add new background images to the /usr/share/background ?
I tried to move images I downloaded from the Download directory as the user to the /usr/share/background but failed.
You have to have a root privilege to move files into the system directories.
You can do so by starting Nautilus as a root:
sudo nautilus
It is also possible to add this function to the Nautilus itself:
https://ubuntuhandbook.org/index.php/2020/04/open-as-administrator-ubuntu-20-04/
Opening graphical applications with sudo can cause permission problems that are not east to fix. Use the following instead. sudo -H nautilus
You can also install nautilus-admin which will give a password prompt in the context menu. There may also be size and file extension requirements for adding wallpaper to usr/share/backgrounds
Was it?
I've never had any problem for opening Nautilus, Gparted and Synaptic this way.
I have no idea how it gonnabe in other GUI applications since the above three apps are about the only ones I open with sudo.
I have already posted the link above for how to install nautilus-admin (or other file managers).
Quoted from your article you posted by the author states :
Running graphical programs using sudo in Ubuntu is basically fine – in many cases. But, doing so is insecure, as you could potentially allow other running GUI apps root access; not just the program you are running! This is probably down to a few freak cases, however, and I have not encountered any problems myself.
Problems arise and solutions are found or given.
as stated FREAK cases happen but it is VERY few. The individual say I have not encountered any problems myself.
I saw the link but have you experienced any problem in person?
Actually I am now curious to hear the other volunteers' opinion about this subject.
@Aravisian @StarTreker @swarfendor437 @zabadabadoo @337harvey
Have you experienced any problem opening Nautilus with sudo?
I have not- because I do not do it.
Running the Graphical Nautilus with sudo creates several permissions issues. Sudo is Root but you are opening the Home Folder as Root when you do that.
While it does create a security issue, the primary concern - that article notwithstanding - is in file permissions being nixxed. And fixing it is not easy.
You can do:
sudo -i
THEN launch Nautilus
Or
///admin
OR pkexec
OR
@FrenchPress 's usual recommended
sudo apt install nautilus-admin
Then have access to open as root from the right click context menu.
I recommend this last option. Nemo File manager comes with it and I use it regularly.
That is good to know.
In fact, after I installed nautilus-admin, I seldom do it.
That is one nice thing about XFCE.
Thunar already has this function pre-installed.
Yes, I do not know why pkexec has to be manually configured to work with Nautilus but doesn't with everything else.
The best file manager is Thunar for me.
One reason I am patiently waiting for Zorin Lite.
Using sudo is one of those things that is normally not a problem until it is. Permission problems do and have happened though rare it should be noted. Getting back on topic, as remember there is more to adding wallpapers to the root background folder than just adding the images.
Must be a Gnome thing.
On Zorin OS Lite, just toss whatever images whereever you want to... In home folder, pictures folder...
Then open the wallpaper settings and point to the directory that contains the pictures you want to use as wallpapers and pick one.
No, I have encountered users on Ubuntu forums that have and could not get into their own files.I was told by an experienced user 10 years ago that it was best to avoid using sudo for GUI applications. I first used gksudo which is now depreciated and other alternatives already noted in this thread.
Dear Mongoose, perhaps I was to eager.
You can just copy them to /Home/.local/share/backgrounds.
and do the ALT + F2 + r thing to refresh the desktop.
No sudo privileges needed and no xml files to adjust, which I suggested in my previous message.
Same here.
I still do not understand the logic behind the removal of this command.
@Aravisian do you have any idea?
Gksudo had some security issues that while not major, had enough presence to nag the developers minds. The current PolicyKit we use now was preferred.
Gksudo was deprecated with PolicyKitExectuable replacing it - pkexec
I am going off memory and this may not be fully accurate. @swarfendor437 may know more than I do. I asked him at the time and he explained it to me.
I've discovered that what must have been a system update on my Desktop install of Devuan 3.1.1. I had setup with a separate root password and to install stuff would have to su in the terminal. They now use pkexec in the background so when I launch synaptic I have to use my user password, not root. I suspect that there was/is an issue with sudo in general, not just gksudo.
Much easier in KDE on Zorin - Right click, Configure Desktop | Wallpaper | Add image ... Pictures folder opens:
Alternatively, Get New Wallpapers ...
Then left mouse-click on desired wallpaper and click on Apply.
I found in Zorin 16 gnome when I used my own images from the pictures, a folder named wallpapers was created in the pictures directory and I simply load them into background settings from there.
Does not work on my Zorin 16 gnome. How did you do this?