NITDgpOS / UIP

A library, to customize your desktop wallpapers.
https://nitdgpos.github.io/projects/UIP
GNU Affero General Public License v3.0
19 stars 45 forks source link

Unable to change wallpapers due to root access issue #142

Closed akshatnitd closed 7 years ago

akshatnitd commented 7 years ago

.uip needs root access to download images into it. Also even if called using sudo it does download images but is unable to change the wallpaper . So, we need to change the directory location.

nemani commented 7 years ago

Change the default folder from ~/.uip to ~/uip-pics or similar

hackrush01 commented 7 years ago

It is still not working without sudo command. I have checked the program in a debian flavor.

abhay-raizada commented 7 years ago

@hackrush01 can you post a tracback? it might be an issue specific to you? it works for me on Ubuntu 16.0.4

hackrush01 commented 7 years ago

It is not an error of that sort. Everything is working fine. it even displays changing wallpaper but doesn't change it.

abhay-raizada commented 7 years ago

can you open a new issue regarding this? please add which how you installed UIP, and what OS you are running?

hackrush01 commented 7 years ago

I already have a fix. Does it need a new issue?

abhay-raizada commented 7 years ago

@hackrush01 i'm not sure that fix changes anything cause we have 777 permissions on all folders. We need to get to the source of the problem before applying random fixes right? and if we then find your fix the best solution we merge that?

abhay-raizada commented 7 years ago

FWIW i have Ubuntu 16.04 and it worksperfectly for me

hackrush01 commented 7 years ago

Looks like it is fixed. I reinstalled using setup.py install and it worked. Earlier it created the .uip directory in the /root folder. This time it created it in the home folder. Sorry.

abhay-raizada commented 7 years ago

pip version is broken for ubuntu i'll do a new release once: #187 and #185 are merged

hackrush01 commented 7 years ago

I didn't do a pip install. And I was using Kali Rolling 2016.2.