On Wed, Jan 11, 2012 at 16:25:07 +0100, Jakub Wilk wrote: > >>When I unpack RAR archives with unar, it creates > >>$HOME/GNUstep/Library directory: ... > I took another approach to work around this problem: I created a > LD_PRELOAD'able library that overrides the mkdir() function. > > I think the same effect could be achieved by linking antignustep.o > directly into the unar binary. (Though I know absolutely nothing > about Objective-C, so I could be wrong.)
FYI, you can change the path by setting GNUSTEP_USER_DIR_LIBRARY in ~/.GNUstep.conf. A setting like GNUSTEP_USER_DIR_LIBRARY=/var/empty/.GNUstep/Library will make the directory go away, without any complaints from unar. I'm attaching my .GNUstep.conf to show the possible directories and their default layout (replacing ~/GNUstep with /var/empty/.GNUstep). -- Michael
# Important: settings in the User should normally be relative paths, # and will be interpreted as relative to the user's directory. This # allows each user to have their own domain to install things. You # can set them to be absolute, mostly if you want to disable them # by setting them equal to the ones in the Network domain. GNUSTEP_USER_DIR=/var/empty/.GNUstep GNUSTEP_USER_DEFAULTS_DIR=/var/empty/.GNUstep/Defaults GNUSTEP_USER_DIR_APPS=/var/empty/.GNUstep/Applications GNUSTEP_USER_DIR_ADMIN_APPS=/var/empty/.GNUstep/Applications/Admin GNUSTEP_USER_DIR_WEB_APPS=/var/empty/.GNUstep/WebApplications GNUSTEP_USER_DIR_TOOLS=/var/empty/.GNUstep/Tools GNUSTEP_USER_DIR_ADMIN_TOOLS=/var/empty/.GNUstep/Tools/Admin GNUSTEP_USER_DIR_LIBRARY=/var/empty/.GNUstep/Library GNUSTEP_USER_DIR_HEADERS=/var/empty/.GNUstep/Library/Headers GNUSTEP_USER_DIR_LIBRARIES=/var/empty/.GNUstep/Library/Libraries GNUSTEP_USER_DIR_DOC=/var/empty/.GNUstep/Library/Documentation GNUSTEP_USER_DIR_DOC_MAN=/var/empty/.GNUstep/Library/Documentation/man GNUSTEP_USER_DIR_DOC_INFO=/var/empty/.GNUstep/Library/Documentation/info
signature.asc
Description: Digital signature

