Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 5173  / 3 Years ago, thu, september 2, 2021, 8:31:42

I don't want to expose my wallpaper to other people who share my computer, is there a way I can disable this feature or work around it?


More From » lightdm

 Answers
2

To Hide YOUR Wallpaper



First and foremost, it sounds like the wallpaper is sensitive. So you should make sure no one else can view it anyway, regardless of whether it's displayed on the greeter or not.



To prevent people from viewing your wallpaper file:




  1. Open the File Browser

  2. Navigate to the wallpaper file

  3. Right click on it

  4. Choose Properties

  5. Select the Permissions tab

  6. Under "Others", select the "Access:" dropdown and choose "None"



There. Now no one but you can view that file. And incidentally, this means the greeter can no longer display it as your wallpaper and will fallback to the default one.



To Hide ALL Wallpapers



sudo -u lightdm dbus-launch gsettings set com.canonical.unity-greeter draw-user-backgrounds false


Secret Bonus Trick for Showing a Different Wallpaper



If you'd like to display a different wallpaper on the greeter than you have as your own wallpaper, issue the following command in a Terminal:



id -u


Which will give you a number that represents your own user ID on the system. Now enter the following command:



dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/UserYOURID org.freedesktop.Accounts.User.SetBackgroundFile string:YOURWALLPAPER


Where YOURID is the user ID you just got and YOURWALLPAPER is a path to the wallpaper you want to use.



Now, if you change your desktop wallpaper after doing this, the greeter wallpaper will be reset to the desktop wallpaper. So you will have to enter this command again to maintain separate wallpapers.


[#40583] Saturday, September 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tusmuumu

Total Points: 195
Total Questions: 122
Total Answers: 104

Location: Oman
Member since Tue, Feb 7, 2023
1 Year ago
;