This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: startx doesn't if $HOME contains white spaces
Marco Atzeri wrote on Wednesday, November 19, 2008 1:49 PM::
> --- ludo ha scritto:
>
>> my $HOME is :
>> $ echo $HOME
>> /c/Documents and Settings/patrick.PRO2204
>>
>
> it is not a good idea:
>
> http://cygwin.com/faq/faq-nochunks.html#faq.using.filename-spaces
>
>>
>> I think that white spaces in my $HOME directory name causes the
>> problem.
>>
>> [...]
>>
>> does anybody encounters the same problem ?
>>
>
> of course, for this reason we don't do it :-)
>
> my $HOME in cygwin is /home/marco
>
If you wish cygwin to use /c/Documents and Settings/patrick.PRO2204
rather than setting up a separate $HOME directory, you could just
use mount:
mount "$USERPROFILE" /home/patrick
Then edit your /etc/passwd file to set your home directory to
/home/patrick. You $HOME would now be /home/patrick for cygwin
programs, and Windows can continue using its "Hey! Now that we
*can* have spaces in filenames, let's use them EVERYWHERE!"
Phil
--
This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/