Page 1 of 1
Global icons generator
Posted: Sun Apr 07, 2024 11:41 pm
by AntonioPt
Hello all while i was running LunarPup and HunPup i notice that the file globicons in /root/Choices/ROX-filer/globicons and /root/.config/rox.sourceforce.net/ROX-filer/globicons have some wrong info about the files and paths so i decide to make a globicons generate to fix that issue
If you find bugs,.... please let me know and if you think this could be useful feel free to use it and abuse it
Test it in HunPup LunarPup FossaPup Fossa_CE and LXpup
The code below
Path of globicons updated thxx to @MochiMoppel
export GI_1="/root/Choices/ROX-Filer/globicons"
export GI_2="/root/.config/rox.sourceforge.net/ROX-Filer/globicons"
List of icons updated + add it more mess now need to understand what devices i have plugin to set and implement right icons all so since this script is ain't doing that yet
Re: Global icons generator
Posted: Mon Apr 08, 2024 1:24 am
by MochiMoppel
AntonioPt wrote: Sun Apr 07, 2024 11:41 pm
Hello all while i was running LunarPup and HunPup i notice that the file globicons in /root/Choices/ROX-filer/globicons and /root/.config/rox.sourceforce.net/ROX-filer/globicons have some wrong info about the files and paths so i decide to make a globicons generate to fix that issue
- Firstly: Nice and tidy code
- Secondly: Does not work. I don't know "LunarPup" or "HunPup", but are you sure that the paths are /root/Choices/ROX-filer/globicons and /root/.config/rox.sourceforce.net/ROX-filer/globicons? ROX-Filer is written with capital F
- Thirdly: It's dangerous because it overwrites any existing globicons file without asking. Seldom what a user appreciates.
- Fourthly: Why does it bail out with message "JWM ain't running so this will not work" when JWM is not running? What does JWM have to do with all this?
Re: Global icons generator
Posted: Mon Apr 08, 2024 3:24 pm
by AntonioPt
Re: Global icons generator
Posted: Tue Apr 09, 2024 12:42 am
by MochiMoppel
AntonioPt wrote: Mon Apr 08, 2024 3:24 pmAnd Finaly JWM well Global icons from what i get it are rules that are control by JWM or im wrong ?
Yes.
Re: Global icons generator
Posted: Tue Apr 09, 2024 10:14 am
by AntonioPt
Hello all,
Just realize didn't add full filst of icons now updated it i all so add extras messages of error now need to understand to implement right icons according if is usb, sdcard,.....
@MochiMoppel afater reading your post,... i made more test,... and i realize i just need globicons in /root/.config/rox.sourceforge.net/ROX-Filer/globicons so my question to you "if you know the anser" is why is there 2 globicons in different places ?
and you are right after a few more tests,... i notice dont need jwm to update icons,...
Re: Global icons generator
Posted: Wed Apr 10, 2024 1:04 am
by MochiMoppel
AntonioPt wrote: Tue Apr 09, 2024 10:14 am i realize i just need globicons in /root/.config/rox.sourceforge.net/ROX-Filer/globicons so my question to you "if you know the anser" is why is there 2 globicons in different places ?
Because Puppy devs love to ride dead horses? Seriously, I don't know. ROX deprecated the /root/Choices location for its configuration files many, many years ago. It now adheres to the XDG standard and uses the XDG_CONFIG_HOME variable to determine the config location. Usually XDG_CONFIG_HOME is set to /root/.config. . In order to maintain backward compatibility ROX can still read /root/Choices/ROX-Filer/globicons if /root/.config/rox.sourceforge.net/ROX-Filer/globicons does not exist, but it will not write to this outdated location. For any change a user makes ROX will create /root/.config/rox.sourceforge.net/ROX-Filer/globicons if it doesn't exist. So there is no good reason to keep this stuff in /root/Choices. Or is it Nostalgia?