On Feb 6 2014 11:32 AM, John Morris wrote: > On 02/03/2014 09:54 AM, Sebastian Kuzminsky wrote: >> On 2/2/14 16:22 , Chris Morley wrote: >>> For some of the new screens that favour touch screens, >>> it is desirable to use a theme that make the scroll bar >>> wider. >>> >>> I would like to add a theme to the linuxcnc package that >>> is an example of this. >>> >>> I'm not sure what the proper way to do this is. >>> I guess in a RIP, use a system link, otherwise install it?? >>> themes are stored in /use/share/themes and require root >>> to add. > > What about ~/.themes?
There is enough configuration stuff with LinuxCNC, that we should have a configuration directory (which I am pretty sure we do), so how about: ~/.linuxcnc/themes >>> Anybody got suggestions/comments >> >> It's awkward to mix rip builds and system modifications of this >> kind. >> >> LinuxCNC requires a number of system modifications, most notably the >> ulimit memlock increase in /etc/security/limits.d. If you wanted to >> add >> more system modifications, that would be the least-worst model to >> follow. >> >> Look at John Morris' check-system-configuration.sh script in his >> zultron/ubc3-dev branch for how to detect missing system >> modifications >> and inform the user on how to (ill-advisedly!) hand-modify their >> system. > > I don't know anything about GTK themes, but in general, RIP builds > should not install anything outside the source tree. The checks Seb > pointed to inform the user at build time. Are there run-time checks > that could be made in addition/instead? I would add them. I would also populate the users ~/.linuxcnc the first time the user runs LinuxCNC and the ~/.linuxcnc is non-existant. I typically run on multi-user systems and design software that first goes to a standard configuration directory (say /etc/linuxcnc/*) and then will overlaod those with user preferences if there is something there like ~/.linuxcnc. Hope that helps, EBo -- ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers