Sponsored Content
Full Discussion: MSYS2 on Windows 7 VM
Special Forums Windows & DOS: Issues & Discussions MSYS2 on Windows 7 VM Post 302946832 by mrm5102 on Friday 12th of June 2015 06:22:51 PM
Old 06-12-2015
MSYS2 on Windows 7 VM

Hello All,

Hopefully I'm posting this in the correct place...

I just recently installed MSYS2 (*32-bit) on a Windows 7 VM I have running on my Linux Host. I have a basic question about User management on MSYS.

MSYS2 i686: Version 20150512

I'm guessing when MSYS gets installed it uses your Window's info, like username/etc to create your user in MSYS and to build your User's HOME dir (*i.e. /home/<win_username>)and stuff like that. Since My Window's User contains my first and last name, when MSYS installed it created my home dir as "/home/First Last", with the whitespace inbetween... This is starting to become a real nuisance. I could not find the file I would normally use to be able fix this, which is "/etc/passwd". So I'm kind of stumped on how I can resolve this.

I didn't want to just rename the HOME dir to something else because I figured that would break the env var HOME and also "~" (*i.e. tilde).

So basically what I want to do is change my Username and Group Name in MSYS, as well as change the Home directory after the username is changed.

Is this possible? Any thoughts or suggestions would be very much appreciated!

Thanks in Advance,
Matt
 

3 More Discussions You Might Find Interesting

1. Programming

[MSYS2/GCC-TDM] Compiler not finding headers in /usr/local/include

I hope it's okay to post this here. I'm working on Windows computer but using the Unix-like environment MSYS2 (https://sourceforge.net/projects/msys2). My problem is that I can't get the compiler to find headers located in /usr/local/include. I am trying to compile libpng which wants the header... (1 Reply)
Discussion started by: AntumDeluge
1 Replies

2. Windows & DOS: Issues & Discussions

UNIX for Advanced & Expert Users > I tried to build libtiff on MSYS2+minGW but found an interruption

When I tried to build libtiff on MSYS2+minGW and opened the MSYS2 shell, got error: $ ./configure configure: loading site script /etc/config.site checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized configure: error: /bin/sh config/config.sub... (1 Reply)
Discussion started by: abdulbadii
1 Replies

3. Windows & DOS: Issues & Discussions

Can I replace the gcc, and along with all other binaries, in MSYS2 minGW64 with the MinGW64 Project

Can I replace the gcc, and along with all other binaries too, in MSYS2 minGW64 with ones by MinGW64 Project Can i safely replace the gcc, if asked, telling its version: gcc.exe (Rev2, Built by MSYS2 project) 6.2.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see... (1 Reply)
Discussion started by: abdulbadii
1 Replies
xdg-user-dir(1) 						   User Commands						   xdg-user-dir(1)

NAME
xdg-user-dir - Get the path used for desktop user directory location. SYNOPSIS
xdg-user-dir DIR DESCRIPTION
xdg-user-dir is a utility that extracts the location of the specified desktop user directory from the file : ${HOME}/.config/user-dirs.dirs OPERANDS
Valid desktop directories (DIR) are: DESKTOP DOWNLOAD TEMPLATES PUBLICSHARE DOCUMENTS MUSIC PICTURES VIDEOS If an invalid directory is requested ${HOME} is returned. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables: HOME. Other environment variable that are used are: XDG_CONFIG_HOME Base directory for storge of XDG configuration files. Defaults to ${HOME}/.config FILES
The following files are used by this application: /usr/bin/xdg-user-dir XDG Directory expansion utility. ${XDG_CONFIG_HOME}/user-dirs.dirs Location of the user-specific configuration including the current list of directories and what they map to. EXAMPLES
Example 1: Location of user's documents directory % xdg-user-dir DOCUMENTS /home/user/Documents ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxdg-user-dirs | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
More information can be found at: http://www.freedesktop.org/wiki/Software/xdg-user-dirs xdg-user-dirs-update(1), xdg-user-dirs-gtk-update(1), attributes(5) NOTES
Written by Darren Kenny, Sun Microsystems Inc, 2008 SunOS 5.11 03 Apr 2008 xdg-user-dir(1)
All times are GMT -4. The time now is 01:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy