-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numix-folders setting changes with upgrade. #101
Comments
@Foggalong I thought about this, and I guess there is a way to do this:
All that's necessary to do this is that |
While this issue is a duplicate of #45, #47 (comment), #64 and #99, we might just address this here. It is apparent that there is a demand for this kind of feature. I am still not sure whether the method that @wa4557 proposed will work on all distros, or whether this would be specific to updating e.g. via PPA/AUR/copr. How about cloning from GitHub? An alternative way to address this might be to still have to run the numix-folders script, but to have the script itself provide an option for the last setting, e.g. by entering "lastrun" for the style and be done. An additional advantage of such an approach would be that Numix base and Numix-Circle stay "independent" of numix-folders in the sense that Numix base and Numix-Circle would not have to include a numix-folders postinstall. A disadvantage of such an approach would be that the numix-folders script would have to be triggered manually every time Numix base or Numix-Circle updates e.g. via PPA, which can mean on a daily basis. |
@dirtydancing @wa4557 i think the best way is to proive a GUI for numix-folders so the user can save the settings in the configuration file |
@bil-elmoussaoui @wa4557 @Himanshu-Mishr : |
The problem with that script is that it's Ubuntu dependent, so we can't implement that as the solution. As others have mentioned it might be a good idea to implement the save feature along with the GUI as both will require a bit more substance in terms of a proper install method |
@Foggalong |
I will do that using Python if everyone is ok with that. If anyone have an idea of a possible features or a design of the GUI please share it here.
|
I guess python is not really necessary here (since the whole script is written in bash), a simple zenity GUI would be sufficient. I'd do it but unfotunately I'm extremely busy at the moment :( |
I have no idea how zenity woks, but i will give it a try this weekend.
|
I am not in development of this repo but I would say saving user's settings somewhere ( in ~/.config ) and using it while upgrading, would be better idea. If config file not present then you can go with default settings. Keep it simple. |
Yeah, decided I'm gonna keep this open. Enough people have requested it now that it's clearly something people want :P |
CC: @paolorotolo |
A config file in And I too am requesting this, I'd prefer not to have to re-assign folder colors several times per week. Thanks! |
@xhn35rq there exists a config file already and running the script with |
Should this then not be added to Numix-Circle as well? Numix base encompasses the folder icons, but Numix-Circle encompasses the file manager icon which also changes according to the folder style. |
True. |
👍 |
As a note, people using git based installations don't need to worry about this problem anyway since git updates don't cause this problem |
@wa4557 Thanks for that info, but I don't want to run this script after every apt-get update. I just want my existing settings to stay the same. 😄 |
@Foggalong I am not sure what you mean with "git based installations don't need to worry about this problem". E.g. with Arch/GNOME, when I run This seems to imply that also the AUR packages would need to include some kind of postinstall routine. |
woah really? I use raw git for managing my Numix install and it doesn't reset so I assumed AUR would be the same. Unfortunately we don't administrate the AUR packages so it's up to the maintainer there to add it. They do occasionally popup on the GitHub though so they might see this :) |
Yeah, I am not really sure at this point if this is about the AUR package itself, because with git-based AUR packages, they often do not update with versionless "rolling" git projects, but you can still update the git version with the |
But still, adding to base and circle postinstall is a good idea, regardless of the situation for arch packages |
Oh yeah, we'll definitely add it for the PPA :) |
+1 folders settings resets to default upon update. any new status on this? |
No update as of yet. @paolorotolo will probably announce it here when done :) |
Solved it like this:
|
All this talk about package manager hooks and more root entrenchment, when all of this could just be solved by creating a theme in Is there a reason this method has been so aggressively avoided? Like, not even mentioned by anyone in this thread? |
@TiZ-EX1 I'm already working on a new version of Numix Folders that doesn't require root permissions. As with the modifications done to /usr/share we can't really have an official package of it on any distro, netiher a flatpak/snap package. |
A new version, huh? Well, this current one (at least the part that does all the work) is written in bash, which I am fairly good at (Don't know if that's a good thing). I'll try to grok it and see what it would take to make it just write the customized icons to |
It shouldn't be too hard 👍 The new version won't include only this modification, the way the ui was created at first isn't perfect; the code is a little mess and should be cleaned a bit :) |
I just realized that this script modifies Numix-Circle and Numix-Square as well, which makes this a little less straightforward. What would be nice is if user overrides for specific icons could be placed into user directories. I know that userspace apps place icons into "$HOME/.local/share/icons/hicolor", and expand/override parts of the fallback theme that way. If I try to override Numix in that manner (test case is replacing the current oversized wired network icon with the old one), it doesn't seem to work. |
@TiZ-EX1 Yeah, that's why we'd not just done that :P Inheritance trees are a minefield especially when you're wanting to make modifications to multiple themes |
Every time I upgrade numix icons via package manager, settings that I have set for numix-folder gets changed to its default values and colors. How to make my settings permanent ?
The text was updated successfully, but these errors were encountered: